JSON-RPC Methods
page.app.toml
configuration file. For more details see the []"0x"
, the most compact representation (slight exception: zero should be represented as "0x0"
). Examples:0x41
(65 in decimal)0x400
(1024 in decimal)0x
(should always have at least one digit - zero is "0x0"
)0x0400
(no leading zeroes allowed)ff
(must be prefixed 0x
)"0x"
, two hex digits per byte. Examples:0x41
(size 1, "A"
)0x004200
(size 3, "\0B\0"
)0x
(size 0, ""
)0xf0f0f
(must be even number of digits)004200
(must be prefixed 0x
)defaultBlock
parameter:HEX String
- an integer block numberString "earliest"
for the earliest/genesis blockString "latest"
- for the latest mined blockString "pending"
- for the pending state/transactions--data
option sets the content type to application/x-www-form-urlencoded
. If your node does complain, manually set the header by placing -H "Content-Type: application/json"
at the start of the call.127.0.0.1:8545