sendTransaction()
Send the signed transaction to the Solana network.
This method calls /solana/{network}/staking/send to broadcast a signed transaction to the specified network.
It is strongly recommended to verify transactions before broadcasting, see
verify().
Parameters
await client.solana.stake({
signedTransaction: transaction,
network: 'mainnet-beta',
});signedTransaction Transaction or string, required |
network string |
Result
{
"transactionId": "0x0628743b05ffb4c9d5ea2144b359af38910f0ae439a685f57d85b50b9481ba3f",
"slot": "17168395",
"signerAccounts": ["9i5cTqci1W6DHdYfT7WbiNhP5DXvnPNTXvS9fTBFfuSw"],
"createdAt": "2023-08-24T08:14:50.455Z"
}transactionId string |
slot number |
signerAccounts string |
createdAt string |
What's next?
- verifyTransaction()
- Staking API reference
Updated about 19 hours ago