Substrate 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 Compute Unit Values
| Method | Value |
|---|---|
| babe_epochAuthorship | S |
| 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 | XL |
| 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_getStorageAt | S |
| state_queryStorage | S |
| state_queryStorageAt | S |
| state_traceBlock | XL |
| state_trieMigrationStatus | XL |
| sync_state_genSyncSpec | XL |
| system_accountNextIndex | S |
| system_addReservedPeer | S |
| system_chain | XS |
| system_chainType | XS |
| system_dryRun | M |
| system_health | XS |
| system_localListenAddresses | XL |
| system_localPeerId | S |
| system_name | XS |
| system_networkState | XS |
| system_nodeRoles | XS |
| system_peers | S |
| system_properties | XS |
| system_removeReservedPeer | XL |
| system_reservedPeers | XL |
| system_resetLogFilter | S |
| system_syncState | XS |
| system_version | XS |
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.
Updated 3 months ago
