Skip to main content
PUT
/
tap
/
draft
TypeScript
const response: Promise<FireblocksResponse<LegacyDraftReviewAndValidationResponse>> = fireblocks.policyEditorBeta.updateDraftLegacy(policyEditorBetaApiUpdateDraftLegacyRequest);
{
  "draftResponse": {
    "status": "<string>",
    "rules": [
      {
        "type": "TRANSFER",
        "action": "ALLOW",
        "asset": "<string>",
        "amountCurrency": "USD",
        "amountScope": "SINGLE_TX",
        "amount": "<string>",
        "periodSec": 123,
        "operator": "<string>",
        "operators": {
          "wildcard": "*",
          "users": [
            "<string>"
          ],
          "usersGroups": [
            "<string>"
          ],
          "services": [
            "<string>"
          ]
        },
        "transactionType": "TRANSFER",
        "designatedSigner": "<string>",
        "designatedSigners": {
          "users": [
            "<string>"
          ],
          "usersGroups": [
            "<string>"
          ]
        },
        "srcType": "EXCHANGE",
        "srcSubType": "EXTERNAL",
        "srcId": "<string>",
        "src": {
          "ids": [
            [
              "<string>"
            ]
          ]
        },
        "dstType": "EXCHANGE",
        "dstSubType": "EXTERNAL",
        "dstId": "<string>",
        "dst": {
          "ids": [
            [
              "<string>"
            ]
          ]
        },
        "dstAddressType": "WHITELISTED",
        "authorizers": [
          "<string>"
        ],
        "authorizersCount": 123,
        "authorizationGroups": {
          "logic": "AND",
          "allowOperatorAsAuthorizer": true,
          "groups": [
            {
              "users": [
                "<string>"
              ],
              "usersGroups": [
                "<string>"
              ],
              "th": 123
            }
          ]
        },
        "amountAggregation": {
          "operators": "PER_SINGLE_MATCH",
          "srcTransferPeers": "PER_SINGLE_MATCH",
          "dstTransferPeers": "PER_SINGLE_MATCH"
        },
        "rawMessageSigning": {
          "algorithm": "<string>",
          "derivationPath": {
            "path": [
              123
            ]
          }
        },
        "applyForApprove": true,
        "applyForTypedMessage": true,
        "externalDescriptor": "<string>"
      }
    ],
    "draftId": "<string>",
    "metadata": {
      "editedBy": "<string>",
      "editedAt": "<string>",
      "publishedBy": "<string>",
      "publishedAt": "<string>"
    }
  },
  "validation": {
    "status": "<string>",
    "checkResult": {
      "errors": 123,
      "results": [
        {
          "index": 123,
          "status": "ok",
          "errors": [
            {
              "errorMessage": "<string>",
              "errorCode": 123,
              "errorCodeName": "<string>",
              "errorField": "operator"
            }
          ]
        }
      ]
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.fireblocks.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Idempotency-Key
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Body

application/json
rules
object[]

Policy rules

Response

A draft validation response object

Draft validation

draftResponse
object
required

Response object for draft operations

validation
object
required

Policy validation object