diff --git a/docs/data-tables/decoded/substrate/balances.md b/docs/data-tables/decoded/substrate/balances.md new file mode 100644 index 00000000..bee45e65 --- /dev/null +++ b/docs/data-tables/decoded/substrate/balances.md @@ -0,0 +1,33 @@ +# Balances + +## **{chain}.balances** + +This table contains historical balances information: + +| **Column name** | **Type** | **Description** | +| --------------------- | ------------------------------- | -------------------------------------------------------- | +| ts | timestamp without timezone | Timestamp of balance | +| symbol | string | Token Symbol | +| address_ss58 | string | SS58 Address of Asset holder | +| address_pubkey | binary | Pubkey of holder | +| id | string | Chain ID (e.g. "polkadot") | +| chain_name | string | Chain Name (e.g. "KILT Spirit") | +| asset | string | | +| para_id | long | | +| free | double | | +| free_usd | double | | +| reserved | double | | +| reserved_usd | double | | +| misc_frozen | double | | +| misc_frozen_usd | double | | +| frozen | double | | +| frozen_usd | double | | +| price_usd | double | | +| nonce | long | | +| free_raw | string | | +| reserved_raw | string | | +| misc_frozen_raw | string | | +| frozen_raw | string | | +| flags_raw | string | | + +Balances are taken at the end of each day. diff --git a/docs/data-tables/decoded/substrate/blocks.md b/docs/data-tables/decoded/substrate/blocks.md new file mode 100644 index 00000000..5bd80ba7 --- /dev/null +++ b/docs/data-tables/decoded/substrate/blocks.md @@ -0,0 +1,23 @@ +# Blocks + +## **{chain}.blocks** + +This table contains historical blocks information: + +| **Column name** | **Type** | **Description** | +| --------------------- | ------------------------------- | -------------------------------------------------------- | +| block_time | timestamp | | +| number | long | | +| spec_version | long | | +| relay_block_number | long | | +| hash | binary | | +| parent_hash | binary | | +| state_root | binary | | +| extrinsics_root | binary | | +| author_ss58 | string | | +| author_pub_key | binary | | +| relay_state_root | binary | | +| extrinsic_count | long | | +| event_count | long | | +| transfer_count | long | | +| trace_count | long | | diff --git a/docs/data-tables/decoded/substrate/calls.md b/docs/data-tables/decoded/substrate/calls.md new file mode 100644 index 00000000..bbc8a8cb --- /dev/null +++ b/docs/data-tables/decoded/substrate/calls.md @@ -0,0 +1,36 @@ +# Calls + +## **{chain}.calls** + +This table contains historical calls information: + + + +| **Column name** | **Type** | **Description** | +| --------------------- | ------------------------------- | -------------------------------------------------------- | +| block_number | bigint | | +| block_time | timestamp | | +| extrinsic_id | string | | +| relay_chain | string | | +| para_id | bigint | | +| id | string | | +| block_hash | binary | | +| extrinsic_hash | binary | | +| extrinsic_section | string | | +| extrinsic_method | string | | +| call_id | string | | +| call_index | binary | | +| call_args | string | | +| call_args_def | string | | +| root | boolean | | +| leaf | boolean | | +| fee | double | | +| fee_usd | double | | +| weight | bigint | | +| signed | boolean | | +| signer_ss58 | string | | +| signer_pub_key | binary | | +| lifetime | string | | + + +Calls are only included if the extrinsic is _successful_. diff --git a/docs/data-tables/decoded/substrate/events.md b/docs/data-tables/decoded/substrate/events.md new file mode 100644 index 00000000..cd7d07cd --- /dev/null +++ b/docs/data-tables/decoded/substrate/events.md @@ -0,0 +1,16 @@ +# Events + +## **{chain}.events** + +This table contains historical events information: + +| **Column name** | **Type** | **Description** | +| --------------------- | ------------------------------- | -------------------------------------------------------- | +| block_time | timestamp | +| block_number | bigint | +| extrinsic_id | string | +| event_id | string | +| data | string | +| extrinsic_hash | binary | +| block_hash | binary | +| data_decoded | string | diff --git a/docs/data-tables/decoded/substrate/extrinsics.md b/docs/data-tables/decoded/substrate/extrinsics.md new file mode 100644 index 00000000..2059199c --- /dev/null +++ b/docs/data-tables/decoded/substrate/extrinsics.md @@ -0,0 +1,24 @@ +# Extrinsics + +## **{chain}.extrinsics** + +This table contains historical extrinsics information: + +| **Column name** | **Type** | **Description** | +| --------------------- | ------------------------------- | -------------------------------------------------------- | +| block_time | timestamp | | +| block_number | long | | +| extrinsic_id | string | | +| hash | binary | | +| block_hash | binary | | +| lifetime | string | | +| params | string | | +| fee | double | | +| weight | long | | +| signed | boolean | | +| signer_ss58 | string | | +| signer_pub_key | binary | | +| fee_usd | double | | + + +Extrinsics are included if the extrinsic _successful_ or _failed_. diff --git a/docs/data-tables/decoded/substrate/index.md b/docs/data-tables/decoded/substrate/index.md new file mode 100644 index 00000000..84a1513c --- /dev/null +++ b/docs/data-tables/decoded/substrate/index.md @@ -0,0 +1,36 @@ +--- +title: Substrate Tables +description: Third-party Indexer Colorful Notion indexes Polkadot and Kusama ecosystem data into 6 core Substrate tables. +--- + +