Skip to content

Top up wallet gas

POST
/v2/gas-station/chain/{chainId}/wallet/{walletId}/top-up

Top up a wallet with gas for a specific chain.

walletId
required
string

The wallet ID

chainId
required
string

The chain ID

X-API-Key
string

API Key

X-API-Secret
string

API Secret

object
transactionType
required

Type of transaction

string
Allowed values: ETH_TRANSFER ERC20_TRANSFER CONTRACT_CALL
ETH_TRANSFER
transactionCount
required

Number of transactions to estimate gas for

number
>= 1
1

Wallet gas information after top up

object
balance
required

Available gas balance in wei

string
1000000000000000000
balanceEth
required

Available gas balance in ETH

string
1.0
estimatedTransactions
required

Estimated number of transactions possible

number
100

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error