Skip to main content

Tables

blocks

Block header data containing sequential numbering, cryptographic hashes linking to parent blocks, timestamps, and consensus metadata. Primary source for blockchain state verification and chain navigation.
ColumnTypeDescription
relay_chainSTRINGIdentifier of the relay chain to which the parachain is connected. Lowercase string (e.g., ‘polkadot’, ‘kusama’).
chainSTRINGBlockchain network identifier. Lowercase string indicating the specific chain (e.g., ‘acala’, ‘polkadot’, ‘kusama’).
timestampTIMESTAMPTimestamp when the block was produced. UTC timezone.
numberINT64Sequential block number indicating the position of the block in the blockchain. Increments by 1 for each new block in the chain.
block_hashSTRINGUnique identifier for the block. 66-character hex string including 0x prefix.
parent_hashSTRINGHash of the parent block in the blockchain. 66-character hex string including 0x prefix.
state_rootSTRINGMerkle root hash representing the complete state of the blockchain after block execution. 66-character hex string including 0x prefix.
extrinsics_rootSTRINGMerkle root hash of all extrinsics included in the block. 66-character hex string including 0x prefix.
author_idSTRINGIdentifier of the validator or collator who authored the block. Base58-encoded string representing the block producer’s public key.
finalizedBOOLBoolean indicator of whether the block has been finalized by the network consensus mechanism. True indicates the block has achieved finality and is immutable in the blockchain.
block_dateTIMESTAMPDate when the block was produced. Derived from block timestamp, truncated to day precision.
extrinsics_countINT64Number of extrinsics included in the block. Integer value representing the total count of transactions and other state-changing operations.
chainnumberauthor_idfinalizedtimestampblock_dateblock_hashstate_rootparent_hashrelay_chainextrinsics_rootextrinsics_count
phala957627423DjxJiQJNpULVt4y9Fm6Mcqv63LgANQzxumPg3or855pSYtrue2022-10-04T13:50:00.462Z0x0618cdc59503b046dfaff57f7227cece7d27959af369104001907b3d7a593aae0x829c9c0d98d192a0fd77f40bc82fc73e80363c1586feb3cff84765fd92952ce80xc26a67267d1c7cb68ea7193424e0262dbde1fda31f3d0c8f17219ea08fa0e389polkadot0xd86cf3b490eaaa938f33776d600a21617042b7ec90620741c91594e9ff2bf96f2
phala954076423DjxJiQJNpULVt4y9Fm6Mcqv63LgANQzxumPg3or855pSYtrue2022-10-04T01:54:36.480Z0x46f87f5a2fea712c58ecd8504dd62cfab740a0c6d9115584aeb653a57d83421d0xe01fcee60e703885431bfb130ad4a5aef03adab1d2f1e98c2780cfd209b8361e0x62b0576c8f2f28d43f687394cc622cd26c03f46cecf32e015421c4284390596cpolkadot0x75bbfc9b59df97ac65e5ea509824d67155821d572b4bd34a0dae01c7b2e7fc042
phala959452423DjxJiQJNpULVt4y9Fm6Mcqv63LgANQzxumPg3or855pSYtrue2022-10-04T19:58:18.526Z0x4d4dbc9d58d846064b4db57ce5e7a969692ab705a492115eb4d235a5940644750x1ce65397c0d353e5df7e6080caa40471232f36568aaf2df00bfb28ad69438b780xba3a3fe0b9a3e1ed7414004d471a0a23b3b359c5e832961a7a315dc2662bda30polkadot0xcbad4278637ce01e85aa3f28cff18bd35b3f1bd4c1aa1be7e81626d77de552f42
Query with partition filter
SELECT *
FROM `tt-blockchain.phala.blocks`
WHERE timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

events

