1. Prepare the transaction
Retrieve an unsigned serialized transaction from the relevant API endpoint, e.g.,staking/bond,staking/nominate, staking/withdraw-unbonded.
2. Sign the transaction
Use the P2P Signer SDK to sign the unsigned data following protocol specific configuration.3. Send the transaction
Broadcast the transaction to the Polkadot network by sending a POST request to /api/v1/polkadot/{network}/tx/send. Example request (forwestend network):
signedTransaction— in hex format.
staus— transaction status.blockHash— block hash in which the transaction was included.blockId— unique block identifier.extrinsicId— unique identifier.transactionHash— signed transaction in hex format.signerAccount— account that signed the transaction.createdAt— timestamp of the transaction in the ISO 8601 format.