Constructors

Methods

  • Parameters

    • connection: Connection
    • tokenMintWithProgram: MintWithTokenProgram
    • source: PublicKey
    • destination: PublicKey
    • owner: PublicKey

    Returns Promise<undefined | AccountMeta[]>

  • Parameters

    • connection: Connection
    • tokenExtensionCtx: TokenExtensionContextForPool
    • sourceA: PublicKey
    • destinationA: PublicKey
    • ownerA: PublicKey
    • sourceB: PublicKey
    • destinationB: PublicKey
    • ownerB: PublicKey

    Returns Promise<{
        tokenTransferHookAccountsA: undefined | AccountMeta[];
        tokenTransferHookAccountsB: undefined | AccountMeta[];
    }>