Blockchain state change notifications emitted by runtime modules during transaction execution and block processing. Contains event metadata (pallet, method, index), encoded parameters, block context, and optional extrinsic linkage for analyzing on-chain activity across Substrate-based chains.
ColumnTypeDescription
relay_chainSTRINGIdentifier of the relay chain to which the parachain is connected. Lowercase string (e.g., ‘polkadot’, ‘kusama’).
chainSTRINGBlockchain network identifier. Lowercase string indicating the specific chain (e.g., ‘acala’, ‘polkadot’, ‘kusama’).
block_numberINT64Sequential number of the block in the blockchain. Starts at 0 for the genesis block and increments by 1 for each subsequent block.
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, microsecond precision.
block_hashSTRINGUnique identifier for the block. 66-character hex string including 0x prefix.
palletSTRINGName of the substrate runtime module containing the operation being executed. Identifies the pallet (functional module) such as balances, staking, or governance.
methodSTRINGName of the operation or function being executed. Identifies the specific action within a pallet or module, such as transfer, stake, or swap.
idSTRINGUnique identifier for the record. String format, specific structure varies by table and blockchain implementation.
extrinsic_hashSTRINGUnique identifier for the extrinsic. 66-character hex string including 0x prefix.
extrinsic_idSTRINGComposite identifier linking an event or extrinsic to its block and position within that block. Format is \{block_number\}-\{index\} where index represents the sequential position of the extrinsic within the block, starting from 0.
successBOOLBoolean indicator of whether the operation completed successfully without errors.
event_methodSTRINGName of the event triggered by the blockchain operation. Identifies the specific state change or notification emitted by a pallet, such as Transfer, Deposit, or NewSession.
event_palletSTRINGName of the substrate runtime module that emitted the blockchain event. Identifies the pallet (functional module) responsible for the event, such as balances, session, or treasury.
event_dataARRAY<JSON>Array of JSON-encoded parameters associated with the blockchain event. Contains ordered arguments specific to the event method being executed, such as account addresses, token amounts, transaction hashes, or state changes.
event_indexINT64Sequential position of the event within its containing block. Zero-indexed integer indicating the order in which events occurred during block processing.
event_typeSTRINGProcessing phase within the blockchain’s block lifecycle. Values include ‘initialize’ for events occurring during block initialization, ‘finalize’ for events during block finalization, and chain-specific event type identifiers for transaction-related events.
idchainmethodpalletsuccessblock_hashevent_dataevent_typeevent_indexrelay_chainblock_numberevent_methodevent_palletextrinsic_idextrinsic_hashblock_timestamp
phalasettimestamptrue0x001198a37e106d3e12c13dd24ab3603c6189286f789c885b4123a8302f693f38[”{“class”:“Mandatory”,“paysFee”:“Yes”,“weight”:“155490000”}“]extrinsic0polkadot177918ExtrinsicSuccesssystem177918-00x2e5cef638a8ca50bc1fbefa6a14332459cc1606960565bda8239c3634b976cd82022-06-13T19:05:18.255Z
phalasetValidationDataparachainSystemtrue0x001198a37e106d3e12c13dd24ab3603c6189286f789c885b4123a8302f693f38[”{“class”:“Mandatory”,“paysFee”:“Yes”,“weight”:“0”}“]extrinsic0polkadot177918ExtrinsicSuccesssystem177918-10x20a6eb9d0591b9d9b4a49e66ec1e0ab71b6c371bf1126482650f33d554c4ce9d2022-06-13T19:05:18.255Z
phalasetValidationDataparachainSystemtrue0x0014b33942ce51c2ab27ac10fe74a67d74e515e78657281e3970dcb16650ee28[”{“class”:“Mandatory”,“paysFee”:“Yes”,“weight”:“0”}“]extrinsic0polkadot172684ExtrinsicSuccesssystem172684-10x1e1b903fe885f4c42fac2d4b27c53c2b090d3ff089f51b60b3f77ff1cca50e0d2022-06-13T00:16:36.289Z
Query with partition filter
SELECT *
FROM `tt-blockchain.phala.events`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

extrinsics

