Function createAssociatedTokenAccountTransaction

  • Creates a transaction to create an associated token account for a given owner.

    Returns

    • A Promise that resolves to the transaction to create the associated token account.

    Parameters

    • owner: string

      The owner's address for which to create the associated token account.

    • tokenConfig: BridgeTokenConfig

      The configuration for the token.

    • connection: Connection

      The Solana connection object.

    Returns Promise<Transaction>

Generated using TypeDoc