{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/Utxo.json",
"title": "Utxo",
"type": "object",
"properties": {
"addresses": {
"description": "Addresses that are eligible to sign the consumption of this output.",
"examples": [
[
"avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw"
]
],
"type": "array",
"items": {
"type": "string"
}
},
"asset": {
"$ref": "#/components/schemas/AssetAmount"
},
"consumedOnChainId": {
"type": "string",
"description": "Blockchain ID on which this output is consumed on.",
"examples": [
"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"
]
},
"consumingTxHash": {
"type": "string",
"description": "Transaction ID that consumed this output.",
"examples": [
"3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c"
]
},
"createdOnChainId": {
"type": "string",
"description": "Blockchain ID on which this output is created on.",
"examples": [
"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"
]
},
"utxoId": {
"type": "string",
"description": "UTXO ID for this output.",
"examples": [
"68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC"
]
},
"utxoBytes": {
"type": "string",
"description": "The bytes of the UTXO"
},
"consumingTxTimestamp": {
"type": "number",
"description": "Unix timestamp in seconds at which this output was consumed.",
"examples": [
1599696000
]
},
"creationTxHash": {
"type": "string",
"description": "Transaction ID that created this output.",
"examples": [
"FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z"
]
},
"credentials": {
"description": "Credentials that signed the transaction to consume this utxo",
"type": "array",
"items": {
"$ref": "#/components/schemas/UtxoCredential"
}
},
"groupId": {
"type": "number",
"description": "Index representing the minting set for the NFT mint output."
},
"locktime": {
"type": "number",
"description": "Locktime in seconds after which this output can be consumed.",
"examples": [
0
]
},
"outputIndex": {
"type": "string",
"description": "Postion of this output in a list of lexiographically sorted outputs of a transaction.",
"examples": [
"38"
]
},
"payload": {
"type": "string",
"description": "Hex encoded data for NFT assets."
},
"threshold": {
"type": "number",
"description": "Minimum number of signatures required to consume this output.",
"examples": [
1
]
},
"timestamp": {
"type": "number",
"description": "Unix timestamp in seconds at which this outptut was created.",
"examples": [
1599696000
]
},
"utxoType": {
"type": "string",
"description": "Type of output.",
"examples": [
"mint"
]
}
},
"required": [
"addresses",
"asset",
"consumedOnChainId",
"createdOnChainId",
"utxoId",
"creationTxHash",
"locktime",
"outputIndex",
"threshold",
"timestamp",
"utxoType"
]
}