> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dune.com/llms.txt
> Use this file to discover all available pages before exploring further.

# peaq.calls

> Peaq dispatch calls — pallet function calls within extrinsics.

export const TableSample = ({tableName, tableSchema}) => <>
    <div className="hidden dark:block">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}&darkMode=true`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
    <div className="dark:hidden">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
  </>;

## Table description

Compared to the `extrinsics` table, which only has a top-level call, the `calls` table represents *internal* calls, including recursive internal calls of `proxy` and `utility` (batch) pallets, and provides detailed call arguments at each level of the call tree.

The `peaq.calls` table is partitioned by `year`, `month`, `call_section`, and `call_method` for efficient querying. Common queries on the `calls` table will typically filter on `block_time`, `call_section` and `call_method` and extract JSON encoded information from `call_args` or `call_args_def`.

Each call record includes information about the pallet section and method being called, the extrinsic it belongs to, call hierarchy (root/leaf), fee and weight information, signer details, and call arguments in both raw and decoded formats.

## Column Descriptions

| **Column**             | **Description**                                                                              | **Type**  |
| ---------------------- | -------------------------------------------------------------------------------------------- | --------- |
| **year**               | The year when the call was executed, used for partitioning.                                  | int       |
| **month**              | The month when the call was executed, used for partitioning.                                 | int       |
| **call\_section**      | The pallet section (module) where the call originates (e.g., "balances", "system").          | string    |
| **call\_method**       | The method name within the pallet section being called.                                      | string    |
| **block\_number**      | The block number where this call was executed.                                               | bigint    |
| **block\_time**        | The timestamp when the block containing this call was created.                               | timestamp |
| **extrinsic\_id**      | The unique identifier of the extrinsic that contains this call.                              | string    |
| **relay\_chain**       | The name of the relay chain associated with this call.                                       | string    |
| **para\_id**           | The parachain ID associated with this call, if applicable.                                   | long      |
| **id**                 | The unique identifier for the call record.                                                   | string    |
| **block\_hash**        | The hash of the block containing this call, in binary format.                                | binary    |
| **extrinsic\_hash**    | The hash of the extrinsic containing this call, in binary format.                            | binary    |
| **extrinsic\_section** | The pallet section of the top-level extrinsic.                                               | string    |
| **extrinsic\_method**  | The method name of the top-level extrinsic.                                                  | string    |
| **call\_id**           | The unique identifier for this specific call within the call tree.                           | string    |
| **call\_index**        | The index of this call within the call hierarchy, in binary format.                          | binary    |
| **call\_args**         | The raw call arguments in JSON format.                                                       | string    |
| **call\_args\_def**    | The decoded call arguments definition with type information.                                 | string    |
| **root**               | Indicates whether this is a root-level call (top of the call tree).                          | boolean   |
| **leaf**               | Indicates whether this is a leaf-level call (bottom of the call tree).                       | boolean   |
| **fee**                | The fee charged for executing this call, in processed format.                                | double    |
| **weight**             | The computational weight consumed by this call.                                              | long      |
| **signed**             | Indicates whether the extrinsic containing this call was signed.                             | boolean   |
| **signer\_ss58**       | The SS58-encoded address of the account that signed the extrinsic, in human-readable format. | string    |
| **signer\_pub\_key**   | The public key of the account that signed the extrinsic, in binary format.                   | binary    |
| **lifetime**           | The lifetime or validity period of the call, if applicable.                                  | string    |
| **\_updated\_at**      | The time when the call record was last updated.                                              | timestamp |
| **\_ingested\_at**     | The time when the call data was ingested into the system.                                    | timestamp |

## Table Sample

<TableSample tableSchema="peaq" tableName="calls" />
