{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/CChainExportTransaction.json",
"title": "CChainExportTransaction",
"type": "object",
"properties": {
"txHash": {
"type": "string",
"description": "Unique ID for this transaction.",
"examples": [
"3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c"
]
},
"blockHeight": {
"type": "number",
"description": "Height of the block this transaction belongs to.",
"examples": [
1005
]
},
"blockHash": {
"type": "string",
"description": "Hash of the block this transaction belongs to.",
"examples": [
"0x57a5cb7704561d1d59bd563b6421021b7563960c05ba3ae0e36fc36917c742ee"
]
},
"timestamp": {
"type": "number",
"description": "Latest timestamp in seconds this transaction was accepted.",
"examples": [
1600762738
]
},
"memo": {
"type": "string",
"description": "Hex encoded memo bytes for this transaction.",
"examples": [
"0x546865204176616c616e6368652050726f6a656374"
]
},
"amountUnlocked": {
"description": "Assets unlocked by inputs of this transaction.",
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetAmount"
}
},
"amountCreated": {
"description": "Assets created by outputs of this transaction.",
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetAmount"
}
},
"sourceChain": {
"type": "string",
"description": "Source chain for an atomic transaction.",
"examples": [
"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"
]
},
"destinationChain": {
"type": "string",
"description": "Destination chain for an atomic transaction.",
"examples": [
"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"
]
},
"txType": {
"type": "string",
"description": "Type of transaction.",
"enum": [
"ExportTx"
],
"examples": [
"ExportTx"
]
},
"evmInputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EVMInput"
}
},
"emittedUtxos": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Utxo"
}
}
},
"required": [
"txHash",
"blockHeight",
"blockHash",
"timestamp",
"memo",
"amountUnlocked",
"amountCreated",
"sourceChain",
"destinationChain",
"txType",
"evmInputs",
"emittedUtxos"
]
}