Skip to content

Commit

Permalink
Creating a working example for contract calls
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Bertone <giuseppe.bertone@swirldslabs.com>
  • Loading branch information
Neurone committed Aug 10, 2023
1 parent 8c83e61 commit bec76bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hedera-mirror-rest/api/v1/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,7 @@ components:
type: string
data:
description: Hexadecimal method signature and encoded parameters.
example: "0x0198489200000000000000000000000000000000000000000000000000000000000003ee"
example: "0x47f1aae7"
format: binary
maxLength: 12288
nullable: true
Expand All @@ -2431,8 +2431,8 @@ components:
pattern: "^(0x)?[A-Fa-f0-9]{40}$"
type: string
gas:
description: Gas provided for the transaction execution. Defaults to 120000000.
example: 120000000
description: Gas provided for the transaction execution. Defaults to 15000000.
example: 15000000
format: int64
minimum: 0
nullable: true
Expand All @@ -2446,7 +2446,7 @@ components:
type: integer
to:
description: The 20-byte hexadecimal EVM address the transaction is directed to.
example: "0x00000000000000000000000000000000000003f4"
example: "0xD9d0c5C0Ff85758BdF05A7636F8036d4D065F5B6"
format: binary
maxLength: 42
minLength: 40
Expand All @@ -2467,7 +2467,7 @@ components:
properties:
result:
description: Result in hexadecimal from executed contract call.
example: "0x94c4d54535f6e616d6500"
example: "0x0000000000006d8d"
format: binary
nullable: false
pattern: "^0x[0-9a-fA-F]+$"
Expand Down

0 comments on commit bec76bd

Please sign in to comment.