Skip to content

Top up wallet with gas

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

Add gas to a wallet for future transactions.

walletId
required
string

The wallet ID to top up

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

The query ID for the top-up operation

object
queryId
required

The query ID

string
12345678-1234-1234-1234-123456789012