Properties
| Name | Type | Description |
|---|---|---|
| blockNumber | string | The block number on the chain. |
| blockTimestamp | number | The block creation (proposal) timestamp in seconds |
| blockTimestampMilliseconds | number | The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade. |
| blockHash | string | The block hash identifier. |
| txHash | string | The transaction hash identifier. |
| from | object | |
| to | object | |
| internalTxType | object | |
| value | string | |
| isReverted | boolean | True if the internal transaction was reverted. |
| gasUsed | string | |
| gasLimit | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/InternalTransaction.json",
"title": "InternalTransaction",
"type": "object",
"properties": {
"blockNumber": {
"type": "string",
"description": "The block number on the chain.",
"examples": [
"339"
]
},
"blockTimestamp": {
"type": "number",
"description": "The block creation (proposal) timestamp in seconds",
"examples": [
1648672486
]
},
"blockTimestampMilliseconds": {
"type": "number",
"description": "The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.",
"examples": [
1648672486000
]
},
"blockHash": {
"type": "string",
"description": "The block hash identifier.",
"examples": [
"0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"
]
},
"txHash": {
"type": "string",
"description": "The transaction hash identifier.",
"examples": [
"0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4"
]
},
"from": {
"$ref": "#/components/schemas/RichAddress"
},
"to": {
"$ref": "#/components/schemas/RichAddress"
},
"internalTxType": {
"$ref": "#/components/schemas/InternalTransactionOpCall"
},
"value": {
"type": "string",
"examples": [
"10000000000000000000"
]
},
"isReverted": {
"type": "boolean",
"description": "True if the internal transaction was reverted."
},
"gasUsed": {
"type": "string"
},
"gasLimit": {
"type": "string"
}
},
"required": [
"blockNumber",
"blockTimestamp",
"blockHash",
"txHash",
"from",
"to",
"internalTxType",
"value",
"isReverted",
"gasUsed",
"gasLimit"
]
}