_SERVICE
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:552
Properties
Section titled “Properties”account_balance
Section titled “account_balance”account_balance:
ActorMethod<[AccountBalanceArgs],Tokens>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:556
Returns the amount of Tokens on the specified account.
account_balance_dfx
Section titled “account_balance_dfx”account_balance_dfx:
ActorMethod<[AccountBalanceArgsDfx],Tokens>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:557
account_identifier
Section titled “account_identifier”account_identifier:
ActorMethod<[Account],AccountIdentifier>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:561
Returns the account identifier for the given Principal and subaccount.
archives
Section titled “archives”archives:
ActorMethod<[],Archives>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:565
Returns the existing archive canisters information.
decimals
Section titled “decimals”decimals:
ActorMethod<[], {decimals:number; }>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:569
Returns token decimals.
get_allowances
Section titled “get_allowances”get_allowances:
ActorMethod<[GetAllowancesArgs],Allowances>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:570
icrc1_balance_of
Section titled “icrc1_balance_of”icrc1_balance_of:
ActorMethod<[Account],bigint>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:575
icrc1_decimals
Section titled “icrc1_decimals”icrc1_decimals:
ActorMethod<[],number>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:576
icrc1_fee
Section titled “icrc1_fee”icrc1_fee:
ActorMethod<[],bigint>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:577
icrc1_metadata
Section titled “icrc1_metadata”icrc1_metadata:
ActorMethod<[], [string,Value][]>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:578
icrc1_minting_account
Section titled “icrc1_minting_account”icrc1_minting_account:
ActorMethod<[], [] | [Account]>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:579
icrc1_name
Section titled “icrc1_name”icrc1_name:
ActorMethod<[],string>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:584
The following methods implement the ICRC-1 Token Standard. https://github.com/dfinity/ICRC-1/tree/main/standards/ICRC-1
icrc1_supported_standards
Section titled “icrc1_supported_standards”icrc1_supported_standards:
ActorMethod<[],object[]>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:585
icrc1_symbol
Section titled “icrc1_symbol”icrc1_symbol:
ActorMethod<[],string>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:589
icrc1_total_supply
Section titled “icrc1_total_supply”icrc1_total_supply:
ActorMethod<[],bigint>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:590
icrc1_transfer
Section titled “icrc1_transfer”icrc1_transfer:
ActorMethod<[TransferArg],Icrc1TransferResult>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:591
icrc10_supported_standards
Section titled “icrc10_supported_standards”icrc10_supported_standards:
ActorMethod<[],object[]>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:571
icrc2_allowance
Section titled “icrc2_allowance”icrc2_allowance:
ActorMethod<[AllowanceArgs],Allowance>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:596
icrc2_approve
Section titled “icrc2_approve”icrc2_approve:
ActorMethod<[ApproveArgs],ApproveResult>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:597
icrc2_transfer_from
Section titled “icrc2_transfer_from”icrc2_transfer_from:
ActorMethod<[TransferFromArgs],TransferFromResult>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:598
icrc21_canister_call_consent_message
Section titled “icrc21_canister_call_consent_message”icrc21_canister_call_consent_message:
ActorMethod<[icrc21_consent_message_request],icrc21_consent_message_response>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:592
is_ledger_ready
Section titled “is_ledger_ready”is_ledger_ready:
ActorMethod<[],boolean>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:599
name:
ActorMethod<[], {name:string; }>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:603
Returns token name.
query_blocks
Section titled “query_blocks”query_blocks:
ActorMethod<[GetBlocksArgs],QueryBlocksResponse>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:607
Queries blocks in the specified range.
query_encoded_blocks
Section titled “query_encoded_blocks”query_encoded_blocks:
ActorMethod<[GetBlocksArgs],QueryEncodedBlocksResponse>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:611
Queries encoded blocks in the specified range
remove_approval
Section titled “remove_approval”remove_approval:
ActorMethod<[RemoveApprovalArgs],ApproveResult>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:615
send_dfx
Section titled “send_dfx”send_dfx:
ActorMethod<[SendArgs],bigint>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:616
symbol
Section titled “symbol”symbol:
ActorMethod<[], {symbol:string; }>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:620
Returns token symbol.
tip_of_chain
Section titled “tip_of_chain”tip_of_chain:
ActorMethod<[],TipOfChainRes>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:621
transfer
Section titled “transfer”transfer:
ActorMethod<[TransferArgs],TransferResult>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:627
Transfers tokens from a subaccount of the caller to the destination address. The source address is computed from the principal of the caller and the specified subaccount. When successful, returns the index of the block containing the transaction.
transfer_fee
Section titled “transfer_fee”transfer_fee:
ActorMethod<[TransferFeeArg],TransferFee>
Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:631
Returns the current transfer_fee.