Geth/Parity Proxy
Last updated
Last updated
For compatibility with Parity, please prefix all hex strings with " 0x ".
Returns the number of most recent block
Try this endpoint in your browser
No parameters required.
Returns information about a block by block number.
Query Parameters
Returns the number of transactions in a block.
Query Parameters
Returns the information about a transaction requested by transaction hash.
Query Parameters
Returns information about a transaction by block number and transaction index position.
Query Parameters
Returns the number of transactions performed by an address.
Query Parameters
Submits a pre-signed transaction for broadcast to the Xai network.
Query Parameters
Returns the receipt of a transaction by transaction hash.
Query Parameters
Executes a new message call immediately without creating a transaction on the block chain.
Query Parameters
Returns code at a given address.
Query Parameters
Returns the value from a storage position at a given address.
This endpoint is still experimental and may have potential issues
Query Parameters
Returns the current price per gas in wei.
No parameters required.
Makes a call or transaction, which won't be added to the blockchain and returns the used gas.
Query Parameters
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Tip: Send a POST request if your hex string is particularly long.
For more information on creating a signed raw transaction, visit this page.
Note: The result
represents the transaction hash of the submitted raw transaction.
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Note: The gas
parameter is capped at 2x the current block gas limit.
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Tip: The result
is returned in wei.
Try this endpoint in your browser
Parameter | Description |
---|---|
Note: The gas
parameter is capped at 2x the current block gas limit.
tag
the block number, in hex eg. 0xC36B3C
boolean
the boolean
value to show full transaction objects.
when true
, returns full transaction objects and their information, when false
only returns a list of transactions.
tag
the block number, in hex eg. 0x10FB78
txhash
the string
representing the hash of the transaction
tag
the block number, in hex eg. 0x10FB78
address
the string
representing the address to get transaction count
tag
the string
pre-defined block parameter, either earliest
, pending
or latest
hex
the string
representing the signed raw transaction data to broadcast.
txhash
the string
representing the hash of the transaction
to
the string
representing the address to interact with
data
the hash of the method signature and encoded parameters
tag
the string
pre-defined block parameter, either earliest
, pending
or latest
address
the string
representing the address to get code
tag
the string
pre-defined block parameter, either earliest
, pending
or latest
address
the string
representing the address to get code
position
the hex code of the position in storage, eg 0x0
tag
the string
pre-defined block parameter, either earliest
, pending
or latest
data
the hash of the method signature and encoded parameters
to
the string
representing the address to interact with
value
the value sent in this transaction, in hex eg. 0xff22
gas
the amount of gas provided for the transaction, in hex eg. 0x5f5e0ff
gasPrice
the gas price paid for each unit of gas, in wei
post EIP-1559, the gasPrice
has to be higher than the block's baseFeePerGas