> ## 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.

# Send transaction

> Send a transaction to the Story network. The transaction must be signed and ready to be broadcasted.



## OpenAPI

````yaml POST /api/v1/story/{network}/transaction/send
openapi: 3.0.0
info:
  title: Staking API
  description: API used for staking
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.p2p.org/api
security:
  - bearer: []
tags:
  - name: Aptos
    description: Aptos staking operations (stake, unstake, withdraw, claim).
  - name: Celestia
    description: Celestia staking operations (stake, unstake, redelegate, claim).
  - name: Cosmos
    description: Cosmos Hub staking operations (stake, unstake, redelegate, claim).
  - name: EigenLayer
    description: EigenLayer restaking operations.
  - name: Ethereum
    description: Ethereum staking operations (direct, SSV, pooled).
  - name: Hyperliquid
    description: Hyperliquid staking operations.
  - name: Monad
    description: Monad staking operations (delegate, undelegate, withdraw).
  - name: P2P SSV
    description: P2P-managed SSV validator operations (deposit, claim, withdraw).
  - name: Polkadot
    description: Polkadot staking and nomination pool operations.
  - name: Polygon
    description: Polygon staking operations.
  - name: Pooled Staking
    description: Pooled staking vault operations (deposit, unstake, withdraw).
  - name: Sei
    description: Sei staking operations (stake, unstake, redelegate, claim).
  - name: Solana
    description: Solana staking operations (stake, split, merge, deactivate, withdraw).
  - name: SSV
    description: SSV network validator operations.
  - name: Story
    description: Story network staking operations.
  - name: Sui
    description: Sui staking operations.
  - name: TON
    description: TON staking operations (single nominator, whales pool).
  - name: TRON
    description: TRON staking operations (freeze, delegate, vote, withdraw).
  - name: Unified
    description: Unified multi-chain staking interface.
paths:
  /api/v1/story/{network}/transaction/send:
    post:
      tags:
        - Story
      summary: Send transaction
      description: >-
        Send a transaction to the Story network. The transaction must be signed
        and ready to be broadcasted.
      operationId: story-transaction-send
      parameters:
        - name: network
          required: true
          in: path
          description: >-
            <p>Story network:</p><ul><li>`mainnet` — Story
            mainnet.</li><li>`Aeneid` — Aeneid testnet.</li></ul>
          schema:
            enum:
              - mainnet
              - aeneid
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StorySendTransactionRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/SuccessResponse'
                  - type: object
                    properties:
                      result:
                        $ref: '#/components/schemas/StorySendTransactionResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ExceptionResponse'
                  - type: object
                    properties:
                      error:
                        oneOf:
                          - $ref: >-
                              #/components/schemas/StoryNetworkIsNotIncludedInListException
                          - $ref: >-
                              #/components/schemas/StoryInvalidRawTransactionException
              examples:
                StoryNetworkIsNotIncludedInListException:
                  value:
                    error:
                      code: 126100
                      message: 'Network is not included in the list: undefined'
                      name: StoryNetworkIsNotIncludedInListException
                      type: client
                    result: null
                InvalidRawTransactionException:
                  value:
                    error:
                      code: 126106
                      message: Invalid raw transaction provided.
                      name: InvalidRawTransactionException
                      type: client
                    result: null
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ExceptionResponse'
                  - type: object
                    properties:
                      error:
                        oneOf:
                          - $ref: '#/components/schemas/AuthNoTokenException'
                          - $ref: '#/components/schemas/AuthWrongTokenException'
              examples:
                NoTokenException:
                  value:
                    error:
                      code: 101111
                      message: >-
                        No Bearer token has been provided. To obtain an
                        authentication token, follow the instructions at
                        https://docs.p2p.org/docs/authentication.
                      name: NoTokenException
                      type: authentication
                    result: null
                WrongTokenException:
                  value:
                    error:
                      code: 101109
                      message: >-
                        An invalid Bearer token has been provided. Please
                        specify the correct authentication token.
                      name: WrongTokenException
                      type: authentication
                    result: null
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ExceptionResponse'
                  - type: object
                    properties:
                      error:
                        oneOf:
                          - $ref: >-
                              #/components/schemas/StoryTransactionBroadcastException
                          - $ref: >-
                              #/components/schemas/StoryTransactionNotConfirmedException
              examples:
                TransactionBroadcastException:
                  value:
                    error:
                      code: 126101
                      message: >-
                        The transaction could not be broadcasted because the
                        internal server error occurred.
                      name: TransactionBroadcastException
                      type: server
                    result: null
                TransactionNotConfirmedException:
                  value:
                    error:
                      code: 126118
                      message: The transaction was broadcasted but not confirmed.
                      name: TransactionNotConfirmedException
                      type: server
                    result: null
      security:
        - bearer: []
