update Blockhash And Sign
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
encoded Tx
base64 encoded Solana transaction.
recent Blockhash
base58 encoded recent blockhash.
private Keys
list of private keys that should be used to re-sign the transaction.