Type aliases
EventDetail
EventDetail: { Withdraw: { from: Principal; to: Principal } } | { ChargingStationDeployed: { canister: Principal } } | { Deposit: { to: Principal } } | { CanisterCreated: { canister: Principal } } | { CanisterCalled: { canister: Principal; method_name: string } } | { Transfer: { from: Principal; to: Principal } }
GetTransactionResult
Get
TransactionResult: { None: null } | { Some: Event }
ResultCall
ResultCall: { Ok: { return: number[] } } | { Err: string }
TransactionId
TransactionId: bigint
TransactionStatus
TransactionStatus: { InternalError: null } | { Completed: null } | { Pending: null } | { InsufficientFunds: null }
TransferError
TransferError: { InsufficientBalance: null } | { InternalError: string } | { AmountTooLarge: null }
TransferResponse
WithdrawError
WithdrawError: { InsufficientBalance: null } | { InternalError: string } | { AmountTooLarge: null }
WithdrawResult