Transaction encoding to String for sending over #167
-
How do i convert this transaction to a string so that i can send it over an api and then convert it back to a raw transaction to sign it ? console.log(txn); // Something like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Here's a good example of how to serialize the transaction for sending to an external signer. We convert it to BCS bytes and then convert it back |
Beta Was this translation helpful? Give feedback.
Here's a good example of how to serialize the transaction for sending to an external signer. We convert it to BCS bytes and then convert it back
https://github.com/aptos-labs/aptos-ts-sdk/blob/main/examples/typescript/external_signing.ts#L152-L157