Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Index

Methods

allow

  • allow(arg_0: { canister_id: Principal; rule: AllowanceRule }): Promise<undefined>
  • Parameters

    Returns Promise<undefined>

balance

  • balance(arg_0: [] | [Principal]): Promise<bigint>
  • Parameters

    • arg_0: [] | [Principal]

    Returns Promise<bigint>

deposit

  • deposit(arg_0: [] | [Principal]): Promise<bigint>
  • Parameters

    • arg_0: [] | [Principal]

    Returns Promise<bigint>

disallow

  • disallow(arg_0: Principal): Promise<undefined>
  • Parameters

    • arg_0: Principal

    Returns Promise<undefined>

events

  • events(arg_0: { after: [] | [number]; limit: number }): Promise<EventsConnection>
  • Parameters

    • arg_0: { after: [] | [number]; limit: number }
      • after: [] | [number]
      • limit: number

    Returns Promise<EventsConnection>

get_transaction

name

  • name(): Promise<string>
  • Returns Promise<string>

request_withdraw

  • request_withdraw(): Promise<undefined>
  • Returns Promise<undefined>

transfer

  • Parameters

    • arg_0: { amount: bigint; to: Principal }
      • amount: bigint
      • to: Principal

    Returns Promise<TransferResponse>

wallet_call

  • wallet_call(arg_0: { args: number[]; canister: Principal; cycles: bigint; method_name: string }): Promise<ResultCall>
  • Parameters

    • arg_0: { args: number[]; canister: Principal; cycles: bigint; method_name: string }
      • args: number[]
      • canister: Principal
      • cycles: bigint
      • method_name: string

    Returns Promise<ResultCall>

withdraw

  • withdraw(arg_0: { amount: bigint; canister_id: Principal }): Promise<WithdrawResult>
  • Parameters

    • arg_0: { amount: bigint; canister_id: Principal }
      • amount: bigint
      • canister_id: Principal

    Returns Promise<WithdrawResult>

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Method
  • Class
  • Class with type parameter
  • Enumeration