Estimates gas fees for a transfer transaction.
Represents the input parameters for estimating transfer fees.
Unique system-generated identifier for the user.
System generated identifier of the token. Excluded with tokenAddress
and tokenBlockchain
.
Specifies the transfer amount in decimal format.
The recipient's blockchain address.
The list of NFT IDs to be transferred/batchTransferred for NFT withdrawal. Note: Only ERC-1155 tokens support safeBatchTransferFrom.
The source blockchain address of the transaction.
Identifier for the originating wallet.
Unique system-generated identifier for the user.
Blockchain of the transferred token. Required if tokenId
is not provided. The blockchain
and tokenId
fields are mutually exclusive.
Blockchain address of the transferred token. Empty for native tokens. Excluded with tokenId
.
Specifies the transfer amount in decimal format.
The recipient's blockchain address.
The list of NFT IDs to be transferred/batchTransferred for NFT withdrawal. Note: Only ERC-1155 tokens support safeBatchTransferFrom.
The source blockchain address of the transaction.
Identifier for the originating wallet.
The JSON Web Token (JWT) representing the user.
System generated identifier of the token. Excluded with tokenAddress
and tokenBlockchain
.
Specifies the transfer amount in decimal format.
The recipient's blockchain address.
The list of NFT IDs to be transferred/batchTransferred for NFT withdrawal. Note: Only ERC-1155 tokens support safeBatchTransferFrom.
The source blockchain address of the transaction.
Identifier for the originating wallet.
The JSON Web Token (JWT) representing the user.
Blockchain of the transferred token. Required if tokenId
is not provided. The blockchain
and tokenId
fields are mutually exclusive.
Blockchain address of the transferred token. Empty for native tokens. Excluded with tokenId
.
Specifies the transfer amount in decimal format.
The recipient's blockchain address.
The list of NFT IDs to be transferred/batchTransferred for NFT withdrawal. Note: Only ERC-1155 tokens support safeBatchTransferFrom.
The source blockchain address of the transaction.
Identifier for the originating wallet.
1const response = await client.estimateTransferFee({
2 amount: ["0.01"],
3 destinationAddress: "address",
4 tokenId: "token-id",
5 userToken: "dummy-user-token",
6})
7console.log(response.data)
1{
2 "data": {
3 "high": {
4 "gasLimit": "21000",
5 "gasPrice": "",
6 "maxFee": "5.935224468",
7 "priorityFee": "1.022783914",
8 "baseFee": "1.022783914",
9 "networkFee": "0.0001246397138"
10 },
11 "low": {
12 "gasLimit": "21000",
13 "gasPrice": "",
14 "maxFee": "5.935224468",
15 "priorityFee": "1.022783914",
16 "baseFee": "1.022783914",
17 "networkFee": "0.0001246397138"
18 },
19 "medium": {
20 "gasLimit": "21000",
21 "gasPrice": "",
22 "maxFee": "5.935224468",
23 "priorityFee": "1.022783914",
24 "baseFee": "1.022783914",
25 "networkFee": "0.0001246397138"
26 },
27 "callGasLimit": "69222",
28 "verificationGasLimit": "56863",
29 "preVerificationGas": "44112"
30 }
31}