跳至主要内容
此页面是从英文翻译而来的。请注意,与原始页面相比,可能会出现错误或差异。真实的文档来源应始终是英文版本。

currency balance

Description

Retrieve the balance of an account for a given currency

Positional Parameters

contract TEXT - The contract that operates the currency

account TEXT - The account to query balances for

symbol TEXT - The symbol for the currency if the contract operates multiple currencies

Options

There are no options for this subcommand

Example

Get balance of eosio from eosio.token contract for SYS symbol.

cleos get currency balance eosio.token eosio SYS
999999920.0000 SYS