components:
  schemas:
    StorySendTransactionRequest:
      type: object
      properties:
        signedTransaction:
          type: string
          description: Hex-encoded signed transaction string prefixed with 0x
          example: 0x02f9017b8205230d8459...
      required:
        - signedTransaction
    SuccessResponse:
      type: object
      properties:
        error:
          type: object
          nullable: true
          default: null
          description: Error object. Always null on successful responses.
        result:
          type: object
          description: Response payload containing the requested data.
      description: Standard API success response envelope wrapping the result payload.
      required:
        - error
        - result
    StorySendTransactionResponse:
      type: object
      properties:
        createdAt:
          format: date-time
          type: string
          description: Timestamp when the transaction was sent
          example: '2024-06-12T14:30:00.000Z'
          readOnly: true
        network:
          type: string
          description: Story network name
          enum:
            - mainnet
            - aeneid
          example: mainnet
        senderAddress:
          type: string
          description: Address of the transaction sender
          example: st1xhe0yearv3xyezktlpe9tqljn8swyrdn4u4uz
        status:
          type: string
          description: Status of the transaction
          example: SUCCESS
          enum:
            - FAILED
            - PENDING
            - SUCCESS
          readOnly: true
        transactionHash:
          type: string
          description: Transaction hash
          example: '0x0443c3a66a3a5a2816e0c6cc426bdcfd2cb6ce8c73740a4bface6ee684feb903'
          readOnly: true
      required:
        - createdAt
        - network
        - senderAddress
        - status
        - transactionHash
    ExceptionResponse:
      type: object
      properties:
        error:
          type: object
          description: Error object containing exception details. Null on success.
        result:
          type: object
          nullable: true
          default: null
          description: Result payload. Always null on error responses.
        requestId:
          type: string
          description: >-
            Identifier of the request (the `x-request-id` header). Quote this
            value to correlate the response with server logs.
          example: 90c16e9e-6e99-4651-a033-60290356df2f
        timestamp:
          type: string
          format: date-time
          description: ISO 8601 timestamp of when the error response was generated.
          example: '2026-05-20T22:29:03.126Z'
      description: Standard API error response envelope wrapping the exception details.
      required:
        - error
        - result
        - timestamp
    StoryNetworkIsNotIncludedInListException:
      type: object
      properties:
        type:
          type: string
          default: client
          example: client
          description: Exception category.
        code:
          type: integer
          format: int32
          default: 126100
          example: 126100
          description: Numeric error code identifying the exception type.
        message:
          type: string
          default: 'Network is not included in the list: [ ''mainnet'', ''aeneid'' ]'
          example: 'Network is not included in the list: [ ''mainnet'', ''aeneid'' ]'
          description: Human-readable error message describing what went wrong.
        name:
          type: string
          default: StoryNetworkIsNotIncludedInListException
          example: StoryNetworkIsNotIncludedInListException
          description: Exception class name for runtime error identification.
      required:
        - type
        - code
        - message
        - name
    StoryInvalidRawTransactionException:
      type: object
      properties:
        type:
          type: string
          default: client
          example: client
          description: Exception category.
        code:
          type: integer
          format: int32
          default: 126106
          example: 126106
          description: Numeric error code identifying the exception type.
        message:
          type: string
          default: Invalid raw transaction provided.
          example: Invalid raw transaction provided.
          description: Human-readable error message describing what went wrong.
        name:
          type: string
          default: InvalidRawTransactionException
          example: InvalidRawTransactionException
          description: Exception class name for runtime error identification.
      required:
        - type
        - code
        - message
        - name
    AuthNoTokenException:
      type: object
      properties:
        type:
          type: string
          default: authentication
          example: authentication
          description: Exception category.
        code:
          type: integer
          format: int32
          default: 101111
          example: 101111
          description: Numeric error code identifying the exception type.
        message:
          type: string
          default: >-
            No Bearer token has been provided. To obtain an authentication
            token, follow the instructions at
            https://docs.p2p.org/docs/authentication.
          example: >-
            No Bearer token has been provided. To obtain an authentication
            token, follow the instructions at
            https://docs.p2p.org/docs/authentication.
          description: Human-readable error message describing what went wrong.
        name:
          type: string
          default: NoTokenException
          example: NoTokenException
          description: Exception class name for runtime error identification.
      required:
        - type
        - code
        - message
        - name
    AuthWrongTokenException:
      type: object
      properties:
        type:
          type: string
          default: authentication
          example: authentication
          description: Exception category.
        code:
          type: integer
          format: int32
          default: 101109
          example: 101109
          description: Numeric error code identifying the exception type.
        message:
          type: string
          default: >-
            An invalid Bearer token has been provided. Please specify the
            correct authentication token.
          example: >-
            An invalid Bearer token has been provided. Please specify the
            correct authentication token.
          description: Human-readable error message describing what went wrong.
        name:
          type: string
          default: WrongTokenException
          example: WrongTokenException
          description: Exception class name for runtime error identification.
      required:
        - type
        - code
        - message
        - name
    StoryTransactionBroadcastException:
      type: object
      properties:
        type:
          type: string
          default: server
          example: server
          description: Exception category.
        code:
          type: integer
          format: int32
          default: 126101
          example: 126101
          description: Numeric error code identifying the exception type.
        message:
          type: string
          default: >-
            The transaction could not be broadcasted because the internal server
            error occurred.
          example: >-
            The transaction could not be broadcasted because the internal server
            error occurred.
          description: Human-readable error message describing what went wrong.
        name:
          type: string
          default: TransactionBroadcastException
          example: TransactionBroadcastException
          description: Exception class name for runtime error identification.
      required:
        - type
        - code
        - message
        - name
    StoryTransactionNotConfirmedException:
      type: object
      properties:
        type:
          type: string
          default: server
          example: server
          description: Exception category.
        code:
          type: integer
          format: int32
          default: 126118
          example: 126118
          description: Numeric error code identifying the exception type.
        message:
          type: string
          default: The transaction was broadcasted but not confirmed.
          example: The transaction was broadcasted but not confirmed.
          description: Human-readable error message describing what went wrong.
        name:
          type: string
          default: TransactionNotConfirmedException
          example: TransactionNotConfirmedException
          description: Exception class name for runtime error identification.
      required:
        - type
        - code
        - message
        - name
  responses:
    TooManyRequests:
      description: >-
        Too Many Requests — the client exceeded its rate limit. The response
        advertises when to retry and the active quota via headers.
      headers:
        Retry-After:
          description: Number of seconds to wait before retrying the request.
          schema:
            type: integer
            example: 60
        RateLimit-Limit:
          description: >-
            The request quota (maximum number of requests) for the most
            restrictive applicable window.
          schema:
            type: integer
            example: 120
        RateLimit-Reset:
          description: >-
            Number of seconds until the rate-limit window resets and requests
            are accepted again.
          schema:
            type: integer
            example: 60
        RateLimit-Policy:
          description: >-
            The active rate-limit policy as `<limit>;w=<window-seconds>`,
            comma-separated when multiple windows apply.
          schema:
            type: string
            example: 120;w=60
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: integer
                  name:
                    type: string
                    example: ThrottlerException
                  message:
                    type: string
                    example: ThrottlerException
                  errors:
                    type: array
                    nullable: true
                    items:
                      type: object
              result:
                type: object
                nullable: true
                example: null
              requestId:
                type: string
                description: >-
                  Identifier of the request (the `x-request-id` header). Quote
                  this value to correlate the response with server logs.
                example: 90c16e9e-6e99-4651-a033-60290356df2f
              timestamp:
                type: string
                format: date-time
                description: ISO 8601 timestamp of when the error response was generated.
                example: '2026-05-20T22:29:03.126Z'
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````

## Related topics

- [Send Transaction](/reference/solana-staking-send.md)
- [sendTransaction()](/docs/staking-sdk-solana-sendtransaction.md)
- [verifyTransaction()](/docs/staking-sdk-solana-verifytransaction.md)
- [Ethereum](/docs/unified-api-ethereum.md)
- [The Graph](/docs/unified-api-the-graph.md)
