transferNFT
Transfer NFTs securely across Ethereum networks using contract addresses, token IDs, and recipient addresses with customizable gas options.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | No | ||
contractAddress | Yes | ||
gasOptions | No | ||
provider | No | ||
to | Yes | ||
tokenId | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chainId": {
"type": "number"
},
"contractAddress": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"gasOptions": {
"additionalProperties": false,
"properties": {
"gasLimit": {
"type": "number"
},
"gasPrice": {
"type": "number"
},
"maxFeePerGas": {
"type": "number"
},
"maxPriorityFeePerGas": {
"type": "number"
},
"nonce": {
"type": "number"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"provider": {
"type": "string"
},
"to": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"tokenId": {
"type": [
"string",
"number"
]
}
},
"required": [
"contractAddress",
"tokenId",
"to"
],
"type": "object"
}