Get gas balance for a wallet
GET /gas-station/wallet/{walletId}/chain/{chainId}
GET
/gas-station/wallet/{walletId}/chain/{chainId}
Retrieve the gas balance of a specified wallet on a given chain.
Note: This API is currently in beta and may be subject to changes.
Authorizations
Parameters
Path Parameters
walletId
required
string
The wallet id to check gas balance.
chainId
required
string
The chain id on which the wallet resides.
Responses
200
Successfully retrieved wallet gas balance.
object
walletId
The wallet id being queried.
string
walletAddress
The wallet address.
string
chainId
The chain id that the wallet is on.
string
gasAmount
The gas amount in the wallet.
string
400
Invalid request parameters.
500
Internal server error.