v1

latestOpenAPI 3.0.02026-07-23369.3 KB
Ethereum Interface (eth_)

Get Native Token Balance

Returns the native token balance for the specified address in the wallet.

Note: This returns the wallet balance, which is distinct from the orderbook contract balance. To query the balance deposited in the orderbook contract, call the getBalance function on the orderbook contract.

The block_number parameter is accepted for Ethereum compatibility but is ignored.

post/eth_getBalance

Request body

jsonrpcstring required
methodstring required
idinteger required

Response

Balance in wei (hex-encoded uint256)

jsonrpcstring
resultstring

Unsigned 256-bit integer (hex-encoded with 0x prefix)

idinteger