Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AdminWallet

Hierarchy

  • AdminWallet

Index

Properties

addresses

addresses: () => Promise<AsObject>

List all wallet addresses.

returns

The list of wallet addresses.

Type declaration

newAddress

newAddress: (type?: "bls" | "secp256k1") => Promise<AsObject>

Create a new wallet address.

param

The type of address to create, bls or secp256k1.

returns

The new address.

Type declaration

    • (type?: "bls" | "secp256k1"): Promise<AsObject>
    • Parameters

      • Optional type: "bls" | "secp256k1"

      Returns Promise<AsObject>

sendFil

sendFil: (from: string, to: string, amount: bigint) => Promise<AsObject>

Send Fil from one address to another.

param

The address to send from.

param

The address to send to.

param

The amount of Fil to send.

Type declaration

    • (from: string, to: string, amount: bigint): Promise<AsObject>
    • Parameters

      • from: string
      • to: string
      • amount: bigint

      Returns Promise<AsObject>

Generated using TypeDoc