GET NFT Offchain Fee
get fee of mint, transfer, withdraw. etc
EndPoint
Header
Field | Description | Example |
---|---|---|
X-API-KEY | ApiKey | "HlkcGxbqBeaF76j4rvPaOasyfPwnkQ6B6DQ6THZWbvrAGxzEdulXQvOKLrRWZLnN" |
Request
Field | Description | Example |
---|---|---|
accountId | Account ID | 10110 |
requestType | Off-chain request type Allowable : ['9:NFT_MINT', '10:NFT_WITHDRAWAL', '11:NFT_TRANSFER', '13:DEPLOY_TOKENADDRESS', '19:NFT_TRANSFER_AND_UPDATE_ACCOUNT'] | 9 |
tokenAddress | (Optional) the NFT tokenAddress, needed when requestType is 9 or 10 | "0xbbbbca6a901c926f240b89eacb641d8aec7aeafd" |
deployInWithdraw | (Optional) Deploy the counterFactual NFT token when withdraw, if the contract not deployed and you want to deploy it when withdraw, need set to true to get the withdrawal fee | true |
Response
Field | Description | Example |
---|---|---|
gasPrice | gasPrice when calculating the fee | 2194508101 |
fees | List[TokenFee] |
Model
TokenFee
Field | Description | Example |
---|---|---|
token | fee token | "ETH" |
fee | fee amount | "200000000000 0000" |
discount | token discount. 0.8 means 80% of the fee | 1.0 |
Last updated