Hedera · Schema
NftAllowance
Distributed LedgerBlockchainDLTHashgraphTransactionsTokensNFTsSmart ContractsEnterprise
Properties
| Name | Type | Description |
|---|---|---|
| approved_for_all | boolean | A boolean value indicating if the spender has the allowance to spend all NFTs owned by the given owner |
| owner | object | |
| spender | object | |
| timestamp | object | |
| token_id | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/hedera/refs/heads/main/json-schema/NftAllowance.json",
"title": "NftAllowance",
"type": "object",
"properties": {
"approved_for_all": {
"description": "A boolean value indicating if the spender has the allowance to spend all NFTs owned by the given owner",
"example": true,
"type": "boolean"
},
"owner": {
"$ref": "#/components/schemas/EntityId"
},
"spender": {
"$ref": "#/components/schemas/EntityId"
},
"timestamp": {
"$ref": "#/components/schemas/TimestampRange"
},
"token_id": {
"$ref": "#/components/schemas/EntityId"
}
},
"example": {
"approved_for_all": false,
"owner": "0.0.11",
"payer_account_id": "0.0.10",
"spender": "0.0.15",
"timestamp": {
"from": "1651560386.060890949",
"to": "1651560386.661997287"
},
"token_id": "0.0.99"
},
"required": [
"approved_for_all",
"owner",
"spender",
"timestamp",
"token_id"
]
}