hoodchain - v0.1.0
    Preparing search index...

    Function approveUsdg

    • Approve spender for amount USDG. Requires a wallet account.

      USDG has no EIP-2612 permit (verified on the Blockscout-verified implementation), so on-chain approve is the only allowance mechanism.

      Parameters

      • client: HoodClient
      • spender: `0x${string}`
      • amount: bigint

      Returns Promise<`0x${string}`>