Top up a wallet's gas
POST /gas-station/wallet/{walletId}/chain/{chainId}
POST
/gas-station/wallet/{walletId}/chain/{chainId}
Add gas to a specified wallet for 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 being topped up.
chainId
required
string
The chain id on which the wallet resides.
Responses
200
Wallet successfully topped up.
object
walletId
The wallet id that was topped up.
string
chainId
The chain id that the wallet is on.
string
topUpAmount
The amount of gas added to the wallet.
string
walletAddress
The wallet address.
string
walletBalance
The new wallet gas balance.
string
txId
The transaction id of the top-up.
string format: uuid
400
Invalid request parameters.
500
Internal server error.