Properties
balance
balance
: (address
: string) => Promise<AsObject>
newAddress
new
Address: (name: string, type?: "bls" | "secp256k1" | undefined, makeDefault?: boolean | undefined) => Promise<AsObject>
Type declaration
-
- (name: string, type?: "bls" | "secp256k1" | undefined, makeDefault?: boolean | undefined): Promise<AsObject>
-
Parameters
-
name: string
-
Optional type: "bls" | "secp256k1" | undefined
-
Optional makeDefault: boolean | undefined
Returns Promise<AsObject>
sendFil
send
Fil: (from: string, to: string, amount: bigint) => Promise<AsObject>
Type declaration
-
- (from: string, to: string, amount: bigint): Promise<AsObject>
-
Parameters
-
from: string
-
to: string
-
amount: bigint
Returns Promise<AsObject>
signMessage
sign
Message: (address: string, message: Uint8Array) => Promise<AsObject>
Type declaration
-
- (address: string, message: Uint8Array): Promise<AsObject>
-
Parameters
-
address: string
-
message: Uint8Array
Returns Promise<AsObject>
verifyMessage
verify
Message: (address: string, message: Uint8Array, signature: Uint8Array | string) => Promise<AsObject>
Type declaration
-
- (address: string, message: Uint8Array, signature: Uint8Array | string): Promise<AsObject>
-
Parameters
-
address: string
-
message: Uint8Array
-
signature: Uint8Array | string
Returns Promise<AsObject>
Get all wallet addresses associated with the current user.
A list of wallet addresses.