Skip to main content
POST
Get MIP20 gas for a block

Body

application/json
jsonrpc
enum<string>
default:2.0
required

JSON-RPC protocol version. Always 2.0.

Available options:
2.0
id
integer
default:1
required

Request identifier echoed back in the response.

method
enum<string>
default:metal_getMip20GasByBlock
required

JSON-RPC method name.

Available options:
metal_getMip20GasByBlock
params
tuple
required

[blockHash].

Response

200 - application/json

JSON-RPC 2.0 response. Errors are reported in-band via an error object with code and message in place of result.

jsonrpc
enum<string>
Available options:
2.0
id
integer
result
object | null

Per-token gas totals and MIP20 transaction details, or null.