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 CategoryAssociated Compute Units
XS1
S5
M10
L50
XL100
EgressCustom
Batch QueriesCustom

Substrate RPC API

MethodWeight
chain_getBlockHashXS
chain_getFinalizedHeadXS
chain_getHeaderS
childstate_getKeysM
childstate_getKeysPagedM
childstate_getStorageM
childstate_getStorageEntriesM
childstate_getStorageHashXS
childstate_getStorageSizeXS
contracts_callM
contracts_getStorageM
contracts_instantiateL
contracts_rentProjectionS
contracts_upload_codeL
grandpa_proveFinalityS
grandpa_roundStateXS
mmr_generateBatchProofS
mmr_generateProofS
offchain_localStorageGetS
offchain_localStorageSetL
payment_queryFeeDetailsS
payment_queryInfoS
rpc_methodsXS
state_callS
state_getChildKeysS
state_getChildReadProofS
state_getChildStorageS
state_getChildStorageHashS
state_getChildStorageSizeS
state_getKeysS
state_getKeysPagedS
state_getMetadataM
state_getPairsS
state_getReadProofS
state_getRuntimeVersionS
state_getStorageS
state_getStorageHashS
state_getStorageSizeS
state_queryStorageS
state_queryStorageAtS
state_traceBlockL
state_trieMigrationStatusL
sync_state_genSyncSpecL
system_addReservedPeerS
system_chainXS
system_chainTypeXS
system_dryRunM
system_healthXS
system_localListenAddressesL
system_localPeerIdS
system_nameXS
system_networkStateXS
system_nodeRolesXS
system_peersS
system_propertiesXS
system_removeReservedPeerL
system_reservedPeersL
system_resetLogFilterS
system_syncStateXS
system_versionXS

Substrace REST Sidecar API

PathWeight
accounts/.*S
blocks/.*L
blocks/./extrinsics/.S
blocks/.*/headerXS
node/networkS
node/transaction-poolM
node/versionS
pallets/assets/.*/asset-infoS
pallets/staking/progressM
pallets/.*/storageM
pallets/.*/storage/.*S
runtime/.*XS
arasM
.*/transaction$L
transaction/dry-runS
transaction/fee-estmateM
transaction/materialS

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.