Methods
allow
- allow(arg_0: { canister_id: Principal; rule: AllowanceRule }): Promise<undefined>
-
Parameters
Returns Promise<undefined>
balance
- balance(arg_0: [] | [Principal]): Promise<bigint>
-
Parameters
Returns Promise<bigint>
deposit
- deposit(arg_0: [] | [Principal]): Promise<bigint>
-
Parameters
Returns Promise<bigint>
disallow
- disallow(arg_0: Principal): Promise<undefined>
-
Parameters
Returns Promise<undefined>
events
- events(arg_0: { after: [] | [number]; limit: number }): Promise<EventsConnection>
-
Parameters
-
arg_0: { after: [] | [number]; limit: number }
-
after: [] | [number]
-
limit: number
get_transaction
-
name
-
Returns Promise<string>
request_withdraw
- request_withdraw(): Promise<undefined>
-
Returns Promise<undefined>
transfer
-
Parameters
-
arg_0: { amount: bigint; to: Principal }
-
amount: bigint
-
to: Principal
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
withdraw
- withdraw(arg_0: { amount: bigint; canister_id: Principal }): Promise<WithdrawResult>
-
Parameters
-
arg_0: { amount: bigint; canister_id: Principal }
-
amount: bigint
-
canister_id: Principal
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