updateBlockhashAndSign

open fun updateBlockhashAndSign(encodedTx: String, recentBlockhash: String, privateKeys: DataVector): Array<Byte>

Decode Solana transaction, update the recent blockhash and re-sign the transaction. # Warning This is a temporary solution. It will be removed when `Solana.proto` supports direct transaction signing.

Return

serialized `Solana::Proto::SigningOutput`.

Parameters

encodedTx

base64 encoded Solana transaction.

recentBlockhash

base58 encoded recent blockhash.

privateKeys

list of private keys that should be used to re-sign the transaction.