• Preparing search index...
  • The search index is not available
Streamflow SDK
  • Streamflow SDK
  • @streamflow/stream
  • aptos
  • normalizeAptosAddress

Function normalizeAptosAddress

  • normalizeAptosAddress(address: string): string

    Aptos has inconsistencies in how it returns addresses. This method normalizes them to be 64+2(0x...) characters long, or leaves it as SPECIAL ADDRESS (0x0 - 0xf inclusive) Per this: https://github.com/aptos-labs/aptos-ts-sdk/blob/main/src/core/accountAddress.ts#L115

    Parameters

    • address: string

    Returns string

    • Defined in packages/stream/aptos/utils.ts:20

Settings

Member Visibility
Streamflow SDK
  • Loading...

Generated using TypeDoc