Polkadot Compute Units
Transaction Categories and Compute Units
Different transaction categories are assigned specific Compute Unit values. These CUs reflect the resources needed for each type of transaction.
| Transaction Category | Associated Compute Units |
|---|---|
| XS | 1 |
| S | 5 |
| M | 10 |
| L | 50 |
| XL | 100 |
| Egress | Custom |
| Batch Queries | Custom |
Substrate RPC API
| Method | Weight |
|---|---|
| chain_getBlockHash | XS |
| chain_getFinalizedHead | XS |
| chain_getHeader | S |
| childstate_getKeys | M |
| childstate_getKeysPaged | M |
| childstate_getStorage | M |
| childstate_getStorageEntries | M |
| childstate_getStorageHash | XS |
| childstate_getStorageSize | XS |
| contracts_call | M |
| contracts_getStorage | M |
| contracts_instantiate | L |
| contracts_rentProjection | S |
| contracts_upload_code | L |
| grandpa_proveFinality | S |
| grandpa_roundState | XS |
| mmr_generateBatchProof | S |
| mmr_generateProof | S |
| offchain_localStorageGet | S |
| offchain_localStorageSet | L |
| payment_queryFeeDetails | S |
| payment_queryInfo | S |
| rpc_methods | XS |
| state_call | S |
| state_getChildKeys | S |
| state_getChildReadProof | S |
| state_getChildStorage | S |
| state_getChildStorageHash | S |
| state_getChildStorageSize | S |
| state_getKeys | S |
| state_getKeysPaged | S |
| state_getMetadata | M |
| state_getPairs | S |
| state_getReadProof | S |
| state_getRuntimeVersion | S |
| state_getStorage | S |
| state_getStorageHash | S |
| state_getStorageSize | S |
| state_queryStorage | S |
| state_queryStorageAt | S |
| state_traceBlock | L |
| state_trieMigrationStatus | L |
| sync_state_genSyncSpec | L |
| system_addReservedPeer | S |
| system_chain | XS |
| system_chainType | XS |
| system_dryRun | M |
| system_health | XS |
| system_localListenAddresses | L |
| system_localPeerId | S |
| system_name | XS |
| system_networkState | XS |
| system_nodeRoles | XS |
| system_peers | S |
| system_properties | XS |
| system_removeReservedPeer | L |
| system_reservedPeers | L |
| system_resetLogFilter | S |
| system_syncState | XS |
| system_version | XS |
Substrace REST Sidecar API
| Path | Weight |
|---|---|
| accounts/.* | S |
| blocks/.* | L |
| blocks/./extrinsics/. | S |
| blocks/.*/header | XS |
| node/network | S |
| node/transaction-pool | M |
| node/version | S |
| pallets/assets/.*/asset-info | S |
| pallets/staking/progress | M |
| pallets/.*/storage | M |
| pallets/.*/storage/.* | S |
| runtime/.* | XS |
| aras | M |
| .*/transaction$ | L |
| transaction/dry-run | S |
| transaction/fee-estmate | M |
| transaction/material | S |
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.
Updated 3 months ago
