Hedera · Schema

Allowance

Distributed LedgerBlockchainDLTHashgraphTransactionsTokensNFTsSmart ContractsEnterprise

Properties

Name Type Description
amount integer The amount remaining of the original amount granted.
amount_granted integer The granted amount of the spender's allowance.
owner object
spender object
timestamp object
View JSON Schema on GitHub

JSON Schema

Allowance.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hedera/refs/heads/main/json-schema/Allowance.json",
  "title": "Allowance",
  "type": "object",
  "properties": {
    "amount": {
      "description": "The amount remaining of the original amount granted.",
      "format": "int64",
      "type": "integer",
      "example": 75
    },
    "amount_granted": {
      "description": "The granted amount of the spender's allowance.",
      "format": "int64",
      "type": "integer",
      "example": 100
    },
    "owner": {
      "$ref": "#/components/schemas/EntityId"
    },
    "spender": {
      "$ref": "#/components/schemas/EntityId"
    },
    "timestamp": {
      "$ref": "#/components/schemas/TimestampRange"
    }
  }
}