Transactions
fund-evm-key
Fund an EVM (h160) address with TAO from the signing coldkey.
An EVM account's native balance lives at its ss58 mirror address
(blake2_256("evm:" ++ h160)). This intent computes the mirror and
transfers TAO to it; the funds then appear as the EVM account's balance
in MetaMask or any Ethereum tool (displayed with 18 decimals there:
1 TAO = 1e18). Like any transfer this is irreversible — and only the
holder of the EVM private key can move the funds afterwards, so
double-check the address.
| Signer | Pallet | Wraps |
|---|---|---|
coldkey | Balances | Balances.transfer_keep_alive |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
evm_address | string | yes | EVM address to fund, as 0x-prefixed h160 hex. |
amount_tao | number | "all" | yes | How much TAO to send. |
Address parameters (--hotkey, --coldkey, --dest, ...) accept a raw ss58
address, an address-book or proxy-book name, or a local wallet/hotkey name.
CLI
Preview with --dry-run (shows fee, effects, and policy result without
submitting), then submit:
btcli tx fund-evm-key \
--evm-address <value> \
--amount-tao <amount|all> --dry-run
btcli tx fund-evm-key \
--evm-address <value> \
--amount-tao <amount|all> -w my_coldkeyPython
import bittensor as sub
from bittensor.wallet import Wallet
wallet = Wallet(name="my_coldkey", hotkey="my_hotkey")
intent = sub.FundEvmKey(evm_address="...", amount_tao=1.0)
async with sub.Client("finney") as client:
plan = await client.plan(intent, wallet) # fee, effects, policy — no submission
result = await client.execute(intent, wallet)
if not result.success:
print(result.error.code, result.error.remediation)Or build it by op name, as an agent would:
await client.execute_tool("fund_evm_key", {...}, wallet)