Skip to main content
GET
/
tap
/
active_policy
TypeScript
const response: Promise<FireblocksResponse<LegacyPolicyAndValidationResponse>> = fireblocks.policyEditorBeta.getActivePolicyLegacy();
{
  "policy": {
    "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>"
      }
    ],
    "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://fireblocks-43c4b3ee-chore-add-cli.mintlify.app/llms.txt

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

Response

A policy object

Policy validation

policy
object
required

Response object for policy operations

validation
object
required

Policy validation object