Documentation
    Preparing search index...

    Type Alias BalanceOptions

    BalanceOptions: { balance: bigint | number | string; type?: string } & (
        | { allowance?: never; useGasCoin?: boolean }
        | { allowance: string | AllowanceReference; useGasCoin?: never }
    )

    Type Declaration

    • balance: bigint | number | string
    • Optionaltype?: string

      The coin type T, not Balance. Defaults to SUI.

    • { allowance?: never; useGasCoin?: boolean }
    • { allowance: string | AllowanceReference; useGasCoin?: never }
      • allowance: string | AllowanceReference

        An allowance ID or reference with optional app authorization. Never falls back to sender funds.

      • OptionaluseGasCoin?: never