bus

Broadcast transaction

Broadcasts the specified transaction.

post/bus/txpool/broadcast

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

Changed in 6 of the 50 revisions of this API.2722

  • 922f156353c911See the full diff
    • removed the media type text/plain for the response with the status 500

      response-media-type-removed

    • api tag bus added

      api-tag-added

  • 0b3014765a9442See the full diff
    • added the pattern ^fcid:[0-9a-fA-F]{64}$ to the request property fileContractRevisions/items/parentID/allOf[FileContractID]/

      request-property-pattern-added

    • added the pattern ^fcid:[0-9a-fA-F]{64}$ to the request property storageProofs/items/parentID/allOf[FileContractID]/

      request-property-pattern-added

    • the fileContractRevisions/items/parentID/allOf[FileContractID]/ request property type/format changed from / to string/

      request-property-type-changed

    • the storageProofs/items/parentID/allOf[FileContractID]/ request property type/format changed from / to string/

      request-property-type-changed

    • removed Hash256 subschema #2 from the fileContractRevisions/items/parentID/allOf[FileContractID]/ request property allOf list

      request-property-all-of-removed

    • removed Hash256 subschema #2 from the storageProofs/items/parentID/allOf[FileContractID]/ request property allOf list

      request-property-all-of-removed

    • added the pattern ^[a-fA-F0-9]{64}$ to the request property fileContractRevisions/items/unlockConditions/allOf[UnlockConditions]/publicKeys/items/key

      request-property-pattern-added

    • added the pattern ^[a-fA-F0-9]{64}$ to the request property siacoinInputs/items/unlockConditions/allOf[UnlockConditions]/publicKeys/items/key

      request-property-pattern-added

    • added the pattern ^[a-fA-F0-9]{64}$ to the request property siafundInputs/items/unlockConditions/allOf[UnlockConditions]/publicKeys/items/key

      request-property-pattern-added

    • added BlockHeight subschema #2 to the fileContractRevisions/items/unlockConditions/allOf[UnlockConditions]/timelock request property allOf list

      request-property-all-of-added

    • added BlockHeight subschema #2 to the fileContractRevisions/items/windowEnd request property allOf list

      request-property-all-of-added

    • added BlockHeight subschema #2 to the fileContractRevisions/items/windowStart request property allOf list

      request-property-all-of-added

    • added BlockHeight subschema #2 to the fileContracts/items/windowEnd request property allOf list

      request-property-all-of-added

    • added BlockHeight subschema #2 to the fileContracts/items/windowStart request property allOf list

      request-property-all-of-added

    • added BlockHeight subschema #2 to the siacoinInputs/items/unlockConditions/allOf[UnlockConditions]/timelock request property allOf list

      request-property-all-of-added

    • added BlockHeight subschema #2 to the siafundInputs/items/unlockConditions/allOf[UnlockConditions]/timelock request property allOf list

      request-property-all-of-added

    • added BlockHeight subschema #2 to the signatures/items/timelock request property allOf list

      request-property-all-of-added

    • added Signature subschema #2 to the signatures/items/signature request property allOf list

      request-property-all-of-added

    • the fileContractRevisions/items/unlockConditions/allOf[UnlockConditions]/timelock request property type/format changed from integer/uint64 to /

      request-property-type-changed

    • the fileContractRevisions/items/windowEnd request property type/format changed from integer/uint64 to /

      request-property-type-changed

    • the fileContractRevisions/items/windowStart request property type/format changed from integer/uint64 to /

      request-property-type-changed

    • the fileContracts/items/windowEnd request property type/format changed from integer/uint64 to /

      request-property-type-changed

    • the fileContracts/items/windowStart request property type/format changed from integer/uint64 to /

      request-property-type-changed

    • the siacoinInputs/items/unlockConditions/allOf[UnlockConditions]/timelock request property type/format changed from integer/uint64 to /

      request-property-type-changed

    • the siafundInputs/items/unlockConditions/allOf[UnlockConditions]/timelock request property type/format changed from integer/uint64 to /

      request-property-type-changed

    • the signatures/items/signature request property type/format changed from string/byte to /

      request-property-type-changed

    • the signatures/items/timelock request property type/format changed from integer/uint64 to /

      request-property-type-changed

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 99 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog