bus

Broadcast transaction

Changed on

Broadcasts the specified transaction.

post/bus/txpool/broadcast

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

minerFeesCurrency[]

List of miner fees included in the transaction.

arbitraryDatastring[]

Arbitrary binary data included in the transaction.

Example request

{
  "siacoinInputs": [
    {
      "unlockConditions": {
        "timelock": 92813,
        "publicKeys": [
          {
            "algorithm": "ed25519"
          }
        ]
      }
    }
  ],
  "fileContracts": [
    {
      "windowStart": 92813,
      "windowEnd": 92813,
      "revisionNumber": 246
    }
  ],
  "fileContractRevisions": [
    {
      "unlockConditions": {
        "timelock": 92813,
        "publicKeys": [
          {
            "algorithm": "ed25519"
          }
        ]
      },
      "windowStart": 92813,
      "windowEnd": 92813,
      "revisionNumber": 246
    }
  ],
  "siafundInputs": [
    {
      "unlockConditions": {
        "timelock": 92813,
        "publicKeys": [
          {
            "algorithm": "ed25519"
          }
        ]
      }
    }
  ],
  "signatures": [
    {
      "timelock": 92813
    }
  ]
}

Response

Successfully broadcast transaction

Changes

    • breaking

      removed the media type text/plain for the response with the status

    • info

      api tag bus added

    • breaking

      added the pattern ^fcid:[0-9a-fA-F]{64}$ to the request property //////

    • breaking

      added the pattern ^fcid:[0-9a-fA-F]{64}$ to the request property //////

    • breaking

      the ////// request property type changed from no type to string

    • breaking

      the ////// request property type changed from no type to string

    • warning

      removed subschema #2 from the ////// request property allOf list

    • warning

      removed subschema #2 from the ////// request property allOf list