> ## Documentation Index
> Fetch the complete documentation index at: https://docs.p2p.org/llms.txt
> Use this file to discover all available pages before exploring further.

# sendTransaction()

> Send the signed transaction to the Solana network.

This method calls [`/solana/{network}/staking/send`](/reference/solana-staking-send) to broadcast a signed transaction to the specified network.

<Warning>
  It is strongly recommended to verify transactions before broadcasting, see [`verify()`](/docs/staking-sdk-solana-verifytransaction).
</Warning>

## Parameters

<CodeGroup>
  ```javascript JavaScript theme={null}
  await client.solana.stake({
    signedTransaction: transaction,
  });
  ```
</CodeGroup>

|                                                                                                                                                                                                                                                                             |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **signedTransaction** *Transaction or string, required*<br />The signed transaction that needs to be broadcasted. Can be a Solana [`Transaction`](https://solana-foundation.github.io/solana-web3.js/classes/Transaction.html) object or its base64-encoded representation. |
| **network** *string*<br />Solana network:<br />`mainnet-beta` — production network.<br />`testnet` — testnet.<br />If not specified, the method will use the default value from the [constructor](/docs/staking-sdk-stakingapiclient) .                                     |

## Result

<CodeGroup>
  ```json JSON theme={null}
  {
    "transactionId": "0x0628743b05ffb4c9d5ea2144b359af38910f0ae439a685f57d85b50b9481ba3f",
    "slot": "17168395",
    "signerAccounts": ["9i5cTqci1W6DHdYfT7WbiNhP5DXvnPNTXvS9fTBFfuSw"],
    "createdAt": "2023-08-24T08:14:50.455Z"
  }
  ```
</CodeGroup>

|                                                                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------- |
| **transactionId** *string*<br />Block hash in which the transaction was included.                                               |
| **slot** *number*<br />Period of time during which each leader collects transactions and creates a block in the Solana network. |
| **signerAccounts** *string*<br />Account addresses that signed the transaction.                                                 |
| **createdAt** *string*<br />Timestamp of the transaction in the ISO 8601 format.                                                |


## Related topics

- [verifyTransaction()](/docs/staking-sdk-solana-verifytransaction.md)
- [Staking API reference](/reference/solana-staking-stake.md)
