Function signAndSendTransaction

  • This function accepts connection, the encoded_transaction from the SHYFT API response and the wallet object. The wallet object and the connection to the user’s wallet can be obtained.

    Returns

    transaction signature

    Parameters

    • connection: Connection

      solana rpc connection

    • encodedTransaction: string

      serialized transaction (base64 string)

    • wallet: ShyftWallet

      wallet

    Returns Promise<string>

Generated using TypeDoc