Class Gp

Constructors

Properties

Methods

Constructors

  • Parameters

    • config: GpClientConfig

    Returns Gp

Properties

client: Client

Methods

  • Parameters

    • __namedParameters: {
          chainId: number;
          depositAmount: bigint;
          owner: `0x${string}`;
          recipient: `0x${string}`;
      }
      • chainId: number
      • depositAmount: bigint
      • owner: `0x${string}`
      • recipient: `0x${string}`

    Returns Promise<[EoaApproveAction, EoaDepositAction]>

  • Parameters

    • __namedParameters: {
          chainId: number;
          depositAmount: bigint;
          owner: `0x${string}`;
          recipient: `0x${string}`;
      }
      • chainId: number
      • depositAmount: bigint
      • owner: `0x${string}`
      • recipient: `0x${string}`

    Returns Promise<(SaApproveAction | SaDepositAction)[]>