1. Prepare the transaction
Obtain theunsignedTransaction object provided by a transaction builder or the relevant Staking API endpoint, e.g., /staking/stake or /staking/withdraw.
2. Sign the transaction
Use the P2P Signer SDK to sign the unsigned data following protocol specific configuration.3. Send the transaction
Send the signed transaction to the Story network by making a POST request to /api/v1/story/{network}/tx/send. Example request (foraeneid network):
signedTransaction— signed transaction in the hexadecimal format.
transactionId— hash of the transaction included in the Story Protocol chain.signerAccounts— list of account addresses that signed the transaction.createdAt— timestamp of the transaction in the ISO 8601 format.