Function aensClaim

  • Claim a previously preclaimed registration. This can only be done after the preclaim step

    Returns

    the result of the claim

    Example

    const name = 'test.chain'
    const salt = preclaimResult.salt // salt from pre-claim transaction

    await sdkInstance.aensClaim(name, salt, { ttl, fee, nonce, nameFee })

    Parameters

    • name: `${string}.chain`

      AENS name

    • salt: number

      Salt from pre-claim, or 0 if it's a bid

    • options: AensClaimOptions

      options

    Returns Promise<AensClaimReturnType>

Generated using TypeDoc