Constructors

Properties

Methods

Constructors

Properties

client: LuzidGrpcClient

Methods

  • Returns the info for an account.

    Parameters

    • cluster: LuzidCluster

      the cluster to query

    • address: string

      the pubkey of the account

      The returned account has the following properties:

      • owner: the owner of the account
      • data: the data of the account
      • executable: whether the account is executable
      • lamports: the balance of the account
      • rentEpoch: the rent epoch of the account

    Returns Promise<Successful<RpcGetAccountInfoResponse>>

  • Requests to drop SOL to an account.

    Parameters

    • cluster: LuzidCluster

      the cluster to drop SOL to

    • address: string

      the pubkey of the account to fund

    • solAmount: number

      the amount of SOL to drop

    Returns Promise<Successful<RpcRequestAirdropResponse>>

Generated using TypeDoc