Get the active policy and its validation
GET {{baseUrl}}/tap/active_policy
Returns the active policy and its validation.
Note: These endpoints are currently in beta and might be subject to changes.
If you want to participate and learn more about the Fireblocks TAP, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"policy":{"rules":[{"type":"TRANSFER","action":"2-TIER","asset":"\u003cstring\u003e","amountCurrency":"NATIVE","amountScope":"SINGLE_TX","amount":"\u003cstring\u003e","periodSec":"\u003cnumber\u003e","operator":"\u003cstring\u003e","operators":{"wildcard":"*","users":["\u003cstring\u003e","\u003cstring\u003e"],"usersGroups":["\u003cstring\u003e","\u003cstring\u003e"],"services":["\u003cstring\u003e","\u003cstring\u003e"]},"transactionType":"SUPPLY","designatedSigner":"\u003cstring\u003e","designatedSigners":{"users":["\u003cstring\u003e","\u003cstring\u003e"],"usersGroups":["\u003cstring\u003e","\u003cstring\u003e"]},"srcType":"COMPOUND","srcSubType":"CONTRACT","srcId":"\u003cstring\u003e","src":{"ids":[["\u003cstring\u003e"],["\u003cstring\u003e"]]},"dstType":"EXCHANGE","dstSubType":"EXCHANGETEST","dstId":"\u003cstring\u003e","dst":{"ids":[["\u003cstring\u003e"],["\u003cstring\u003e"]]},"dstAddressType":"WHITELISTED","authorizers":["\u003cstring\u003e","\u003cstring\u003e"],"authorizersCount":"\u003cnumber\u003e","authorizationGroups":{"logic":"OR","allowOperatorAsAuthorizer":"\u003cboolean\u003e","groups":[{"users":["\u003cstring\u003e","\u003cstring\u003e"],"usersGroups":["\u003cstring\u003e","\u003cstring\u003e"],"th":"\u003cnumber\u003e"},{"users":["\u003cstring\u003e","\u003cstring\u003e"],"usersGroups":["\u003cstring\u003e","\u003cstring\u003e"],"th":"\u003cnumber\u003e"}]},"amountAggregation":{"operators":"ACROSS_ALL_MATCHES","srcTransferPeers":"PER_SINGLE_MATCH","dstTransferPeers":"PER_SINGLE_MATCH"},"rawMessageSigning":{"algorithm":"\u003cstring\u003e","derivationPath":{"path":["\u003cnumber\u003e","\u003cnumber\u003e"]}},"applyForApprove":"\u003cboolean\u003e","applyForTypedMessage":"\u003cboolean\u003e","externalDescriptor":"\u003cstring\u003e"},{"type":"TRANSFER","action":"BLOCK","asset":"\u003cstring\u003e","amountCurrency":"USD","amountScope":"SINGLE_TX","amount":"\u003cstring\u003e","periodSec":"\u003cnumber\u003e","operator":"\u003cstring\u003e","operators":{"wildcard":"*","users":["\u003cstring\u003e","\u003cstring\u003e"],"usersGroups":["\u003cstring\u003e","\u003cstring\u003e"],"services":["\u003cstring\u003e","\u003cstring\u003e"]},"transactionType":"TYPED_MESSAGE","designatedSigner":"\u003cstring\u003e","designatedSigners":{"users":["\u003cstring\u003e","\u003cstring\u003e"],"usersGroups":["\u003cstring\u003e","\u003cstring\u003e"]},"srcType":"UNMANAGED","srcSubType":"EXTERNAL","srcId":"\u003cstring\u003e","src":{"ids":[["\u003cstring\u003e"],["\u003cstring\u003e"]]},"dstType":"COMPOUND","dstSubType":"EXTERNAL","dstId":"\u003cstring\u003e","dst":{"ids":[["\u003cstring\u003e"],["\u003cstring\u003e"]]},"dstAddressType":"WHITELISTED","authorizers":["\u003cstring\u003e","\u003cstring\u003e"],"authorizersCount":"\u003cnumber\u003e","authorizationGroups":{"logic":"OR","allowOperatorAsAuthorizer":"\u003cboolean\u003e","groups":[{"users":["\u003cstring\u003e","\u003cstring\u003e"],"usersGroups":["\u003cstring\u003e","\u003cstring\u003e"],"th":"\u003cnumber\u003e"},{"users":["\u003cstring\u003e","\u003cstring\u003e"],"usersGroups":["\u003cstring\u003e","\u003cstring\u003e"],"th":"\u003cnumber\u003e"}]},"amountAggregation":{"operators":"ACROSS_ALL_MATCHES","srcTransferPeers":"ACROSS_ALL_MATCHES","dstTransferPeers":"ACROSS_ALL_MATCHES"},"rawMessageSigning":{"algorithm":"\u003cstring\u003e","derivationPath":{"path":["\u003cnumber\u003e","\u003cnumber\u003e"]}},"applyForApprove":"\u003cboolean\u003e","applyForTypedMessage":"\u003cboolean\u003e","externalDescriptor":"\u003cstring\u003e"}],"metadata":{"editedBy":"\u003cstring\u003e","editedAt":"\u003cstring\u003e","publishedBy":"\u003cstring\u003e","publishedAt":"\u003cstring\u003e"}},"validation":{"status":"\u003cstring\u003e","checkResult":{"errors":"\u003cnumber\u003e","results":[{"index":"\u003cnumber\u003e","status":"failure","errors":[{"errorMessage":"\u003cstring\u003e","errorCode":"\u003cnumber\u003e","errorCodeName":"\u003cstring\u003e","errorField":"dst"},{"errorMessage":"\u003cstring\u003e","errorCode":"\u003cnumber\u003e","errorCodeName":"\u003cstring\u003e","errorField":"operators"}]},{"index":"\u003cnumber\u003e","status":"ok","errors":[{"errorMessage":"\u003cstring\u003e","errorCode":"\u003cnumber\u003e","errorCodeName":"\u003cstring\u003e","errorField":"src"},{"errorMessage":"\u003cstring\u003e","errorCode":"\u003cnumber\u003e","errorCodeName":"\u003cstring\u003e","errorField":"operators"}]}]}}}