Properties
| Name | Type | Description |
|---|---|---|
| txHash | string | Unique ID for this transaction. |
| chainFormat | string | Represents chain format this transaction is included in. |
| timestamp | number | Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices. |
| txType | object | |
| memo | string | Hex encoded memo bytes for this transaction. |
| consumedUtxos | array | |
| emittedUtxos | array | |
| amountUnlocked | array | Assets unlocked by inputs of this transaction. |
| amountCreated | array | Assets created by outputs of this transaction. |
| sourceChain | string | Source chain for an atomic transaction. |
| destinationChain | string | Destination chain for an atomic transaction. |
| assetCreated | object | AssetAmount details of the asset created in CreateAssetTx |
| blockHeight | number | Height of the block this transaction belongs to. |
| blockHash | string | Hash of the block this transaction belongs to. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/XChainLinearTransaction.json",
"title": "XChainLinearTransaction",
"type": "object",
"properties": {
"txHash": {
"type": "string",
"description": "Unique ID for this transaction.",
"examples": [
"3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c"
]
},
"chainFormat": {
"type": "string",
"description": "Represents chain format this transaction is included in.",
"enum": [
"non-linear",
"linear"
],
"examples": [
"non-linear"
]
},
"timestamp": {
"type": "number",
"description": "Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.",
"examples": [
1600762738
]
},
"txType": {
"examples": [
"BaseTx"
],
"$ref": "#/components/schemas/XChainTransactionType"
},
"memo": {
"type": "string",
"description": "Hex encoded memo bytes for this transaction.",
"examples": [
"0x546865204176616c616e6368652050726f6a656374"
]
},
"consumedUtxos": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Utxo"
}
},
"emittedUtxos": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Utxo"
}
},
"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"
]
},
"assetCreated": {
"description": "AssetAmount details of the asset created in CreateAssetTx",
"allOf": [
{
"$ref": "#/components/schemas/XChainAssetDetails"
}
]
},
"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": [
"82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S"
]
}
},
"required": [
"txHash",
"chainFormat",
"timestamp",
"txType",
"memo",
"consumedUtxos",
"emittedUtxos",
"amountUnlocked",
"amountCreated",
"blockHeight",
"blockHash"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/XChainLinearTransaction"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.