Substrate blockchain operations submitted to blocks, containing pallet module calls with method parameters, signatures, and execution metadata. Fundamental unit for tracking on-chain state transitions and user interactions across Substrate-based networks.
ColumnTypeDescription
relay_chainSTRINGIdentifier of the relay chain to which the parachain is connected. Lowercase string (e.g., ‘polkadot’, ‘kusama’).
chainSTRINGBlockchain network identifier. Lowercase string indicating the specific chain (e.g., ‘acala’, ‘polkadot’, ‘kusama’).
block_numberINT64Sequential number of the block in the blockchain. Starts at 0 for the genesis block and increments by 1 for each subsequent block.
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, microsecond precision.
block_hashSTRINGUnique identifier for the block. 66-character hex string including 0x prefix.
palletSTRINGName of the substrate runtime module containing the operation being executed. Identifies the pallet (functional module) such as balances, staking, or governance.
methodSTRINGName of the operation or function being executed. Identifies the specific action within a pallet or module, such as transfer, stake, or swap.
signatureSTRING# Canonical Column Description: signature
Cryptographic signature authorizing the operation. Hex-encoded string format, typically 130-132 characters including 0x prefix for signed transactions and operations. | | id | STRING | Unique identifier for the record. String format, specific structure varies by table and blockchain implementation. | | nonce | INT64 | Sequential counter for transactions or operations from an account. Increments by 1 for each new transaction to prevent replay attacks and ensure transaction ordering. | | args | JSON | JSON object containing the operation’s input parameters. Structure and fields vary by pallet and method, encoding the specific arguments required to execute the operation. | | tip | BIGNUMERIC | Optional amount paid to the block producer to prioritize the extrinsic. Numeric value representing additional fee in the chain’s native token denomination, above the standard transaction fee. | | extrinsic_hash | STRING | Unique identifier for the extrinsic. 66-character hex string including 0x prefix. | | extrinsic_id | STRING | Composite identifier linking an event or extrinsic to its block and position within that block. Format is \{block_number\}-\{index\} where index represents the sequential position of the extrinsic within the block, starting from 0. | | info | JSON | JSON object containing metadata about the extrinsic’s execution. Stores information such as weight consumed, fees paid, and dispatch result class for successful operations. | | immortal_era | NUMERIC | Boolean indicator of whether the transaction has an immortal era. Value of 0 indicates an immortal transaction that never expires; null indicates a mortal transaction with a finite validity period. | | success | BOOL | Boolean indicator of whether the operation completed successfully without errors. | | pays_fee | BOOL | Boolean indicator of whether the extrinsic requires a transaction fee to be paid by the submitter. |
idtipargsinfochainnoncemethodpalletsuccesspays_feesignatureblock_hashrelay_chainblock_numberextrinsic_idimmortal_eraextrinsic_hashblock_timestamp
45J5jLJMaSttWTDRJcr9hHgA4Su9eBouWNzm2c42kKVvuAnp0{“call”:{“args”:{“amount”:“238367377000000000”,“dest”:“0x00010100a4243736ab863596e2642c574985e9135dc9dcc9faa1fe47791bf86a6d62a85d”,“rid”:“0x00b14e071ddad0b12be5aca6dffc5f2584ea158d9b0ce73e1437115e97a32a3e”},“method”:{“method”:“handleFungibleTransfer”,“pallet”:“chainBridge”}},“nonce”:“136”,“r_id”:“0x00b14e071ddad0b12be5aca6dffc5f2584ea158d9b0ce73e1437115e97a32a3e”,“src_id”:“0”}{“error”:“Fee calculation not supported for this network”}phala134acknowledgeProposalchainBridgefalsetrue0x4c053b2d5077240b9c9dd126057dda85a8afda68c33c7da0e18aa570b933a24cd89a32fa983085b4a72d2dac8ad8caf9b442aef9444d42cb596e368a1ee6a1840xbde59fc0351e6e7b1876e39d1bcb63499320671bcc1f98b09f2e6cffa235858dpolkadot18040871804087-400x1641ced772100421b8d3b19a76c5cdaadf001c3908072e66f77328012d54e7ac2023-01-31T05:24:48.566Z
3zywXk7LcqZz5Ym2XBqCYhjvhReDzfJ4KTHZeHk8kxKRdsa40{“call”:{“args”:{“amount”:“984000000000000”,“dest”:“0x00010100a4243736ab863596e2642c574985e9135dc9dcc9faa1fe47791bf86a6d62a85d”,“rid”:“0x00b14e071ddad0b12be5aca6dffc5f2584ea158d9b0ce73e1437115e97a32a3e”},“method”:{“method”:“handleFungibleTransfer”,“pallet”:“chainBridge”}},“nonce”:“135”,“r_id”:“0x00b14e071ddad0b12be5aca6dffc5f2584ea158d9b0ce73e1437115e97a32a3e”,“src_id”:“0”}{“error”:“Fee calculation not supported for this network”}phala133acknowledgeProposalchainBridgetruetrue0x4c528d8fd2ad657e72211744339e0e2eb9e8d190b9663f9ddfe30cb0a1d4fa7262a52255418c11e12b85118f76f2c829c8508bb9895c5d2c9fffe410530907870x44e2b8fb5f99793517a1fc24f80a82f545e7cbd4bb635bc3bd42f74a05f1b928polkadot18040261804026-200xd57b48be71536b6f215210113bdb062b7008e5e0185a1a2ba80ad6f29bba91e62023-01-31T05:12:36.313Z
45J5jLJMaSttWTDRJcr9hHgA4Su9eBouWNzm2c42kKVvuAnp0{“call”:{“args”:{“amount”:“984000000000000”,“dest”:“0x00010100a4243736ab863596e2642c574985e9135dc9dcc9faa1fe47791bf86a6d62a85d”,“rid”:“0x00b14e071ddad0b12be5aca6dffc5f2584ea158d9b0ce73e1437115e97a32a3e”},“method”:{“method”:“handleFungibleTransfer”,“pallet”:“chainBridge”}},“nonce”:“135”,“r_id”:“0x00b14e071ddad0b12be5aca6dffc5f2584ea158d9b0ce73e1437115e97a32a3e”,“src_id”:“0”}{“error”:“Fee calculation not supported for this network”}phala133acknowledgeProposalchainBridgetruetrue0x304cc6c6890ffeefa79881c40dc861cc272236cf26e12f03b6cc67c6bcc16a251539a25910ca57e35528315220faad38bfd7999811364c2313173d132c404e850x44e2b8fb5f99793517a1fc24f80a82f545e7cbd4bb635bc3bd42f74a05f1b928polkadot18040261804026-300x3ea580501af5d7c094955029cc7befa41af1d8c11cdb080c590bd974f6a49cdf2023-01-31T05:12:36.313Z
Query with partition filter
SELECT *
FROM `tt-blockchain.phala.extrinsics`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100