Overview

The Bank precompile exposes native Cosmos SDK token supply and balance views. ERC-20-style transfers happen through registered ERC20 extension/token-pair addresses, not through the static Bank precompile. Precompile Address: 0x0000000000000000000000000000000000000804

Gas Costs

The Bank precompile has query methods only. Each method has a fixed gas cost:

Transfer behavior

The Bank precompile has no transfer method. For ERC-20-style transfers, see ERC20.

Query Methods

Example

Cosmos module precompiles take amounts in the base denom ctm, the smallest unit of CTM: 1 CTM = 10^18 ctm, the same scale as wei. Do not convert to 6 decimals as on other Cosmos chains; check each precompile’s expected amount format before interacting with it.
For the ABI catalog, see Precompile ABI Reference.