Get the active draft

GET {{baseUrl}}/tap/draft

Returns the active draft 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

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"draftResponse":{"draftId":"\u003cstring\u003e","status":"\u003cstring\u003e","rules":[{"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":"SUPPLY","designatedSigner":"\u003cstring\u003e","designatedSigners":{"users":["\u003cstring\u003e","\u003cstring\u003e"],"usersGroups":["\u003cstring\u003e","\u003cstring\u003e"]},"srcType":"FIAT_ACCOUNT","srcSubType":"EXTERNAL","srcId":"\u003cstring\u003e","src":{"ids":[["\u003cstring\u003e"],["\u003cstring\u003e"]]},"dstType":"UNMANAGED","dstSubType":"INTERNAL","dstId":"\u003cstring\u003e","dst":{"ids":[["\u003cstring\u003e"],["\u003cstring\u003e"]]},"dstAddressType":"ONE_TIME","authorizers":["\u003cstring\u003e","\u003cstring\u003e"],"authorizersCount":"\u003cnumber\u003e","authorizationGroups":{"logic":"AND","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":"PER_SINGLE_MATCH","srcTransferPeers":"ACROSS_ALL_MATCHES","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":"ALLOW","asset":"\u003cstring\u003e","amountCurrency":"NATIVE","amountScope":"TIMEFRAME","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":"NETWORK_CONNECTION","srcSubType":"CONTRACT","srcId":"\u003cstring\u003e","src":{"ids":[["\u003cstring\u003e"],["\u003cstring\u003e"]]},"dstType":"FIAT_ACCOUNT","dstSubType":"INTERNAL","dstId":"\u003cstring\u003e","dst":{"ids":[["\u003cstring\u003e"],["\u003cstring\u003e"]]},"dstAddressType":"*","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":"PER_SINGLE_MATCH","srcTransferPeers":"ACROSS_ALL_MATCHES","dstTransferPeers":"PER_SINGLE_MATCH"},"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":"designatedSigners"},{"errorMessage":"\u003cstring\u003e","errorCode":"\u003cnumber\u003e","errorCodeName":"\u003cstring\u003e","errorField":"operator"}]},{"index":"\u003cnumber\u003e","status":"ok","errors":[{"errorMessage":"\u003cstring\u003e","errorCode":"\u003cnumber\u003e","errorCodeName":"\u003cstring\u003e","errorField":"designatedSigners"},{"errorMessage":"\u003cstring\u003e","errorCode":"\u003cnumber\u003e","errorCodeName":"\u003cstring\u003e","errorField":"amountAggregation"}]}]}}}