{"openapi":"3.1.0","info":{"title":"revault-api","description":"Revault REST API","version":"1.98.0"},"servers":[{"url":"/rest"}],"paths":{"/auth/token":{"post":{"operationId":"auth-authenticate","summary":"Authenticate","description":"Exchange API Key credentials for JWT tokens","tags":["auth"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"workspace":{"type":"string","minLength":1,"maxLength":20,"pattern":"^[a-z0-9]+$","description":"Target workspace"},"apiKeyId":{"type":"string","description":"API Key id"},"apiKeySecret":{"type":"string","description":"API Key secret"}},"required":["workspace","apiKeyId","apiKeySecret"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"accessToken":{"type":"string","description":"JSON Web Token used to authenticate requests"},"expiresInSeconds":{"type":"number","description":"JWT validity period (in seconds)"},"refreshToken":{"type":"string","description":"Refresh token used to obtain new JWT"},"refreshExpiresInSeconds":{"type":"number","description":"Refresh token validity period (in seconds)"}},"required":["accessToken","expiresInSeconds","refreshToken","refreshExpiresInSeconds"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/auth/token/refresh":{"post":{"operationId":"auth-refreshToken","summary":"Refresh token","description":"Exchange refreshToken for JWT tokens","tags":["auth"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"workspace":{"type":"string","minLength":1,"maxLength":20,"pattern":"^[a-z0-9]+$","description":"Target workspace"},"refreshToken":{"type":"string","description":"Refresh token"}},"required":["workspace","refreshToken"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"accessToken":{"type":"string","description":"JSON Web Token used to authenticate requests"},"expiresInSeconds":{"type":"number","description":"JWT validity period (in seconds)"},"refreshToken":{"type":"string","description":"Refresh token used to obtain new JWT"},"refreshExpiresInSeconds":{"type":"number","description":"Refresh token validity period (in seconds)"}},"required":["accessToken","expiresInSeconds","refreshToken","refreshExpiresInSeconds"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/users":{"get":{"operationId":"users-list","summary":"List users","description":"List users in the same workspace. Administrators & operators with `legacyViewAll` set to `true` can see the full list, other users can only see themselves.","tags":["user"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"role","schema":{"type":"string","enum":["ADMIN","OPERATOR","READ_ONLY_API_KEY"],"description":"User role"}},{"in":"query","name":"deviceType","schema":{"type":"string","enum":["PSD","SOFT_PSD","API"],"description":"User's device type"}},{"in":"query","name":"status","schema":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"User status"}},{"in":"query","name":"search","schema":{"type":"string","description":"Search by user name substring, exact internal ID, PSD device ID, or API-user public key"}},{"in":"query","name":"sortBy","schema":{"default":"createdAt","description":"Sort by attribute","type":"string","enum":["name","role","status","createdAt","updatedAt"]}},{"in":"query","name":"sortOrder","schema":{"default":"asc","description":"Sort order","type":"string","enum":["asc","desc"]}},{"in":"query","name":"ids","schema":{"type":"array","items":{"type":"string"},"description":"List of user IDs to filter by"}},{"in":"query","name":"portfolioIds","schema":{"type":"array","items":{"type":"string"},"description":"Filter users by portfolio membership"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/UserResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/users/{id}":{"get":{"operationId":"users-findById","summary":"Get a single user","description":"Find a user by its ID. Use `me` to fetch current user. Operators can only see themselves (unless they have `legacyViewAll` set to `true`), fetching other users will yield Not Found error.","tags":["user"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target user"},"required":true,"description":"Id of the target user"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/users/{id}/quorum-accounts":{"get":{"operationId":"users-quorumAccounts","summary":"List a user's quorum accounts","description":"List every account this user can help approve, directly or through group membership, paginated the same way as `GET /accounts`. Each result carries every `sources` entry that makes it match: direct participation and/or the group(s) granting access. Tradelink accounts are excluded: an asset-manager review config isn't a policy-based quorum.","tags":["user","account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target user"},"required":true,"description":"Id of the target user"},{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"support","schema":{"type":"string","enum":["standalone","legacy"],"description":"Filter accounts by support"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/QuorumAccountEntryResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/users/{id}/reset-api-credentials":{"post":{"operationId":"users-resetApiUserCredentials","summary":"Reset API user credentials","description":"Reset the API user credentials. This will invalidate all existing API keys and generate a new one.","tags":["user"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target user"},"required":true,"description":"Id of the target user"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"apiKeyId":{"type":"string","description":"API key ID"},"apiKeySecret":{"type":"string","description":"API key secret"}},"required":["apiKeyId","apiKeySecret"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/permissions/allowed-actions":{"get":{"operationId":"permissions-getAllowedActions","summary":"Get allowed actions","description":"Return actions allowed to the user on one or more resources.","tags":["user"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"userId","schema":{"default":"me","description":"Id of the target user or `me` for the current user","type":"string"}},{"in":"query","name":"resourceType","schema":{"type":"string","enum":["Account","Entity","Group","Policy","Whitelist","TradelinkCustodian","TradelinkEntity","TradelinkPledge","User","UserRegistration","Workspace","WorkspaceRule"]}},{"in":"query","name":"resourceId","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID"},"allowedActions":{"type":"array","items":{"type":"string","enum":["READ","EDIT","SEND","STAKE","DEPLOY_CONTRACT","EXECUTE_CONTRACT","ACTIVATE_TOKEN","RECEIVE","SIGN_MESSAGE","SIGN_DIGESTS","TRADELINK_PLEDGE","TRADELINK_REPLEDGE","TRADELINK_FORCE_UNPLEDGE","TRADELINK_SETTLE","TRADELINK_WITHDRAW","TRADELINK_ARBITRATE","CREATE_ACCOUNT_WITH_POLICY"]},"description":"Allowed actions on resource"}},"required":["userId","allowedActions"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/permissions/resources":{"get":{"operationId":"permissions-findAllowedResources","summary":"Find allowed resources","description":"Return resources on which the user is allowed to perform the requested action.","tags":["user"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"userId","schema":{"default":"me","description":"Id of the target user or `me` for the current user","type":"string"}},{"in":"query","name":"resourceType","schema":{"type":"string","enum":["Account","Entity","Group","Policy","Whitelist","TradelinkCustodian","TradelinkEntity","TradelinkPledge","User","UserRegistration","Workspace","WorkspaceRule"]}},{"in":"query","name":"action","schema":{"type":"string","enum":["READ","EDIT","SEND","STAKE","DEPLOY_CONTRACT","EXECUTE_CONTRACT","ACTIVATE_TOKEN","RECEIVE","SIGN_MESSAGE","SIGN_DIGESTS","TRADELINK_PLEDGE","TRADELINK_REPLEDGE","TRADELINK_FORCE_UNPLEDGE","TRADELINK_SETTLE","TRADELINK_WITHDRAW","TRADELINK_ARBITRATE","CREATE_ACCOUNT_WITH_POLICY"],"description":"Allowed action on the resource"},"required":true,"description":"Allowed action on the resource"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID"},"action":{"type":"string","description":"The requested action"},"resources":{"type":"array","items":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Account","Entity","Group","Policy","Whitelist","TradelinkCustodian","TradelinkEntity","TradelinkPledge","User","UserRegistration","Workspace","WorkspaceRule"],"description":"Type of the resource"},"resourceId":{"type":"string","description":"ID of resource on which the action is allowed"}},"required":["resourceType","resourceId"],"additionalProperties":false}}},"required":["userId","action","resources"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts":{"get":{"operationId":"accounts-list","summary":"List accounts","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"status","schema":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Account status"}},{"in":"query","name":"name","schema":{"type":"string","description":"Deprecated: use `search` instead. Ignored when `search` is set. Search by matching account name","deprecated":true}},{"in":"query","name":"search","schema":{"type":"string","description":"Search by name substring or exact account ID"}},{"in":"query","name":"governanceType","schema":{"type":"string","enum":["CLASSIC","TRADELINK","RAW_SIGNING"],"description":"Account governance type"}},{"in":"query","name":"allowedAction","schema":{"type":"string","enum":["SEND","DEPLOY_CONTRACT","EXECUTE_CONTRACT","ACTIVATE_TOKEN","RECEIVE","STAKE","SIGN_MESSAGE","SIGN_DIGESTS"],"description":"Filter accounts by allowed action for current user"}},{"in":"query","name":"sortBy","schema":{"default":"createdAt","description":"Sort by attribute","type":"string","enum":["name","currency","index","createdAt","updatedAt"]}},{"in":"query","name":"sortOrder","schema":{"default":"asc","description":"Sort order","type":"string","enum":["asc","desc"]}},{"in":"query","name":"currency","schema":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Deprecated: use `assets` instead. Filter accounts by currencies","deprecated":true}},{"in":"query","name":"index","schema":{"type":"number","description":"Filter accounts by account index"}},{"in":"query","name":"address","schema":{"type":"string","description":"Filter accounts by address, case-insensitively"}},{"in":"query","name":"contractAddress","schema":{"anyOf":[{"type":"string","description":"Deprecated: use `assets` instead. Filter accounts by token contract address","deprecated":true},{"type":"null"}]}},{"in":"query","name":"support","schema":{"type":"string","enum":["standalone","legacy"],"description":"Filter accounts by support"}},{"in":"query","name":"type","schema":{"type":"string","enum":["BITCOIN_LIKE","CANTON_LIKE","CARDANO_LIKE","ETHEREUM_LIKE","GENERIC_LIKE","HEDERA_LIKE","POLKADOT_LIKE","RAW_SIGNING","RIPPLE_LIKE","SOLANA_LIKE","STELLAR_LIKE","SUI_LIKE","TEZOS_LIKE","TRON_LIKE"],"description":"Filter accounts by type"}},{"in":"query","name":"policyIds","schema":{"type":"array","items":{"type":"string"},"description":"Filter accounts by policies"}},{"in":"query","name":"whitelistIds","schema":{"type":"array","items":{"type":"string"},"description":"Filter accounts whose policy references any of these whitelists. Tradelink accounts are never matched: they are governed by an asset manager, not a policy."}},{"in":"query","name":"entityIds","schema":{"type":"array","items":{"type":"string"},"description":"Filter accounts by entities"}},{"in":"query","name":"portfolioIds","schema":{"type":"array","items":{"type":"string"},"description":"Filter accounts by portfolios"}},{"in":"query","name":"userIds","schema":{"type":"array","items":{"type":"string"},"description":"Filter accounts involving these users (direct or via group membership). ORed with groupIds."}},{"in":"query","name":"groupIds","schema":{"type":"array","items":{"type":"string"},"description":"Filter accounts involving these groups. ORed with userIds."}},{"in":"query","name":"assets","schema":{"type":"array","items":{"type":"object","properties":{"network":{"type":"string","description":"Filter accounts by network"},"contractAddress":{"description":"Filter accounts by token contract address","type":["string","null"]}},"required":["network"]}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"name":{"type":"string","description":"Account name"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"network":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Network identifier"},"contractAddress":{"description":"Token contract address for Token account","type":["string","null"]},"tokenIdentifier":{"description":"Token identifier for Token account","type":["string","null"]},"index":{"type":"number","minimum":0,"description":"BIP44 account index"},"derivationPath":{"type":"string","description":"Derivation path"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Status"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"asset":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"RAW_SIGNING","description":"Account type"}},"required":["type"],"additionalProperties":false,"description":"Raw signing account"},{"type":"object","properties":{"type":{"type":"string","const":"BITCOIN_LIKE","description":"Account type"},"xpub":{"type":"string","description":"xpub (extended public key)"},"addressDerivationMode":{"type":"string","enum":["NEW","STATIC"],"description":"Bitcoin address derivation mode"}},"required":["type","xpub","addressDerivationMode"],"additionalProperties":false,"description":"Bitcoin-like"},{"type":"object","properties":{"type":{"type":"string","const":"CANTON_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Canton-like"},{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Cardano-like"},{"type":"object","properties":{"type":{"type":"string","const":"ETHEREUM_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Ethereum-like"},{"type":"object","properties":{"type":{"type":"string","const":"GENERIC_LIKE","description":"Account type"}},"required":["type"],"additionalProperties":false,"description":"Generic-like"},{"type":"object","properties":{"type":{"type":"string","const":"HEDERA_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]},"isActivated":{"type":"boolean","description":"Indicates if the account is activated"}},"required":["type","address","isActivated"],"additionalProperties":false,"description":"Hedera-like"},{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Polkadot-like"},{"type":"object","properties":{"type":{"type":"string","const":"RIPPLE_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Ripple-like"},{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Solana-like"},{"type":"object","properties":{"type":{"type":"string","const":"STELLAR_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Stellar-like"},{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Sui-like"},{"type":"object","properties":{"type":{"type":"string","const":"TEZOS_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Tezos-like"},{"type":"object","properties":{"type":{"type":"string","const":"TRON_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Tron-like"}],"description":"Account asset fields","type":"object"},"governance":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"CLASSIC","description":"Classic account governance"},"policyId":{"type":"string","description":"Identifier of corresponding governance policy"}},"required":["type","policyId"],"additionalProperties":false,"description":"Classic"},{"type":"object","properties":{"type":{"type":"string","const":"RAW_SIGNING","description":"Raw signing account governance"},"policyId":{"type":"string","description":"Identifier of corresponding governance policy"}},"required":["type","policyId"],"additionalProperties":false,"description":"Raw Signing"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK","description":"Tradelink account governance"},"assetManagerId":{"type":"string","description":"Identifier of corresponding asset manager"},"exchangeConfigs":{"type":"array","items":{"type":"object","properties":{"exchangeId":{"type":"string","description":"Tradelink exchange id"},"repledgeAuthorized":{"type":"boolean","description":"Determines whether this exchange is authorized to repledge on this account"},"needsAssetManagerApprovalForSettlements":{"type":"boolean","description":"Determines whether asset manager will \"pre-approve\" the settlement requests on this account"}},"required":["exchangeId","repledgeAuthorized","needsAssetManagerApprovalForSettlements"],"additionalProperties":false},"description":"Tradelink exchange configurations"}},"required":["type","assetManagerId","exchangeConfigs"],"additionalProperties":false,"description":"Tradelink"}],"description":"Governance fields","type":"object"}},"required":["id","legacyId","name","currency","network","contractAddress","tokenIdentifier","index","derivationPath","status","createdAt","updatedAt","asset","governance"],"additionalProperties":false},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}":{"get":{"operationId":"accounts-findById","summary":"Get a single account","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"name":{"type":"string","description":"Account name"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"network":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Network identifier"},"contractAddress":{"description":"Token contract address for Token account","type":["string","null"]},"tokenIdentifier":{"description":"Token identifier for Token account","type":["string","null"]},"index":{"type":"number","minimum":0,"description":"BIP44 account index"},"derivationPath":{"type":"string","description":"Derivation path"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Status"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"asset":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"RAW_SIGNING","description":"Account type"}},"required":["type"],"additionalProperties":false,"description":"Raw signing account"},{"type":"object","properties":{"type":{"type":"string","const":"BITCOIN_LIKE","description":"Account type"},"xpub":{"type":"string","description":"xpub (extended public key)"},"addressDerivationMode":{"type":"string","enum":["NEW","STATIC"],"description":"Bitcoin address derivation mode"}},"required":["type","xpub","addressDerivationMode"],"additionalProperties":false,"description":"Bitcoin-like"},{"type":"object","properties":{"type":{"type":"string","const":"CANTON_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Canton-like"},{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Cardano-like"},{"type":"object","properties":{"type":{"type":"string","const":"ETHEREUM_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Ethereum-like"},{"type":"object","properties":{"type":{"type":"string","const":"GENERIC_LIKE","description":"Account type"}},"required":["type"],"additionalProperties":false,"description":"Generic-like"},{"type":"object","properties":{"type":{"type":"string","const":"HEDERA_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]},"isActivated":{"type":"boolean","description":"Indicates if the account is activated"}},"required":["type","address","isActivated"],"additionalProperties":false,"description":"Hedera-like"},{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Polkadot-like"},{"type":"object","properties":{"type":{"type":"string","const":"RIPPLE_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Ripple-like"},{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Solana-like"},{"type":"object","properties":{"type":{"type":"string","const":"STELLAR_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Stellar-like"},{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Sui-like"},{"type":"object","properties":{"type":{"type":"string","const":"TEZOS_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Tezos-like"},{"type":"object","properties":{"type":{"type":"string","const":"TRON_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Tron-like"}],"description":"Account asset fields","type":"object"},"governance":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"CLASSIC","description":"Classic account governance"},"policyId":{"type":"string","description":"Identifier of corresponding governance policy"}},"required":["type","policyId"],"additionalProperties":false,"description":"Classic"},{"type":"object","properties":{"type":{"type":"string","const":"RAW_SIGNING","description":"Raw signing account governance"},"policyId":{"type":"string","description":"Identifier of corresponding governance policy"}},"required":["type","policyId"],"additionalProperties":false,"description":"Raw Signing"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK","description":"Tradelink account governance"},"assetManagerId":{"type":"string","description":"Identifier of corresponding asset manager"},"exchangeConfigs":{"type":"array","items":{"type":"object","properties":{"exchangeId":{"type":"string","description":"Tradelink exchange id"},"repledgeAuthorized":{"type":"boolean","description":"Determines whether this exchange is authorized to repledge on this account"},"needsAssetManagerApprovalForSettlements":{"type":"boolean","description":"Determines whether asset manager will \"pre-approve\" the settlement requests on this account"}},"required":["exchangeId","repledgeAuthorized","needsAssetManagerApprovalForSettlements"],"additionalProperties":false},"description":"Tradelink exchange configurations"}},"required":["type","assetManagerId","exchangeConfigs"],"additionalProperties":false,"description":"Tradelink"}],"description":"Governance fields","type":"object"}},"required":["id","legacyId","name","currency","network","contractAddress","tokenIdentifier","index","derivationPath","status","createdAt","updatedAt","asset","governance"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/allowed-actions":{"get":{"operationId":"accounts-getAllowedActions","summary":"Get the allowed actions of an account","description":"Return all operation types the account is governed to perform, derived from its governance rules.","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"allowedActions":{"type":"array","items":{"type":"string","enum":["SEND","DEPLOY_CONTRACT","EXECUTE_CONTRACT","ACTIVATE_TOKEN","RECEIVE","STAKE","SIGN_MESSAGE","SIGN_DIGESTS"]},"description":"Operation types the account is governed to perform"}},"required":["allowedActions"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/pledges":{"get":{"operationId":"accounts-listAccountPledges","summary":"List account Tradelink pledges","tags":["account","tradelink"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"},{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/PledgeResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/utxos":{"get":{"operationId":"accounts-getAccountUtxos","summary":"List UTXOs of a Bitcoin account","description":"Return every UTXO the account holds, spendable or not. A UTXO a transaction would not spend carries the reason why in `excludedReason`: it is banned, or it holds less than the fees spending it costs. That bound moves with the fee rate, which the response states in `feesPerByte` and `spendCostPerInput`; pass `feeLevel` or `feesPerByte` to price it at the rate the transaction will use.","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"},{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"sortBy","schema":{"type":"string","enum":["value","height"]}},{"in":"query","name":"sortOrder","schema":{"default":"desc","description":"Sort order","type":"string","enum":["asc","desc"]}},{"in":"query","name":"minHeight","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"in":"query","name":"maxHeight","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"in":"query","name":"minValue","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"in":"query","name":"maxValue","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"in":"query","name":"spendable","schema":{"type":"boolean"}},{"in":"query","name":"feeLevel","schema":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},{"in":"query","name":"feesPerByte","schema":{"type":"integer","minimum":1,"maximum":9007199254740991}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"type":"object","properties":{"hash":{"type":"string","description":"Transaction hash of the UTXO"},"outputIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Output index within the transaction"},"address":{"type":"string","description":"Address holding the UTXO"},"amount":{"type":"string","description":"UTXO amount in satoshis"},"confirmations":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of block confirmations"},"height":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Block height of the UTXO"},"excludedReason":{"anyOf":[{"type":"string","enum":["UNECONOMIC","BANNED"],"description":"Why a transaction would not spend the UTXO: it holds less than the fees to spend it costs, or it is banned"},{"type":"null"}],"description":"Why a transaction would not spend this UTXO, or null if it may spend it"}},"required":["hash","outputIndex","address","amount","confirmations","height","excludedReason"],"additionalProperties":false,"description":"Bitcoin unspent transaction output"},"description":"Array of results"},"feesPerByte":{"type":"number","description":"Fee rate, in satoshis per virtual byte, the UTXOs were priced at"},"spendCostPerInput":{"type":"string","description":"Fees, in satoshis, spending one input costs at that rate. A UTXO worth less is UNECONOMIC"}},"required":["page","next","prev","pageSize","total","results","feesPerByte","spendCostPerInput"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/transactions":{"get":{"operationId":"accounts-listAccountTransactions","summary":"List account transactions","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"},{"in":"query","name":"cursor","schema":{"type":"string","description":"Optional cursor to get next pages (based on the `next` key on query response)"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"next":{"description":"Next page cursor","type":["string","null"]},"results":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["BITCOIN_LIKE_SEND","BITCOIN_LIKE_RECEIVE"],"description":"Bitcoin-like transaction type"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["CANTON_LIKE_SEND","CANTON_LIKE_SEND_TOKEN","CANTON_LIKE_WITHDRAW","CANTON_LIKE_RECEIVE","CANTON_LIKE_PRE_APPROVAL"],"description":"Canton-like transaction type"},"reason":{"description":"Optional reason attached to the onchain operation","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","reason","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["CARDANO_LIKE_SEND","CARDANO_LIKE_RECEIVE","CARDANO_LIKE_STAKING_REGISTER","CARDANO_LIKE_STAKING_DEREGISTER","CARDANO_LIKE_STAKING_DELEGATE","CARDANO_LIKE_STAKING_WITHDRAW"],"description":"Cardano-like transaction type"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["ETHEREUM_LIKE_SEND","ETHEREUM_LIKE_RECEIVE"],"description":"Ethereum-like transaction type"},"gasPrice":{"description":"Gas price in wei, null when the network does not report it","type":["string","null"]},"gasLimit":{"description":"Gas limit, null when the network does not report it","type":["string","null"]},"nonce":{"description":"Transaction nonce, null when the network does not report it","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","gasPrice","gasLimit","nonce","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["ETHEREUM_LIKE_EXECUTE_CONTRACT","ETHEREUM_LIKE_DEPLOY_CONTRACT"],"description":"Ethereum-like transaction type"},"gasPrice":{"description":"Gas price in wei, null when the network does not report it","type":["string","null"]},"gasLimit":{"description":"Gas limit, null when the network does not report it","type":["string","null"]},"nonce":{"description":"Transaction nonce, null when the network does not report it","type":["string","null"]},"contractData":{"type":"string","description":"Contract deployment or contract execution data"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","gasPrice","gasLimit","nonce","contractData","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_DEPOSIT"},"gasPrice":{"description":"Gas price in wei, null when the network does not report it","type":["string","null"]},"gasLimit":{"description":"Gas limit, null when the network does not report it","type":["string","null"]},"nonce":{"description":"Transaction nonce, null when the network does not report it","type":["string","null"]},"contractData":{"type":"string","description":"Contract deployment or contract execution data"},"validators":{"type":"array","items":{"type":"object","properties":{"validatorPubKey":{"description":"Validator public key","type":"string"},"stakingProvider":{"anyOf":[{"type":"string","minLength":1,"description":"Staking provider to use, as identified by the staking validators endpoint"},{"type":"null"}],"description":"Staking provider inferred from the validator public key, when known"},"withdrawalCredentials":{"description":"Validator withdrawal credentials","type":"string"},"withdrawalAddress":{"description":"Execution withdrawal address, when encoded by the credentials","type":["string","null"]},"signature":{"description":"BLS deposit signature","type":"string"},"depositDataRoot":{"description":"Beacon deposit data root","type":"string"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Validator deposit amount in wei"}},"required":["validatorPubKey","stakingProvider","withdrawalCredentials","withdrawalAddress","signature","depositDataRoot","amount"],"additionalProperties":false}},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","gasPrice","gasLimit","nonce","contractData","validators","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_TOP_UP"},"gasPrice":{"description":"Gas price in wei, null when the network does not report it","type":["string","null"]},"gasLimit":{"description":"Gas limit, null when the network does not report it","type":["string","null"]},"nonce":{"description":"Transaction nonce, null when the network does not report it","type":["string","null"]},"contractData":{"type":"string","description":"Contract deployment or contract execution data"},"validators":{"type":"array","items":{"type":"object","properties":{"validatorPubKey":{"description":"Validator public key","type":"string"},"stakingProvider":{"anyOf":[{"type":"string","minLength":1,"description":"Staking provider to use, as identified by the staking validators endpoint"},{"type":"null"}],"description":"Staking provider inferred from the validator public key, when known"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Validator top-up amount in wei"}},"required":["validatorPubKey","stakingProvider","amount"],"additionalProperties":false}},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","gasPrice","gasLimit","nonce","contractData","validators","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_WITHDRAW"},"gasPrice":{"description":"Gas price in wei, null when the network does not report it","type":["string","null"]},"gasLimit":{"description":"Gas limit, null when the network does not report it","type":["string","null"]},"nonce":{"description":"Transaction nonce, null when the network does not report it","type":["string","null"]},"contractData":{"type":"string","description":"Contract deployment or contract execution data"},"validatorPubKey":{"description":"Validator public key","type":"string"},"stakingProvider":{"anyOf":[{"type":"string","minLength":1,"description":"Staking provider to use, as identified by the staking validators endpoint"},{"type":"null"}],"description":"Staking provider inferred from the validator public key, when known"},"withdrawalAmount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Requested withdrawal amount in wei"},"isFullExit":{"type":"boolean","description":"Whether the zero amount requests a full exit"},"executionFee":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"EIP-7002 request fee in wei"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","gasPrice","gasLimit","nonce","contractData","validatorPubKey","stakingProvider","withdrawalAmount","isFullExit","executionFee","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_CONSOLIDATE"},"gasPrice":{"description":"Gas price in wei, null when the network does not report it","type":["string","null"]},"gasLimit":{"description":"Gas limit, null when the network does not report it","type":["string","null"]},"nonce":{"description":"Transaction nonce, null when the network does not report it","type":["string","null"]},"contractData":{"type":"string","description":"Contract deployment or contract execution data"},"sourcePubKey":{"description":"Source validator public key","type":"string"},"sourceStakingProvider":{"anyOf":[{"type":"string","minLength":1,"description":"Staking provider to use, as identified by the staking validators endpoint"},{"type":"null"}],"description":"Staking provider inferred from the source validator public key, when known"},"targetPubKey":{"description":"Target validator public key","type":"string"},"targetStakingProvider":{"anyOf":[{"type":"string","minLength":1,"description":"Staking provider to use, as identified by the staking validators endpoint"},{"type":"null"}],"description":"Staking provider inferred from the target validator public key, when known"},"executionFee":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"EIP-7251 request fee in wei"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","gasPrice","gasLimit","nonce","contractData","sourcePubKey","sourceStakingProvider","targetPubKey","targetStakingProvider","executionFee","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_UPGRADE"},"gasPrice":{"description":"Gas price in wei, null when the network does not report it","type":["string","null"]},"gasLimit":{"description":"Gas limit, null when the network does not report it","type":["string","null"]},"nonce":{"description":"Transaction nonce, null when the network does not report it","type":["string","null"]},"contractData":{"type":"string","description":"Contract deployment or contract execution data"},"validatorPubKey":{"description":"Validator public key","type":"string"},"stakingProvider":{"anyOf":[{"type":"string","minLength":1,"description":"Staking provider to use, as identified by the staking validators endpoint"},{"type":"null"}],"description":"Staking provider inferred from the validator public key, when known"},"executionFee":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"EIP-7251 request fee in wei"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","gasPrice","gasLimit","nonce","contractData","validatorPubKey","stakingProvider","executionFee","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["GENERIC_TRANSACTION"],"description":"Generic transaction type"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["HEDERA_LIKE_SEND","HEDERA_LIKE_RECEIVE","HEDERA_LIKE_SEND_TOKEN","HEDERA_LIKE_RECEIVE_TOKEN","HEDERA_LIKE_STAKE","HEDERA_LIKE_UNSTAKE"],"description":"Hedera-like transaction type"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["POLKADOT_LIKE_SEND","POLKADOT_LIKE_RECEIVE","POLKADOT_LIKE_ADDPROXY","POLKADOT_LIKE_REMOVEPROXY","POLKADOT_LIKE_BOND","POLKADOT_LIKE_REBOND","POLKADOT_LIKE_BONDEXTRA","POLKADOT_LIKE_UNBOND","POLKADOT_LIKE_WITHDRAWUNBONDED","POLKADOT_LIKE_SETCONTROLLER","POLKADOT_LIKE_SETPAYEE","POLKADOT_LIKE_PROXY","POLKADOT_LIKE_ANONYMOUSPROXY","POLKADOT_LIKE_KILLANONYMOUS","POLKADOT_LIKE_PUREPROXY","POLKADOT_LIKE_KILLPURE","POLKADOT_LIKE_NOMINATE","POLKADOT_LIKE_REWARD","POLKADOT_LIKE_CHILL","POLKADOT_LIKE_TRANSFERALL"],"description":"Polkadot-like transaction type"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["RIPPLE_LIKE_SEND","RIPPLE_LIKE_RECEIVE"],"description":"Ripple-like transaction type"},"memos":{"type":"array","items":{"type":"string"}},"destinationTag":{"type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","memos","destinationTag","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["SOLANA_LIKE_SEND","SOLANA_LIKE_RECEIVE","SOLANA_LIKE_CREATE_DELEGATE_STAKE","SOLANA_LIKE_DELEGATE_STAKE","SOLANA_LIKE_WITHDRAW_STAKE","SOLANA_LIKE_DEACTIVATE_STAKE","SOLANA_LIKE_SPLIT_STAKE","SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE","SOLANA_LIKE_MERGE_STAKE","SOLANA_LIKE_SEND_TOKEN","SOLANA_LIKE_FUND_AND_SEND_TOKEN","SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT"],"description":"Solana-like transaction type"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["STELLAR_LIKE_SEND","STELLAR_LIKE_RECEIVE"],"description":"Stellar-like transaction type"},"memo":{"anyOf":[{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"MEMO_TEXT"},"value":{"type":"string","maxLength":28,"description":"Text memo (at most 28 bytes)"}},"required":["type","value"],"additionalProperties":false,"description":"Text memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_ID"},"value":{"type":"string","minLength":1,"maxLength":20,"pattern":"^([1-9]\\d*|0)$","description":"Id memo (unsigned 64 bits integer)"}},"required":["type","value"],"additionalProperties":false,"description":"Id memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_HASH"},"value":{"type":"string","pattern":"^[a-fA-F0-9]{64}$","description":"Transaction hash memo (32 bytes, encoded as 64 hex chars)"}},"required":["type","value"],"additionalProperties":false,"description":"Hash memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_RETURN"},"value":{"type":"string","pattern":"^[a-fA-F0-9]{64}$","description":"Hash of the transaction the sender is refunding (32 bytes, encoded as 64 hex chars)."}},"required":["type","value"],"additionalProperties":false,"description":"Return memo"}],"type":"object"},{"type":"null"}],"description":"Stellar memo"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","memo","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["SUI_LIKE_SEND","SUI_LIKE_RECEIVE","SUI_LIKE_SEND_TOKEN","SUI_LIKE_RECEIVE_TOKEN","SUI_LIKE_STAKE","SUI_LIKE_UNSTAKE"],"description":"Sui-like transaction type"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["TEZOS_LIKE_SEND","TEZOS_LIKE_RECEIVE","TEZOS_LIKE_REVEAL","TEZOS_LIKE_DELEGATE","TEZOS_LIKE_UNDELEGATE"],"description":"Tezos-like transaction type"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","note","requestId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"hash":{"type":"string","description":"Transaction hash"},"block":{"type":"object","properties":{"height":{"description":"Transaction block height","type":["string","null"]},"time":{"description":"Transaction block time","type":["string","null"]}},"required":["height","time"],"additionalProperties":false},"status":{"type":"string","enum":["SUCCESSFUL","FAILED","PENDING","UNKNOWN"],"description":"Transaction status"},"confirmations":{"type":"string","description":"Block confirmations"},"amount":{"type":"string","description":"Transaction amount"},"fee":{"type":"string","description":"Transaction fee"},"senders":{"type":"array","items":{"type":"string"},"description":"Senders (can be multiple for UTXOs-based accounts)"},"recipients":{"type":"array","items":{"type":"string"},"description":"Recipients (can be multiple for multi-output transactions)"},"type":{"type":"string","enum":["TRON_LIKE_SEND","TRON_LIKE_RECEIVE","TRON_LIKE_SEND_TOKEN","TRON_LIKE_RECEIVE_TOKEN"],"description":"Tron-like transaction type"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional transaction note"},"requestId":{"description":"Request ID associated with the transaction, if available","type":["string","null"]}},"required":["id","hash","block","status","confirmations","amount","fee","senders","recipients","type","note","requestId"],"additionalProperties":false}],"type":"object"},"description":"Array of results"}},"required":["next","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/estimate-fees":{"post":{"operationId":"accounts-estimateFees","summary":"Estimate transaction fees","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendData"},{"$ref":"#/components/schemas/CantonLikeSendData"},{"$ref":"#/components/schemas/CantonLikeSendTokenData"},{"$ref":"#/components/schemas/CantonLikeWithdrawData"},{"$ref":"#/components/schemas/CantonLikeReceiveData"},{"$ref":"#/components/schemas/CantonLikePreApprovalData"},{"$ref":"#/components/schemas/CardanoSendData"},{"$ref":"#/components/schemas/CardanoStakingDelegateData"},{"$ref":"#/components/schemas/CardanoStakingDeregisterData"},{"$ref":"#/components/schemas/CardanoStakingRegisterData"},{"$ref":"#/components/schemas/CardanoStakingWithdrawData"},{"$ref":"#/components/schemas/EthereumLikeDeployContractData"},{"$ref":"#/components/schemas/EthereumLikeExecuteContractData"},{"$ref":"#/components/schemas/EthereumLikeSendData"},{"$ref":"#/components/schemas/EthereumLikeStakingDepositData"},{"$ref":"#/components/schemas/EthereumLikeStakingTopUpData"},{"$ref":"#/components/schemas/EthereumLikeStakingWithdrawData"},{"$ref":"#/components/schemas/EthereumLikeStakingConsolidateData"},{"$ref":"#/components/schemas/EthereumLikeStakingUpgradeData"},{"$ref":"#/components/schemas/GenericTransactionData"},{"$ref":"#/components/schemas/HederaLikeSendData"},{"$ref":"#/components/schemas/HederaLikeSendTokenData"},{"$ref":"#/components/schemas/HederaLikeStakeData"},{"$ref":"#/components/schemas/PolkadotLikeAddProxyData"},{"$ref":"#/components/schemas/PolkadotLikeAnonymousProxyData"},{"$ref":"#/components/schemas/PolkadotLikeBondData"},{"$ref":"#/components/schemas/PolkadotLikeBondExtraData"},{"$ref":"#/components/schemas/PolkadotLikeChillData"},{"$ref":"#/components/schemas/PolkadotLikeKillAnonymousData"},{"$ref":"#/components/schemas/PolkadotLikeRebondData"},{"$ref":"#/components/schemas/PolkadotLikeRemoveProxyData"},{"$ref":"#/components/schemas/PolkadotLikeSendData"},{"$ref":"#/components/schemas/PolkadotLikeSetPayeeData"},{"$ref":"#/components/schemas/PolkadotLikeUnbondData"},{"$ref":"#/components/schemas/PolkadotLikeWithdrawUnbondedData"},{"$ref":"#/components/schemas/RippleLikeSendData"},{"$ref":"#/components/schemas/SolanaLikeCreateDelegateStakeData"},{"$ref":"#/components/schemas/SolanaLikeDeactivateStakeData"},{"$ref":"#/components/schemas/SolanaLikeDelegateStakeData"},{"$ref":"#/components/schemas/SolanaLikeMergeStakeData"},{"$ref":"#/components/schemas/SolanaLikeSendData"},{"$ref":"#/components/schemas/SolanaLikeSplitDeactivateStakeData"},{"$ref":"#/components/schemas/SolanaLikeSplitStakeData"},{"$ref":"#/components/schemas/SolanaLikeWithdrawStakeData"},{"$ref":"#/components/schemas/SolanaLikeSendTokenData"},{"$ref":"#/components/schemas/SolanaLikeFundAndSendTokenData"},{"$ref":"#/components/schemas/SolanaLikeCreateTokenAccountData"},{"$ref":"#/components/schemas/StellarLikeSendData"},{"$ref":"#/components/schemas/SuiLikeSendData"},{"$ref":"#/components/schemas/SuiLikeTransferTokenData"},{"$ref":"#/components/schemas/SuiLikeStakeData"},{"$ref":"#/components/schemas/SuiLikeUnstakeData"},{"$ref":"#/components/schemas/TezosLikeSendData"},{"$ref":"#/components/schemas/TezosLikeDelegateData"},{"$ref":"#/components/schemas/TezosLikeUndelegateData"},{"$ref":"#/components/schemas/TronLikeSendData"},{"$ref":"#/components/schemas/TronLikeSendTokenData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendData","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendData","CANTON_LIKE_SEND_TOKEN":"#/components/schemas/CantonLikeSendTokenData","CANTON_LIKE_WITHDRAW":"#/components/schemas/CantonLikeWithdrawData","CANTON_LIKE_RECEIVE":"#/components/schemas/CantonLikeReceiveData","CANTON_LIKE_PRE_APPROVAL":"#/components/schemas/CantonLikePreApprovalData","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendData","CARDANO_LIKE_STAKING_DELEGATE":"#/components/schemas/CardanoStakingDelegateData","CARDANO_LIKE_STAKING_DEREGISTER":"#/components/schemas/CardanoStakingDeregisterData","CARDANO_LIKE_STAKING_REGISTER":"#/components/schemas/CardanoStakingRegisterData","CARDANO_LIKE_STAKING_WITHDRAW":"#/components/schemas/CardanoStakingWithdrawData","ETHEREUM_LIKE_DEPLOY_CONTRACT":"#/components/schemas/EthereumLikeDeployContractData","ETHEREUM_LIKE_EXECUTE_CONTRACT":"#/components/schemas/EthereumLikeExecuteContractData","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendData","ETHEREUM_LIKE_STAKE_DEPOSIT":"#/components/schemas/EthereumLikeStakingDepositData","ETHEREUM_LIKE_STAKE_TOP_UP":"#/components/schemas/EthereumLikeStakingTopUpData","ETHEREUM_LIKE_STAKE_WITHDRAW":"#/components/schemas/EthereumLikeStakingWithdrawData","ETHEREUM_LIKE_STAKE_CONSOLIDATE":"#/components/schemas/EthereumLikeStakingConsolidateData","ETHEREUM_LIKE_STAKE_UPGRADE":"#/components/schemas/EthereumLikeStakingUpgradeData","GENERIC_TRANSACTION":"#/components/schemas/GenericTransactionData","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendData","HEDERA_LIKE_SEND_TOKEN":"#/components/schemas/HederaLikeSendTokenData","HEDERA_LIKE_STAKE":"#/components/schemas/HederaLikeStakeData","POLKADOT_LIKE_ADDPROXY":"#/components/schemas/PolkadotLikeAddProxyData","POLKADOT_LIKE_ANONYMOUSPROXY":"#/components/schemas/PolkadotLikeAnonymousProxyData","POLKADOT_LIKE_BOND":"#/components/schemas/PolkadotLikeBondData","POLKADOT_LIKE_BONDEXTRA":"#/components/schemas/PolkadotLikeBondExtraData","POLKADOT_LIKE_CHILL":"#/components/schemas/PolkadotLikeChillData","POLKADOT_LIKE_KILLANONYMOUS":"#/components/schemas/PolkadotLikeKillAnonymousData","POLKADOT_LIKE_REBOND":"#/components/schemas/PolkadotLikeRebondData","POLKADOT_LIKE_REMOVEPROXY":"#/components/schemas/PolkadotLikeRemoveProxyData","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendData","POLKADOT_LIKE_SETPAYEE":"#/components/schemas/PolkadotLikeSetPayeeData","POLKADOT_LIKE_UNBOND":"#/components/schemas/PolkadotLikeUnbondData","POLKADOT_LIKE_WITHDRAWUNBONDED":"#/components/schemas/PolkadotLikeWithdrawUnbondedData","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendData","SOLANA_LIKE_CREATE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeCreateDelegateStakeData","SOLANA_LIKE_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeDeactivateStakeData","SOLANA_LIKE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeDelegateStakeData","SOLANA_LIKE_MERGE_STAKE":"#/components/schemas/SolanaLikeMergeStakeData","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendData","SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeSplitDeactivateStakeData","SOLANA_LIKE_SPLIT_STAKE":"#/components/schemas/SolanaLikeSplitStakeData","SOLANA_LIKE_WITHDRAW_STAKE":"#/components/schemas/SolanaLikeWithdrawStakeData","SOLANA_LIKE_SEND_TOKEN":"#/components/schemas/SolanaLikeSendTokenData","SOLANA_LIKE_FUND_AND_SEND_TOKEN":"#/components/schemas/SolanaLikeFundAndSendTokenData","SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT":"#/components/schemas/SolanaLikeCreateTokenAccountData","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendData","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendData","SUI_LIKE_SEND_TOKEN":"#/components/schemas/SuiLikeTransferTokenData","SUI_LIKE_STAKE":"#/components/schemas/SuiLikeStakeData","SUI_LIKE_UNSTAKE":"#/components/schemas/SuiLikeUnstakeData","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendData","TEZOS_LIKE_DELEGATE":"#/components/schemas/TezosLikeDelegateData","TEZOS_LIKE_UNDELEGATE":"#/components/schemas/TezosLikeUndelegateData","TRON_LIKE_SEND":"#/components/schemas/TronLikeSendData","TRON_LIKE_SEND_TOKEN":"#/components/schemas/TronLikeSendTokenData"}}}},"required":["transaction"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"BITCOIN_LIKE"},"fee":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"}},"required":["type","fee"],"additionalProperties":false,"description":"Bitcoin-like fees"},{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE"},"fee":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Estimated fee"},"maxFee":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Fee to approve as the transaction max fee: the estimated fee with a margin, none for a send max"},"amount":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"What the recipient receives. For a send max, the amount to approve"},"deposit":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Stake key deposit paid or refunded, null for a send"},"limits":{"anyOf":[{"type":"object","properties":{"spendable":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"ADA-only confirmed UTXOs of the account: what a send max spends"},"minAmount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Minimum amount the recipient address can receive (its minimum UTxO value)"},"minChange":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Minimum value of the change output (its minimum UTxO value)"},"maxNonSweepAmount":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Largest amount that leaves a valid change, null when there is none"},"sweepAmount":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Amount of a send max, null when it does not reach the minimum amount"},"sweepFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Fee of a send max, null when the balance is too low to compute it"}},"required":["spendable","minAmount","minChange","maxNonSweepAmount","sweepAmount","sweepFee"],"additionalProperties":false,"description":"Amounts a send can use: from minAmount to maxNonSweepAmount, or exactly sweepAmount with sendMax. An amount in between would leave a change below minChange."},{"type":"null"}],"description":"Amounts a send can use, null for a staking transaction"}},"required":["type","fee","maxFee","amount","deposit","limits"],"additionalProperties":false,"description":"Cardano-like fees"},{"type":"object","properties":{"type":{"type":"string","const":"ETHEREUM_LIKE"},"baseFees":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"},"gasLimit":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"},"nonce":{"type":"string"},"priorityFees":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"},"executionFees":{"anyOf":[{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"},{"type":"null"}]},"maxExecutionFees":{"anyOf":[{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"},{"type":"null"}]}},"required":["type","baseFees","gasLimit","nonce","priorityFees"],"additionalProperties":false,"description":"Ethereum-like fees"},{"type":"object","properties":{"type":{"type":"string","const":"HEDERA_LIKE"},"fee":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"}},"required":["type","fee"],"additionalProperties":false,"description":"Hedera-like fees"},{"type":"object","properties":{"type":{"type":"string","const":"RIPPLE_LIKE"},"fee":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"}},"required":["type","fee"],"additionalProperties":false,"description":"Ripple-like fees"},{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE"},"totalFee":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Total fee (base + priority)"},"baseFee":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Base fee"},"priorityFee":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Priority fee"}},"required":["type","totalFee","baseFee","priorityFee"],"additionalProperties":false,"description":"Solana-like fees"},{"type":"object","properties":{"type":{"type":"string","const":"STELLAR_LIKE"},"fee":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"}},"required":["type","fee"],"additionalProperties":false,"description":"Stellar-like fees"},{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE"},"fee":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"}},"required":["type","fee"],"additionalProperties":false,"description":"Sui-like fees"},{"type":"object","properties":{"type":{"type":"string","const":"TEZOS_LIKE"},"fee":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"}},"required":["type","fee"],"additionalProperties":false,"description":"Tezos-like fees"},{"type":"object","properties":{"type":{"type":"string","const":"TRON_LIKE"},"fee":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"}},"required":["type","fee"],"additionalProperties":false,"description":"Tron-like fees"}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/addresses/{index}":{"get":{"operationId":"accounts-getUtxoAccountAddressChallengeForApi","summary":"Securely get a verified address for an UTXO based account","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"},{"in":"path","name":"index","schema":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Index of the address to retrieve"},"required":true,"description":"Index of the address to retrieve"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"string","description":"JWT signed by the HSM, and containing the account address"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/address":{"get":{"operationId":"accounts-getEoaAccountAddressChallengeForApi","summary":"Securely get a verified address for an EOA account","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"string","description":"JWT signed by the HSM, and containing the account address"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/balance":{"get":{"operationId":"accounts-getAccountBalance","summary":"Get balance of a single account","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountLiveDataResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/parent-account-info":{"get":{"operationId":"accounts-getParentAccountInfo","summary":"Get parent account info or own account info if there is no parent","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/AccountLiveDataResponse"},{"type":"object","properties":{"name":{"type":"string","description":"Account name"},"network":{"type":"string","description":"Account network"}},"required":["name","network"],"additionalProperties":false}]}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/batch/balances":{"get":{"operationId":"accounts-getAccountBalances","summary":"Get balances of multiple accounts","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"ids","schema":{"maxItems":30,"type":"array","items":{"type":"string"},"description":"Ids of the target accounts, maximum 30"},"required":true,"description":"Ids of the target accounts, maximum 30"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountLiveDataResponse"}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/fresh-address":{"get":{"operationId":"accounts-getFreshAddress","summary":"Get a fresh address of an account","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"INDEXED_UTXO","description":"Returned address includes a receive-address index"},"address":{"type":"string","description":"Receive address for the account"},"derivationPath":{"type":"string","description":"Full derivation path of the returned address, including receive branch 0 and addressIndex"},"addressIndex":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Non-hardened address index on receive branch 0"},"indexedSelectionCapability":{"oneOf":[{"type":"object","properties":{"supported":{"type":"boolean","const":false,"description":"Whether a monitored receive address can be selected by index for this account"}},"required":["supported"],"additionalProperties":false},{"type":"object","properties":{"supported":{"type":"boolean","const":true,"description":"Whether a monitored receive address can be selected by index for this account"},"maxAddressIndex":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Largest monitored receive-address index that can be selected for this account, inclusive"}},"required":["supported","maxAddressIndex"],"additionalProperties":false}],"description":"Indexed receive-address selection available for this account","type":"object"}},"required":["kind","address","derivationPath","addressIndex","indexedSelectionCapability"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"NON_INDEXED","description":"Returned address does not include a receive-address index"},"address":{"type":"string","description":"Receive address for the account"},"derivationPath":{"description":"Derivation path of the returned address, or null when the account does not expose one","type":["string","null"]},"indexedSelectionCapability":{"oneOf":[{"type":"object","properties":{"supported":{"type":"boolean","const":false,"description":"Whether a monitored receive address can be selected by index for this account"}},"required":["supported"],"additionalProperties":false},{"type":"object","properties":{"supported":{"type":"boolean","const":true,"description":"Whether a monitored receive address can be selected by index for this account"},"maxAddressIndex":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Largest monitored receive-address index that can be selected for this account, inclusive"}},"required":["supported","maxAddressIndex"],"additionalProperties":false}],"description":"Indexed receive-address selection available for this account","type":"object"}},"required":["kind","address","derivationPath","indexedSelectionCapability"],"additionalProperties":false}],"type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/receive-addresses/{addressIndex}":{"get":{"operationId":"accounts-getIndexedReceiveAddress","summary":"Get a receive address by index for a UTXO-based account","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"ID of the target account"},"required":true,"description":"ID of the target account"},{"in":"path","name":"addressIndex","schema":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Non-hardened address index on receive branch 0"},"required":true,"description":"Non-hardened address index on receive branch 0"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","const":"INDEXED_UTXO","description":"Returned address includes a receive-address index"},"address":{"type":"string","description":"Receive address for the account"},"derivationPath":{"type":"string","description":"Full derivation path of the returned address, including receive branch 0 and addressIndex"},"addressIndex":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Non-hardened address index on receive branch 0"}},"required":["kind","address","derivationPath","addressIndex"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/stakes":{"get":{"operationId":"accounts-listAccountStakes","summary":"List account stakes","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"},{"in":"query","name":"cursor","schema":{"type":"string","description":"Optional cursor to get next pages (based on the `next` key on query response)"}},{"in":"query","name":"page","schema":{"type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"type":"integer","minimum":1,"maximum":1000}},{"in":"query","name":"states","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["ACTIVE","INACTIVE","ACTIVATING","DEACTIVATING","UNKNOWN"],"description":"Stake state"},"description":"Keep only positions in these states"},{"type":"string","enum":["ACTIVE","INACTIVE","ACTIVATING","DEACTIVATING","UNKNOWN"],"description":"Keep only positions in this state"}],"description":"State filter. All states are kept when omitted"}},{"in":"query","name":"sortBy","schema":{"default":"total","description":"Sort by attribute","type":"string","enum":["staked","rewards","total"]}},{"in":"query","name":"sortOrder","schema":{"default":"desc","description":"Sort order","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"next":{"description":"Next page cursor","type":["string","null"]},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Staking position ID (if applicable)"},"validator":{"type":"string","minLength":1,"description":"Validator address"},"state":{"type":"string","enum":["ACTIVE","INACTIVE","ACTIVATING","DEACTIVATING","UNKNOWN"],"description":"Stake state"},"staked":{"description":"Staked amount, null when not known yet","type":["string","null"]},"effectiveBalance":{"description":"Amount the protocol counts for rewards, null when not known yet. On Ethereum it drops to zero once a position exits or consolidates away, while `staked` still holds what is left.","type":["string","null"]},"totalBalance":{"description":"Current value of the position, rewards included, null when not known yet","type":["string","null"]},"rewards":{"type":"object","properties":{"total":{"type":"string","description":"Total rewards"}},"required":["total"],"additionalProperties":false},"provider":{"anyOf":[{"type":"string","description":"Provider"},{"type":"null"}]},"stakeType":{"description":"Stake type derived from withdrawal credentials prefix (Ethereum only)","anyOf":[{"type":"string","enum":["legacy","pectra"]},{"type":"null"}]},"exitEligibleAt":{"description":"Earliest time the position may be withdrawn from, exited or consolidated, in UTC (Ethereum only). Null when the activation time is unknown, which must be read as not eligible rather than no cooldown.","anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"pendingOperations":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["NEW_STAKE","TOP_UP","PARTIAL_WITHDRAWAL","FULL_WITHDRAWAL","CONSOLIDATE_OUT","CONSOLIDATE_IN","CREDENTIAL_UPGRADE","UNKNOWN"],"description":"Operation the queued request performs on the position"}},"required":["kind"],"additionalProperties":false},"description":"Operations confirmed on chain whose effect the staking provider has not reported yet (Ethereum only), describing what is happening to the position. An empty list means nothing is known to be in flight, not a guarantee that nothing is."},"admissibleOperations":{"description":"Operations nothing in flight blocks on this position (Ethereum only), as decided by the backend that enforces the rule, so a client enables exactly what would be admitted. Other preconditions are reported on their own and still apply: the activation cooldown of exitEligibleAt, and the capacity of a consolidation target. An empty list means nothing may be started; null means admission is not reported, which must not be read as a refusal.","anyOf":[{"type":"array","items":{"type":"string","enum":["NEW_STAKE","TOP_UP","PARTIAL_WITHDRAWAL","FULL_WITHDRAWAL","CONSOLIDATE_OUT","CONSOLIDATE_IN","CREDENTIAL_UPGRADE","UNKNOWN"]}},{"type":"null"}]},"address":{"description":"On-chain address of the position (Solana: the stake account to act on)","type":["string","null"]},"withdrawableAmount":{"description":"Amount that can be withdrawn now (Solana only)","type":["string","null"]}},"required":["id","validator","state","staked","effectiveBalance","totalBalance","rewards","pendingOperations"],"additionalProperties":false},"description":"Array of results"},"page":{"type":"number","description":"Current page, 1-based"},"pageSize":{"type":"number","description":"Max count of items per page"},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"total":{"type":"number","description":"Total count of items matching the filters"}},"required":["next","results","page","pageSize","prev","total"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/stakes/{stakeId}":{"get":{"operationId":"accounts-getAccountStake","summary":"Get an account stake by ID","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"},{"in":"path","name":"stakeId","schema":{"type":"string","description":"Id of the target staking position"},"required":true,"description":"Id of the target staking position"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Staking position ID (if applicable)"},"validator":{"type":"string","minLength":1,"description":"Validator address"},"state":{"type":"string","enum":["ACTIVE","INACTIVE","ACTIVATING","DEACTIVATING","UNKNOWN"],"description":"Stake state"},"staked":{"description":"Staked amount, null when not known yet","type":["string","null"]},"effectiveBalance":{"description":"Amount the protocol counts for rewards, null when not known yet. On Ethereum it drops to zero once a position exits or consolidates away, while `staked` still holds what is left.","type":["string","null"]},"totalBalance":{"description":"Current value of the position, rewards included, null when not known yet","type":["string","null"]},"rewards":{"type":"object","properties":{"total":{"type":"string","description":"Total rewards"}},"required":["total"],"additionalProperties":false},"provider":{"anyOf":[{"type":"string","description":"Provider"},{"type":"null"}]},"stakeType":{"description":"Stake type derived from withdrawal credentials prefix (Ethereum only)","anyOf":[{"type":"string","enum":["legacy","pectra"]},{"type":"null"}]},"exitEligibleAt":{"description":"Earliest time the position may be withdrawn from, exited or consolidated, in UTC (Ethereum only). Null when the activation time is unknown, which must be read as not eligible rather than no cooldown.","anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"pendingOperations":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["NEW_STAKE","TOP_UP","PARTIAL_WITHDRAWAL","FULL_WITHDRAWAL","CONSOLIDATE_OUT","CONSOLIDATE_IN","CREDENTIAL_UPGRADE","UNKNOWN"],"description":"Operation the queued request performs on the position"}},"required":["kind"],"additionalProperties":false},"description":"Operations confirmed on chain whose effect the staking provider has not reported yet (Ethereum only), describing what is happening to the position. An empty list means nothing is known to be in flight, not a guarantee that nothing is."},"admissibleOperations":{"description":"Operations nothing in flight blocks on this position (Ethereum only), as decided by the backend that enforces the rule, so a client enables exactly what would be admitted. Other preconditions are reported on their own and still apply: the activation cooldown of exitEligibleAt, and the capacity of a consolidation target. An empty list means nothing may be started; null means admission is not reported, which must not be read as a refusal.","anyOf":[{"type":"array","items":{"type":"string","enum":["NEW_STAKE","TOP_UP","PARTIAL_WITHDRAWAL","FULL_WITHDRAWAL","CONSOLIDATE_OUT","CONSOLIDATE_IN","CREDENTIAL_UPGRADE","UNKNOWN"]}},{"type":"null"}]},"address":{"description":"On-chain address of the position (Solana: the stake account to act on)","type":["string","null"]},"withdrawableAmount":{"description":"Amount that can be withdrawn now (Solana only)","type":["string","null"]}},"required":["id","validator","state","staked","effectiveBalance","totalBalance","rewards","pendingOperations"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/stakes/{stakeId}/consolidation-targets":{"get":{"operationId":"accounts-listStakeConsolidationTargets","summary":"List the positions a staking position can be consolidated into","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"},{"in":"path","name":"stakeId","schema":{"type":"string","description":"Id of the staking position to consolidate"},"required":true,"description":"Id of the staking position to consolidate"},{"in":"query","name":"cursor","schema":{"type":"string","description":"Optional cursor to get next pages (based on the `next` key on query response)"}},{"in":"query","name":"search","schema":{"type":"string","description":"Search by provider name or validator address"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"next":{"description":"Next page cursor","type":["string","null"]},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Staking position ID (if applicable)"},"validator":{"type":"string","minLength":1,"description":"Validator address"},"state":{"type":"string","enum":["ACTIVE","INACTIVE","ACTIVATING","DEACTIVATING","UNKNOWN"],"description":"Stake state"},"staked":{"description":"Staked amount, null when not known yet","type":["string","null"]},"effectiveBalance":{"description":"Amount the protocol counts for rewards, null when not known yet. On Ethereum it drops to zero once a position exits or consolidates away, while `staked` still holds what is left.","type":["string","null"]},"totalBalance":{"description":"Current value of the position, rewards included, null when not known yet","type":["string","null"]},"rewards":{"type":"object","properties":{"total":{"type":"string","description":"Total rewards"}},"required":["total"],"additionalProperties":false},"provider":{"anyOf":[{"type":"string","description":"Provider"},{"type":"null"}]},"stakeType":{"description":"Stake type derived from withdrawal credentials prefix (Ethereum only)","anyOf":[{"type":"string","enum":["legacy","pectra"]},{"type":"null"}]},"exitEligibleAt":{"description":"Earliest time the position may be withdrawn from, exited or consolidated, in UTC (Ethereum only). Null when the activation time is unknown, which must be read as not eligible rather than no cooldown.","anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"pendingOperations":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["NEW_STAKE","TOP_UP","PARTIAL_WITHDRAWAL","FULL_WITHDRAWAL","CONSOLIDATE_OUT","CONSOLIDATE_IN","CREDENTIAL_UPGRADE","UNKNOWN"],"description":"Operation the queued request performs on the position"}},"required":["kind"],"additionalProperties":false},"description":"Operations confirmed on chain whose effect the staking provider has not reported yet (Ethereum only), describing what is happening to the position. An empty list means nothing is known to be in flight, not a guarantee that nothing is."},"admissibleOperations":{"description":"Operations nothing in flight blocks on this position (Ethereum only), as decided by the backend that enforces the rule, so a client enables exactly what would be admitted. Other preconditions are reported on their own and still apply: the activation cooldown of exitEligibleAt, and the capacity of a consolidation target. An empty list means nothing may be started; null means admission is not reported, which must not be read as a refusal.","anyOf":[{"type":"array","items":{"type":"string","enum":["NEW_STAKE","TOP_UP","PARTIAL_WITHDRAWAL","FULL_WITHDRAWAL","CONSOLIDATE_OUT","CONSOLIDATE_IN","CREDENTIAL_UPGRADE","UNKNOWN"]}},{"type":"null"}]},"address":{"description":"On-chain address of the position (Solana: the stake account to act on)","type":["string","null"]},"withdrawableAmount":{"description":"Amount that can be withdrawn now (Solana only)","type":["string","null"]}},"required":["id","validator","state","staked","effectiveBalance","totalBalance","rewards","pendingOperations"],"additionalProperties":false},"description":"Array of results"}},"required":["next","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/staking-validators":{"get":{"operationId":"accounts-listStakingValidators","summary":"List staking validators for account","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"},{"in":"query","name":"cursor","schema":{"type":"string","description":"Optional cursor to get next pages (based on the `next` key on query response)"}},{"in":"query","name":"sortBy","schema":{"default":"balance","description":"Sort by attribute","type":"string","enum":["balance"]}},{"in":"query","name":"sortOrder","schema":{"default":"desc","description":"Sort order","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"next":{"description":"Next page cursor","type":["string","null"]},"results":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"address":{"type":"string","description":"Validator address"},"apy":{"description":"Validator APY","type":["string","null"]},"balance":{"description":"Validator balance","type":["string","null"]},"commissionRate":{"description":"Validator commission rate","type":["string","null"]},"description":{"description":"Description","type":["string","null"]},"logo":{"description":"Logo URL","type":["string","null"]},"name":{"description":"Validator name","type":["string","null"]},"url":{"description":"Validator URL","type":["string","null"]},"type":{"type":"string","const":"SUI_LIKE","description":"Account type"}},"required":["address","apy","balance","commissionRate","description","logo","name","url","type"],"additionalProperties":false},{"type":"object","properties":{"address":{"type":"string","description":"Validator address"},"apy":{"description":"Validator APY","type":["string","null"]},"balance":{"description":"Validator balance","type":["string","null"]},"commissionRate":{"description":"Validator commission rate","type":["string","null"]},"description":{"description":"Description","type":["string","null"]},"logo":{"description":"Logo URL","type":["string","null"]},"name":{"description":"Validator name","type":["string","null"]},"url":{"description":"Validator URL","type":["string","null"]},"type":{"type":"string","const":"HEDERA_LIKE","description":"Account type"},"nodeId":{"anyOf":[{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"},{"type":"null"}],"description":"Validator node ID"}},"required":["address","apy","balance","commissionRate","description","logo","name","url","type","nodeId"],"additionalProperties":false},{"type":"object","properties":{"address":{"type":"string","description":"Validator address"},"apy":{"description":"Validator APY","type":["string","null"]},"balance":{"description":"Validator balance","type":["string","null"]},"commissionRate":{"description":"Validator commission rate","type":["string","null"]},"description":{"description":"Description","type":["string","null"]},"logo":{"description":"Logo URL","type":["string","null"]},"name":{"description":"Validator name","type":["string","null"]},"url":{"description":"Validator URL","type":["string","null"]},"type":{"type":"string","const":"TEZOS_LIKE","description":"Account type"}},"required":["address","apy","balance","commissionRate","description","logo","name","url","type"],"additionalProperties":false},{"type":"object","properties":{"address":{"description":"Validator address","type":["string","null"]},"apy":{"description":"Validator APY","type":["string","null"]},"balance":{"description":"Validator balance","type":["string","null"]},"commissionRate":{"description":"Validator commission rate","type":["string","null"]},"description":{"description":"Description","type":["string","null"]},"logo":{"description":"Logo URL","type":["string","null"]},"name":{"description":"Validator name","type":["string","null"]},"url":{"description":"Validator URL","type":["string","null"]},"type":{"type":"string","const":"ETHEREUM_LIKE","description":"Account type"},"id":{"type":"string","minLength":1,"description":"Identifier accepted when provisioning Ethereum validator keys"},"options":{"type":"object","properties":{"stakeAmountStepWei":{"description":"Step size, in wei, that the stake amount per validator must be a whole multiple of. When absent, 10^9 (1 gwei) applies — the finest granularity the beacon deposit contract accepts; providers restricted to whole-ETH amounts advertise 10^18.","type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"}},"additionalProperties":false,"description":"Provider-specific constraints on stake provisioning requests. When absent, the protocol defaults apply (1 gwei stake amount step)."}},"required":["address","apy","balance","commissionRate","description","logo","name","url","type","id"],"additionalProperties":false},{"type":"object","properties":{"address":{"type":"string","description":"Validator address"},"apy":{"description":"Validator APY","type":["string","null"]},"balance":{"description":"Validator balance","type":["string","null"]},"commissionRate":{"description":"Validator commission rate","type":["string","null"]},"description":{"description":"Description","type":["string","null"]},"logo":{"description":"Logo URL","type":["string","null"]},"name":{"description":"Validator name","type":["string","null"]},"url":{"description":"Validator URL","type":["string","null"]},"type":{"type":"string","const":"SOLANA_LIKE","description":"Account type"}},"required":["address","apy","balance","commissionRate","description","logo","name","url","type"],"additionalProperties":false}],"type":"object"},"description":"Array of results"}},"required":["next","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/canton/pre-approval-state":{"get":{"operationId":"accounts-canton-getPreApprovalState","summary":"Get pre-approval state of a Canton account","tags":["account","canton"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target Canton account"},"required":true,"description":"Id of the target Canton account"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true,"description":"Pre-approval is enabled"},"contractId":{"type":"string","description":"ID of the pre-approval contract"},"expiresAt":{"description":"Timestamp when the pre-approval expires and becomes invalid","type":"string"},"lastRenewedAt":{"description":"Timestamp of the most recent renewal of the pre-approval","type":"string"},"provider":{"type":"string","description":"Validator that issued and manages the pre-approval"},"recipient":{"type":"string","description":"Party that authorizes the pre-approval to receive transfers"},"validFrom":{"description":"Timestamp when the pre-approval becomes effective","type":"string"}},"required":["enabled","contractId","expiresAt","lastRenewedAt","provider","recipient","validFrom"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false,"description":"Pre-approval is not enabled"}},"required":["enabled"],"additionalProperties":false}],"description":"Pre-approval state of the account","type":"object"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/accounts/{id}/canton/transfer-proposals":{"get":{"operationId":"accounts-canton-getTransferProposals","summary":"Get transfer proposals to a Canton account","tags":["account","canton"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target Canton account"},"required":true,"description":"Id of the target Canton account"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CantonTransferProposalOutput"}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/signed-digests":{"get":{"operationId":"signedDigests-list","summary":"List signed digests by account","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"accountId","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"},{"in":"query","name":"sortOrder","schema":{"default":"desc","description":"Sort order on the creation date. Newest first by default","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier"},"items":{"type":"array","items":{"type":"object","properties":{"digest":{"type":"string","pattern":"^[0-9a-fA-F]+$","description":"The hex string digest to sign"},"derivationPath":{"type":"string","minLength":1,"description":"The derivation path with which to sign the digest"},"signature":{"type":"object","properties":{"digest":{"description":"Signed digest","type":["string","null"]},"derivationPath":{"description":"Derivation path used to sign the digest","type":["string","null"]},"r":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Base64 encoded signature r coordinate"},"s":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Base64 encoded signature s coordinate"},"v":{"anyOf":[{"anyOf":[{"type":"number","const":0},{"type":"number","const":1}]},{"type":"null"}],"description":"Ecdsa only, signature recovery value"},"der":{"type":"string","pattern":"^[0-9a-fA-F]+$","description":"Hex string encoded DER signature format (for eddsa, concatenation of r & s)"},"pubkey":{"anyOf":[{"type":"string","pattern":"^[0-9a-fA-F]+$"},{"type":"null"}],"description":"Public key for signature verification, 32 or 33 bytes"}},"required":["digest","derivationPath","r","s","v","der","pubkey"],"additionalProperties":false,"description":"Signature of the digest"}},"required":["digest","derivationPath","signature"],"additionalProperties":false},"description":"Digests and signatures"},"createdById":{"type":"string","description":"ID of the creator"},"createdAt":{"description":"Creation timestamp","type":"string"}},"required":["id","items","createdById","createdAt"],"additionalProperties":false},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/signed-digests/{id}":{"get":{"operationId":"signedDigests-findById","summary":"Get signed digests","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the signed digests"},"required":true,"description":"Id of the signed digests"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier"},"items":{"type":"array","items":{"type":"object","properties":{"digest":{"type":"string","pattern":"^[0-9a-fA-F]+$","description":"The hex string digest to sign"},"derivationPath":{"type":"string","minLength":1,"description":"The derivation path with which to sign the digest"},"signature":{"type":"object","properties":{"digest":{"description":"Signed digest","type":["string","null"]},"derivationPath":{"description":"Derivation path used to sign the digest","type":["string","null"]},"r":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Base64 encoded signature r coordinate"},"s":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Base64 encoded signature s coordinate"},"v":{"anyOf":[{"anyOf":[{"type":"number","const":0},{"type":"number","const":1}]},{"type":"null"}],"description":"Ecdsa only, signature recovery value"},"der":{"type":"string","pattern":"^[0-9a-fA-F]+$","description":"Hex string encoded DER signature format (for eddsa, concatenation of r & s)"},"pubkey":{"anyOf":[{"type":"string","pattern":"^[0-9a-fA-F]+$"},{"type":"null"}],"description":"Public key for signature verification, 32 or 33 bytes"}},"required":["digest","derivationPath","r","s","v","der","pubkey"],"additionalProperties":false,"description":"Signature of the digest"}},"required":["digest","derivationPath","signature"],"additionalProperties":false},"description":"Digests and signatures"},"createdById":{"type":"string","description":"ID of the creator"},"createdAt":{"description":"Creation timestamp","type":"string"}},"required":["id","items","createdById","createdAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/signed-messages":{"get":{"operationId":"signedMessages-list","summary":"List signed messages by account","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"accountId","schema":{"type":"string","description":"Id of the target account"},"required":true,"description":"Id of the target account"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/SignedMessageResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/signed-messages/{id}":{"get":{"operationId":"signedMessages-findById","summary":"Get a single signed message","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the signed message"},"required":true,"description":"Id of the signed message"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedMessageResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/outgoing-transactions":{"get":{"operationId":"outgoingTransactions-list","summary":"List outgoing transactions by account","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"accountId","schema":{"type":"string","description":"Id of the target account"}},{"in":"query","name":"recipient","schema":{"type":"string","minLength":1,"pattern":"^[^%_\\\\]+$","description":"Search by recipient address in the transaction intent, case-insensitively. Transaction types whose intent carries no recipient never match — generic transactions and most staking operations; note that Solana and Tezos delegations do carry one (the validator address). Must not contain the characters %, _ or \\."}},{"in":"query","name":"type","schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TransactionType"},"description":"Multiple transaction types"},{"description":"Single transaction type","$ref":"#/components/schemas/TransactionType"}],"description":"Search by transaction type"}},{"in":"query","name":"status","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["SCHEDULED","SUBMITTED","ON_CHAIN","CONFIRMED","DROPPED","FAILED","FAILED_ON_CHAIN","UNKNOWN"]},"description":"Multiple outgoing transaction statuses"},{"type":"string","enum":["SCHEDULED","SUBMITTED","ON_CHAIN","CONFIRMED","DROPPED","FAILED","FAILED_ON_CHAIN","UNKNOWN"],"description":"Single outgoing transaction status"}],"description":"Search by outgoing transaction status"}},{"in":"query","name":"amount","schema":{"type":"string","description":"Search by exact transaction amount, in the smallest unit"}},{"in":"query","name":"currency","schema":{"type":"string","description":"Search by transaction currency"}},{"in":"query","name":"note","schema":{"type":"string","minLength":1,"description":"Search by note, case-insensitively. Matches transactions whose note title or content contains this text — clients storing an external identifier in the note can use it to locate a payout. Transactions without a note never match."}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier"},"workspaceName":{"type":"string","minLength":1,"maxLength":20,"pattern":"^[a-z0-9]+$","description":"Workspace name"},"accountId":{"type":"string","description":"Account that initiated the transaction"},"hash":{"description":"Transaction's hash","type":["string","null"]},"status":{"type":"string","enum":["SCHEDULED","SUBMITTED","ON_CHAIN","CONFIRMED","DROPPED","FAILED","FAILED_ON_CHAIN","UNKNOWN"],"description":"Status of the transaction"},"intent":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/CantonLikeWithdrawDataOutput"},{"$ref":"#/components/schemas/CantonLikeReceiveDataOutput"},{"$ref":"#/components/schemas/CantonLikePreApprovalDataOutput"},{"$ref":"#/components/schemas/CardanoSendDataOutput"},{"$ref":"#/components/schemas/CardanoStakingDelegateDataOutput"},{"$ref":"#/components/schemas/CardanoStakingDeregisterDataOutput"},{"$ref":"#/components/schemas/CardanoStakingRegisterDataOutput"},{"$ref":"#/components/schemas/CardanoStakingWithdrawDataOutput"},{"$ref":"#/components/schemas/EthereumLikeDeployContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeExecuteContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingDepositDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingTopUpDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingWithdrawDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingConsolidateDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingUpgradeDataOutput"},{"$ref":"#/components/schemas/GenericTransactionDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/HederaLikeStakeDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeAddProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeAnonymousProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeBondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeBondExtraDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeChillDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeKillAnonymousDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeRebondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeRemoveProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSendDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSetPayeeDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeUnbondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeWithdrawUnbondedDataOutput"},{"$ref":"#/components/schemas/RippleLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeCreateDelegateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeDeactivateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeDelegateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeMergeStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSplitDeactivateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSplitStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeWithdrawStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/SolanaLikeFundAndSendTokenDataOutput"},{"$ref":"#/components/schemas/SolanaLikeCreateTokenAccountDataOutput"},{"$ref":"#/components/schemas/StellarLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeTransferTokenDataOutput"},{"$ref":"#/components/schemas/SuiLikeStakeDataOutput"},{"$ref":"#/components/schemas/SuiLikeUnstakeDataOutput"},{"$ref":"#/components/schemas/TezosLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeDelegateDataOutput"},{"$ref":"#/components/schemas/TezosLikeUndelegateDataOutput"},{"$ref":"#/components/schemas/TronLikeSendDataOutput"},{"$ref":"#/components/schemas/TronLikeSendTokenDataOutput"}],"description":"Transaction intent data","type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CANTON_LIKE_SEND_TOKEN":"#/components/schemas/CantonLikeSendTokenDataOutput","CANTON_LIKE_WITHDRAW":"#/components/schemas/CantonLikeWithdrawDataOutput","CANTON_LIKE_RECEIVE":"#/components/schemas/CantonLikeReceiveDataOutput","CANTON_LIKE_PRE_APPROVAL":"#/components/schemas/CantonLikePreApprovalDataOutput","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendDataOutput","CARDANO_LIKE_STAKING_DELEGATE":"#/components/schemas/CardanoStakingDelegateDataOutput","CARDANO_LIKE_STAKING_DEREGISTER":"#/components/schemas/CardanoStakingDeregisterDataOutput","CARDANO_LIKE_STAKING_REGISTER":"#/components/schemas/CardanoStakingRegisterDataOutput","CARDANO_LIKE_STAKING_WITHDRAW":"#/components/schemas/CardanoStakingWithdrawDataOutput","ETHEREUM_LIKE_DEPLOY_CONTRACT":"#/components/schemas/EthereumLikeDeployContractDataOutput","ETHEREUM_LIKE_EXECUTE_CONTRACT":"#/components/schemas/EthereumLikeExecuteContractDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","ETHEREUM_LIKE_STAKE_DEPOSIT":"#/components/schemas/EthereumLikeStakingDepositDataOutput","ETHEREUM_LIKE_STAKE_TOP_UP":"#/components/schemas/EthereumLikeStakingTopUpDataOutput","ETHEREUM_LIKE_STAKE_WITHDRAW":"#/components/schemas/EthereumLikeStakingWithdrawDataOutput","ETHEREUM_LIKE_STAKE_CONSOLIDATE":"#/components/schemas/EthereumLikeStakingConsolidateDataOutput","ETHEREUM_LIKE_STAKE_UPGRADE":"#/components/schemas/EthereumLikeStakingUpgradeDataOutput","GENERIC_TRANSACTION":"#/components/schemas/GenericTransactionDataOutput","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","HEDERA_LIKE_SEND_TOKEN":"#/components/schemas/HederaLikeSendTokenDataOutput","HEDERA_LIKE_STAKE":"#/components/schemas/HederaLikeStakeDataOutput","POLKADOT_LIKE_ADDPROXY":"#/components/schemas/PolkadotLikeAddProxyDataOutput","POLKADOT_LIKE_ANONYMOUSPROXY":"#/components/schemas/PolkadotLikeAnonymousProxyDataOutput","POLKADOT_LIKE_BOND":"#/components/schemas/PolkadotLikeBondDataOutput","POLKADOT_LIKE_BONDEXTRA":"#/components/schemas/PolkadotLikeBondExtraDataOutput","POLKADOT_LIKE_CHILL":"#/components/schemas/PolkadotLikeChillDataOutput","POLKADOT_LIKE_KILLANONYMOUS":"#/components/schemas/PolkadotLikeKillAnonymousDataOutput","POLKADOT_LIKE_REBOND":"#/components/schemas/PolkadotLikeRebondDataOutput","POLKADOT_LIKE_REMOVEPROXY":"#/components/schemas/PolkadotLikeRemoveProxyDataOutput","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendDataOutput","POLKADOT_LIKE_SETPAYEE":"#/components/schemas/PolkadotLikeSetPayeeDataOutput","POLKADOT_LIKE_UNBOND":"#/components/schemas/PolkadotLikeUnbondDataOutput","POLKADOT_LIKE_WITHDRAWUNBONDED":"#/components/schemas/PolkadotLikeWithdrawUnbondedDataOutput","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput","SOLANA_LIKE_CREATE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeCreateDelegateStakeDataOutput","SOLANA_LIKE_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeDeactivateStakeDataOutput","SOLANA_LIKE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeDelegateStakeDataOutput","SOLANA_LIKE_MERGE_STAKE":"#/components/schemas/SolanaLikeMergeStakeDataOutput","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendDataOutput","SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeSplitDeactivateStakeDataOutput","SOLANA_LIKE_SPLIT_STAKE":"#/components/schemas/SolanaLikeSplitStakeDataOutput","SOLANA_LIKE_WITHDRAW_STAKE":"#/components/schemas/SolanaLikeWithdrawStakeDataOutput","SOLANA_LIKE_SEND_TOKEN":"#/components/schemas/SolanaLikeSendTokenDataOutput","SOLANA_LIKE_FUND_AND_SEND_TOKEN":"#/components/schemas/SolanaLikeFundAndSendTokenDataOutput","SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT":"#/components/schemas/SolanaLikeCreateTokenAccountDataOutput","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","SUI_LIKE_SEND_TOKEN":"#/components/schemas/SuiLikeTransferTokenDataOutput","SUI_LIKE_STAKE":"#/components/schemas/SuiLikeStakeDataOutput","SUI_LIKE_UNSTAKE":"#/components/schemas/SuiLikeUnstakeDataOutput","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput","TEZOS_LIKE_DELEGATE":"#/components/schemas/TezosLikeDelegateDataOutput","TEZOS_LIKE_UNDELEGATE":"#/components/schemas/TezosLikeUndelegateDataOutput","TRON_LIKE_SEND":"#/components/schemas/TronLikeSendDataOutput","TRON_LIKE_SEND_TOKEN":"#/components/schemas/TronLikeSendTokenDataOutput"}}},"updatedAt":{"description":"Last update timestamp","type":"string"},"canReplace":{"type":"boolean","description":"Whether a speed-up or cancellation can still be created for this transaction (Replace-By-Fee / Replace-By-Nonce)"}},"required":["id","workspaceName","accountId","hash","status","intent","updatedAt","canReplace"],"additionalProperties":false},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/outgoing-transactions/{id}":{"get":{"operationId":"outgoingTransactions-findById","summary":"Get a single outgoing transaction","tags":["account"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"targetId of the outgoing transaction request"},"required":true,"description":"targetId of the outgoing transaction request"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier"},"workspaceName":{"type":"string","minLength":1,"maxLength":20,"pattern":"^[a-z0-9]+$","description":"Workspace name"},"accountId":{"type":"string","description":"Account that initiated the transaction"},"hash":{"description":"Transaction's hash","type":["string","null"]},"status":{"type":"string","enum":["SCHEDULED","SUBMITTED","ON_CHAIN","CONFIRMED","DROPPED","FAILED","FAILED_ON_CHAIN","UNKNOWN"],"description":"Status of the transaction"},"intent":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/CantonLikeWithdrawDataOutput"},{"$ref":"#/components/schemas/CantonLikeReceiveDataOutput"},{"$ref":"#/components/schemas/CantonLikePreApprovalDataOutput"},{"$ref":"#/components/schemas/CardanoSendDataOutput"},{"$ref":"#/components/schemas/CardanoStakingDelegateDataOutput"},{"$ref":"#/components/schemas/CardanoStakingDeregisterDataOutput"},{"$ref":"#/components/schemas/CardanoStakingRegisterDataOutput"},{"$ref":"#/components/schemas/CardanoStakingWithdrawDataOutput"},{"$ref":"#/components/schemas/EthereumLikeDeployContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeExecuteContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingDepositDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingTopUpDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingWithdrawDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingConsolidateDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingUpgradeDataOutput"},{"$ref":"#/components/schemas/GenericTransactionDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/HederaLikeStakeDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeAddProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeAnonymousProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeBondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeBondExtraDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeChillDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeKillAnonymousDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeRebondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeRemoveProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSendDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSetPayeeDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeUnbondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeWithdrawUnbondedDataOutput"},{"$ref":"#/components/schemas/RippleLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeCreateDelegateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeDeactivateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeDelegateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeMergeStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSplitDeactivateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSplitStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeWithdrawStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/SolanaLikeFundAndSendTokenDataOutput"},{"$ref":"#/components/schemas/SolanaLikeCreateTokenAccountDataOutput"},{"$ref":"#/components/schemas/StellarLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeTransferTokenDataOutput"},{"$ref":"#/components/schemas/SuiLikeStakeDataOutput"},{"$ref":"#/components/schemas/SuiLikeUnstakeDataOutput"},{"$ref":"#/components/schemas/TezosLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeDelegateDataOutput"},{"$ref":"#/components/schemas/TezosLikeUndelegateDataOutput"},{"$ref":"#/components/schemas/TronLikeSendDataOutput"},{"$ref":"#/components/schemas/TronLikeSendTokenDataOutput"}],"description":"Transaction intent data","type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CANTON_LIKE_SEND_TOKEN":"#/components/schemas/CantonLikeSendTokenDataOutput","CANTON_LIKE_WITHDRAW":"#/components/schemas/CantonLikeWithdrawDataOutput","CANTON_LIKE_RECEIVE":"#/components/schemas/CantonLikeReceiveDataOutput","CANTON_LIKE_PRE_APPROVAL":"#/components/schemas/CantonLikePreApprovalDataOutput","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendDataOutput","CARDANO_LIKE_STAKING_DELEGATE":"#/components/schemas/CardanoStakingDelegateDataOutput","CARDANO_LIKE_STAKING_DEREGISTER":"#/components/schemas/CardanoStakingDeregisterDataOutput","CARDANO_LIKE_STAKING_REGISTER":"#/components/schemas/CardanoStakingRegisterDataOutput","CARDANO_LIKE_STAKING_WITHDRAW":"#/components/schemas/CardanoStakingWithdrawDataOutput","ETHEREUM_LIKE_DEPLOY_CONTRACT":"#/components/schemas/EthereumLikeDeployContractDataOutput","ETHEREUM_LIKE_EXECUTE_CONTRACT":"#/components/schemas/EthereumLikeExecuteContractDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","ETHEREUM_LIKE_STAKE_DEPOSIT":"#/components/schemas/EthereumLikeStakingDepositDataOutput","ETHEREUM_LIKE_STAKE_TOP_UP":"#/components/schemas/EthereumLikeStakingTopUpDataOutput","ETHEREUM_LIKE_STAKE_WITHDRAW":"#/components/schemas/EthereumLikeStakingWithdrawDataOutput","ETHEREUM_LIKE_STAKE_CONSOLIDATE":"#/components/schemas/EthereumLikeStakingConsolidateDataOutput","ETHEREUM_LIKE_STAKE_UPGRADE":"#/components/schemas/EthereumLikeStakingUpgradeDataOutput","GENERIC_TRANSACTION":"#/components/schemas/GenericTransactionDataOutput","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","HEDERA_LIKE_SEND_TOKEN":"#/components/schemas/HederaLikeSendTokenDataOutput","HEDERA_LIKE_STAKE":"#/components/schemas/HederaLikeStakeDataOutput","POLKADOT_LIKE_ADDPROXY":"#/components/schemas/PolkadotLikeAddProxyDataOutput","POLKADOT_LIKE_ANONYMOUSPROXY":"#/components/schemas/PolkadotLikeAnonymousProxyDataOutput","POLKADOT_LIKE_BOND":"#/components/schemas/PolkadotLikeBondDataOutput","POLKADOT_LIKE_BONDEXTRA":"#/components/schemas/PolkadotLikeBondExtraDataOutput","POLKADOT_LIKE_CHILL":"#/components/schemas/PolkadotLikeChillDataOutput","POLKADOT_LIKE_KILLANONYMOUS":"#/components/schemas/PolkadotLikeKillAnonymousDataOutput","POLKADOT_LIKE_REBOND":"#/components/schemas/PolkadotLikeRebondDataOutput","POLKADOT_LIKE_REMOVEPROXY":"#/components/schemas/PolkadotLikeRemoveProxyDataOutput","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendDataOutput","POLKADOT_LIKE_SETPAYEE":"#/components/schemas/PolkadotLikeSetPayeeDataOutput","POLKADOT_LIKE_UNBOND":"#/components/schemas/PolkadotLikeUnbondDataOutput","POLKADOT_LIKE_WITHDRAWUNBONDED":"#/components/schemas/PolkadotLikeWithdrawUnbondedDataOutput","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput","SOLANA_LIKE_CREATE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeCreateDelegateStakeDataOutput","SOLANA_LIKE_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeDeactivateStakeDataOutput","SOLANA_LIKE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeDelegateStakeDataOutput","SOLANA_LIKE_MERGE_STAKE":"#/components/schemas/SolanaLikeMergeStakeDataOutput","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendDataOutput","SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeSplitDeactivateStakeDataOutput","SOLANA_LIKE_SPLIT_STAKE":"#/components/schemas/SolanaLikeSplitStakeDataOutput","SOLANA_LIKE_WITHDRAW_STAKE":"#/components/schemas/SolanaLikeWithdrawStakeDataOutput","SOLANA_LIKE_SEND_TOKEN":"#/components/schemas/SolanaLikeSendTokenDataOutput","SOLANA_LIKE_FUND_AND_SEND_TOKEN":"#/components/schemas/SolanaLikeFundAndSendTokenDataOutput","SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT":"#/components/schemas/SolanaLikeCreateTokenAccountDataOutput","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","SUI_LIKE_SEND_TOKEN":"#/components/schemas/SuiLikeTransferTokenDataOutput","SUI_LIKE_STAKE":"#/components/schemas/SuiLikeStakeDataOutput","SUI_LIKE_UNSTAKE":"#/components/schemas/SuiLikeUnstakeDataOutput","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput","TEZOS_LIKE_DELEGATE":"#/components/schemas/TezosLikeDelegateDataOutput","TEZOS_LIKE_UNDELEGATE":"#/components/schemas/TezosLikeUndelegateDataOutput","TRON_LIKE_SEND":"#/components/schemas/TronLikeSendDataOutput","TRON_LIKE_SEND_TOKEN":"#/components/schemas/TronLikeSendTokenDataOutput"}}},"updatedAt":{"description":"Last update timestamp","type":"string"},"canReplace":{"type":"boolean","description":"Whether a speed-up or cancellation can still be created for this transaction (Replace-By-Fee / Replace-By-Nonce)"}},"required":["id","workspaceName","accountId","hash","status","intent","updatedAt","canReplace"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/workspace/admin-rules":{"get":{"operationId":"governance-listAdminRules","summary":"List admin governance rules","tags":["workspace"],"security":[{"Authorization":[]}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"permission":{"type":"string","enum":["CREATE_ACCOUNT_WITH_POLICY"]},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"members":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"]}},"required":["id","name","status"],"additionalProperties":false,"description":"Compact workspace rule member"}}},"required":["quorum","members"],"additionalProperties":false}}},"required":["permission","reviewSteps"],"additionalProperties":false}}},"required":["results"],"additionalProperties":false,"description":"Admin governance rules"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/groups":{"get":{"operationId":"groups-list","summary":"List groups","description":"List groups in the same workspace.","tags":["group"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"status","schema":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Group status"}},{"in":"query","name":"name","schema":{"type":"string","minLength":1,"description":"Deprecated: use `search` instead. Ignored when `search` is set. Filter groups by matching name","deprecated":true}},{"in":"query","name":"search","schema":{"type":"string","minLength":1,"description":"Search by name substring or exact group ID"}},{"in":"query","name":"memberId","schema":{"type":"string","minLength":1,"description":"Only return groups that include this member (user id)"}},{"in":"query","name":"sortBy","schema":{"default":"createdAt","description":"Sort by attribute","type":"string","enum":["name","status","createdAt","updatedAt"]}},{"in":"query","name":"sortOrder","schema":{"default":"asc","description":"Sort order","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/GroupResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/groups/{id}":{"get":{"operationId":"groups-findById","summary":"Get a single group","description":"Find a group by ID.","tags":["group"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target group"},"required":true,"description":"Id of the target group"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/whitelists":{"get":{"operationId":"whitelists-list","summary":"List whitelists","description":"List whitelists in the same workspace.","tags":["whitelist"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"status","schema":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Whitelist status"}},{"in":"query","name":"sortBy","schema":{"default":"createdAt","description":"Sort by attribute","type":"string","enum":["name","status","addressCount","createdAt","updatedAt"]}},{"in":"query","name":"sortOrder","schema":{"default":"asc","description":"Sort order","type":"string","enum":["asc","desc"]}},{"in":"query","name":"currency","schema":{"anyOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"description":"Only return whitelists holding at least one address in any of these currencies"},{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Only return whitelists holding at least one address in this currency"}],"description":"Filter whitelists by the currency of the addresses they hold"}},{"in":"query","name":"search","schema":{"type":"string","minLength":3,"maxLength":200,"description":"Case-insensitive substring search over the whitelist label, address values, and address labels, or exact whitelist ID."}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/WhitelistResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/whitelists/{id}":{"get":{"operationId":"whitelists-findById","summary":"Get a single whitelist","description":"Find a whitelist by ID.","tags":["whitelist"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target whitelist"},"required":true,"description":"Id of the target whitelist"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhitelistResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/whitelists/{whitelistId}/addresses":{"get":{"operationId":"whitelists-listAddresses","summary":"List whitelist's addresses","description":"List addresses in a whitelist.","tags":["whitelist"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"whitelistId","schema":{"type":"string","description":"Id of the target whitelist"},"required":true,"description":"Id of the target whitelist"},{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"sortBy","schema":{"default":"name","description":"Sort by attribute","type":"string","enum":["name","currency","address"]}},{"in":"query","name":"sortOrder","schema":{"default":"asc","description":"Sort order","type":"string","enum":["asc","desc"]}},{"in":"query","name":"currency","schema":{"anyOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"description":"Only return addresses in any of these currencies"},{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Only return addresses in this currency"}],"description":"Filter the whitelist's addresses by currency"}},{"in":"query","name":"search","schema":{"type":"string","minLength":3,"maxLength":200,"description":"Case-insensitive substring search over the whitelist's addresses values and labels."}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50,"description":"Address name"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Address currency"},"address":{"type":"string","minLength":1,"maxLength":200,"description":"Address value"},"destinationTag":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Destination tag (applicable for Ripple currency)"}},"required":["name","currency","address"],"additionalProperties":false},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/policies":{"get":{"operationId":"policies-list","summary":"List policies","tags":["policy"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"name","schema":{"type":"string","description":"Deprecated: use `search` instead. Ignored when `search` is set. Search by matching policy name","deprecated":true}},{"in":"query","name":"search","schema":{"type":"string","description":"Search by name substring or exact policy ID"}},{"in":"query","name":"isPrivate","schema":{"default":false,"type":"boolean","description":"Search private policies"}},{"in":"query","name":"currency","schema":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Search by currency"}},{"in":"query","name":"contractAddress","schema":{"description":"Filter by token contract address (requires 'currency')","type":["string","null"]}},{"in":"query","name":"tokenIdentifier","schema":{"type":"string","description":"Filter by token identifier (requires 'currency')"}},{"in":"query","name":"policyType","schema":{"type":"string","enum":["single","multiple"],"description":"Filter by policy type: 'single' returns policies with any currency assigned, 'multiple' returns policies without a currency (multicurrency)"}},{"in":"query","name":"sortBy","schema":{"default":"createdAt","description":"Sort by attribute","type":"string","enum":["name","createdAt","updatedAt"]}},{"in":"query","name":"sortOrder","schema":{"default":"asc","description":"Sort order","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/PolicyResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/policies/{id}":{"get":{"operationId":"policies-findById","summary":"Get a single policy","tags":["policy"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target policy"},"required":true,"description":"Id of the target policy"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/entities":{"get":{"operationId":"entities-list","summary":"List entities","description":"List entities in the same workspace.","tags":["entity"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"status","schema":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Entity status"}},{"in":"query","name":"sortBy","schema":{"default":"createdAt","description":"Sort by attribute","type":"string","enum":["name","status","createdAt","updatedAt"]}},{"in":"query","name":"sortOrder","schema":{"default":"asc","description":"Sort order","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/EntityResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/entities/{id}":{"get":{"operationId":"entities-findById","summary":"Get a single entity","description":"Find an entity by ID.","tags":["entity"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target entity"},"required":true,"description":"Id of the target entity"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests":{"get":{"operationId":"requests-list","summary":"List requests","tags":["request"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"type","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["UPDATE_QUORUM","EDIT_EXTERNAL_SIGNER_PUBKEYS","CREATE_TRANSACTION","SIGN_MESSAGE","SIGN_DIGESTS","CREATE_ACCOUNT","EDIT_ACCOUNT","CREATE_GROUP","EDIT_GROUP","REVOKE_GROUP","CREATE_WHITELIST","EDIT_WHITELIST","CREATE_ENTITY","EDIT_ENTITY","REVOKE_ENTITY","CREATE_PSD_USER","CREATE_API_USER","CREATE_API_USER_ACCESS","REVOKE_USER","EDIT_WORKSPACE_RULE","CREATE_SCICONFIG","EDIT_SCICONFIG","CREATE_API_KEY","EDIT_API_KEY","REVOKE_API_KEY","CREATE_POLICY","EDIT_POLICY","EDIT_TOKEN_RULE","TRADELINK_CREATE_CUSTODIAN","TRADELINK_EDIT_CUSTODIAN","TRADELINK_CREATE_EXCHANGE","TRADELINK_EDIT_EXCHANGE","TRADELINK_CREATE_ASSET_MANAGER","TRADELINK_EDIT_ASSET_MANAGER","TRADELINK_ACTIVATE_ACCOUNT","TRADELINK_ADJUST_PLEDGE","TRADELINK_CREATE_SETTLEMENT","TRADELINK_FORCE_UNPLEDGE","TRADELINK_ARBITRATE","TRADELINK_WITHDRAW","TRADELINK_REPLEDGE"]},"description":"Multiple types"},{"type":"string","enum":["UPDATE_QUORUM","EDIT_EXTERNAL_SIGNER_PUBKEYS","CREATE_TRANSACTION","SIGN_MESSAGE","SIGN_DIGESTS","CREATE_ACCOUNT","EDIT_ACCOUNT","CREATE_GROUP","EDIT_GROUP","REVOKE_GROUP","CREATE_WHITELIST","EDIT_WHITELIST","CREATE_ENTITY","EDIT_ENTITY","REVOKE_ENTITY","CREATE_PSD_USER","CREATE_API_USER","CREATE_API_USER_ACCESS","REVOKE_USER","EDIT_WORKSPACE_RULE","CREATE_SCICONFIG","EDIT_SCICONFIG","CREATE_API_KEY","EDIT_API_KEY","REVOKE_API_KEY","CREATE_POLICY","EDIT_POLICY","EDIT_TOKEN_RULE","TRADELINK_CREATE_CUSTODIAN","TRADELINK_EDIT_CUSTODIAN","TRADELINK_CREATE_EXCHANGE","TRADELINK_EDIT_EXCHANGE","TRADELINK_CREATE_ASSET_MANAGER","TRADELINK_EDIT_ASSET_MANAGER","TRADELINK_ACTIVATE_ACCOUNT","TRADELINK_ADJUST_PLEDGE","TRADELINK_CREATE_SETTLEMENT","TRADELINK_FORCE_UNPLEDGE","TRADELINK_ARBITRATE","TRADELINK_WITHDRAW","TRADELINK_REPLEDGE"],"description":"Single type"}],"description":"Search by request type"}},{"in":"query","name":"state","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},"description":"Multiple states"},{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Single state"}],"description":"Search by request state"}},{"in":"query","name":"search","schema":{"type":"string","description":"Search by exact request ID"}},{"in":"query","name":"targetId","schema":{"type":"string","description":"Search by target ID"}},{"in":"query","name":"targetIds","schema":{"type":"array","items":{"type":"string"},"description":"Search by multiple target IDs"}},{"in":"query","name":"createdBy","schema":{"type":"string","description":"Search by request creator (user ID or 'me')"}},{"in":"query","name":"reviewedBy","schema":{"type":"string","description":"Search by user who has already reviewed (user ID or 'me')"}},{"in":"query","name":"pendingBy","schema":{"type":"string","description":"Search by user who has a pending review for the request (user ID or 'me')"}},{"in":"query","name":"sortBy","schema":{"default":"createdAt","description":"Sort by attribute","type":"string","enum":["state","expiresAt","createdAt","updatedAt"]}},{"in":"query","name":"sortOrder","schema":{"default":"asc","description":"Sort order","type":"string","enum":["asc","desc"]}},{"in":"query","name":"fromDate","schema":{"description":"Search by createdAt >= this date (inclusive)","type":"string"}},{"in":"query","name":"toDate","schema":{"description":"Search by createdAt <= this date (inclusive)","type":"string"}},{"in":"query","name":"support","schema":{"type":"string","enum":["standalone","legacy"],"description":"Filter requests by support"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/VaultRequestResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/{id}":{"get":{"operationId":"requests-findById","summary":"Get a request by ID","tags":["request"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the request"},"required":true,"description":"Id of the request"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultRequestResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/{id}/challenge":{"get":{"operationId":"requests-getChallenge","summary":"Get the challenge of the specified request for current user","description":"Challenges are generated asynchronously after the request is created. Until they are ready, this endpoint returns HTTP 425 with a `Retry-After` header (in seconds).","tags":["request"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the request"},"required":true,"description":"Id of the request"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"pubKey":{"type":"string","description":"Public key of the current user"},"challenge":{"oneOf":[{"type":"object","properties":{"challengeType":{"type":"string","const":"PSD"},"wActions":{"type":"array","items":{"type":"string"},"description":"Wrapped blobs that describe the screens to display"},"handshake":{"type":"string","description":"Handshake for the HSM <-> PSD communication"},"handshakeAttestation":{"type":"object","properties":{"codeHash":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Hash of the executable that generated this certificate"},"attestationPub":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Attestation public key"},"certificate":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Certificate bytes"},"signature":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Certificate signature"}},"required":["codeHash","attestationPub","certificate","signature"],"additionalProperties":false,"description":"Handshake attestation to verify secure channel between HSM & PSD"},"partitionId":{"type":"string","description":"HSM partition id (maybe not useful)"}},"required":["challengeType","wActions","handshake","handshakeAttestation","partitionId"],"additionalProperties":false},{"type":"object","properties":{"challengeType":{"type":"string","const":"API"},"payload":{"type":"object","properties":{"approve":{"type":"string","description":"JSON payload to sign (as JWS) to approve"},"reject":{"type":"string","description":"JSON payload to sign (as JWS) to reject"}},"required":["approve","reject"],"additionalProperties":false,"description":"JSON payload to approve and to reject"}},"required":["challengeType","payload"],"additionalProperties":false},{"type":"object","properties":{"challengeType":{"type":"string","const":"SOFT"}},"required":["challengeType"],"additionalProperties":false}],"description":"Challenge data to sign with the user's private key","type":"object"}},"required":["pubKey","challenge"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/transaction/sui":{"post":{"operationId":"requests-createSuiTransaction","summary":"Create a Sui transaction request","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/SuiLikeSendData"},{"$ref":"#/components/schemas/SuiLikeTransferTokenData"},{"$ref":"#/components/schemas/SuiLikeStakeData"},{"$ref":"#/components/schemas/SuiLikeUnstakeData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendData","SUI_LIKE_SEND_TOKEN":"#/components/schemas/SuiLikeTransferTokenData","SUI_LIKE_STAKE":"#/components/schemas/SuiLikeStakeData","SUI_LIKE_UNSTAKE":"#/components/schemas/SuiLikeUnstakeData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeTransferTokenDataOutput"},{"$ref":"#/components/schemas/SuiLikeStakeDataOutput"},{"$ref":"#/components/schemas/SuiLikeUnstakeDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","SUI_LIKE_SEND_TOKEN":"#/components/schemas/SuiLikeTransferTokenDataOutput","SUI_LIKE_STAKE":"#/components/schemas/SuiLikeStakeDataOutput","SUI_LIKE_UNSTAKE":"#/components/schemas/SuiLikeUnstakeDataOutput"}}},"maxAllowedRiskLevel":{"$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"Transaction request"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/transaction/ethereum":{"post":{"operationId":"requests-createEthTransaction","summary":"Create an Ethereum transaction request","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/EthereumLikeDeployContractData"},{"$ref":"#/components/schemas/EthereumLikeExecuteContractData"},{"$ref":"#/components/schemas/EthereumLikeSendData"},{"$ref":"#/components/schemas/EthereumLikeStakingDepositData"},{"$ref":"#/components/schemas/EthereumLikeStakingTopUpData"},{"$ref":"#/components/schemas/EthereumLikeStakingWithdrawData"},{"$ref":"#/components/schemas/EthereumLikeStakingConsolidateData"},{"$ref":"#/components/schemas/EthereumLikeStakingUpgradeData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"ETHEREUM_LIKE_DEPLOY_CONTRACT":"#/components/schemas/EthereumLikeDeployContractData","ETHEREUM_LIKE_EXECUTE_CONTRACT":"#/components/schemas/EthereumLikeExecuteContractData","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendData","ETHEREUM_LIKE_STAKE_DEPOSIT":"#/components/schemas/EthereumLikeStakingDepositData","ETHEREUM_LIKE_STAKE_TOP_UP":"#/components/schemas/EthereumLikeStakingTopUpData","ETHEREUM_LIKE_STAKE_WITHDRAW":"#/components/schemas/EthereumLikeStakingWithdrawData","ETHEREUM_LIKE_STAKE_CONSOLIDATE":"#/components/schemas/EthereumLikeStakingConsolidateData","ETHEREUM_LIKE_STAKE_UPGRADE":"#/components/schemas/EthereumLikeStakingUpgradeData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]},"maxAllowedRiskLevel":{"description":"Maximum scan risk level the request creator consented to. The creation-time scan aborts the request when the canonical verdict exceeds this bound. Defaults to UNAVAILABLE (no gate).","$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/EthereumLikeDeployContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeExecuteContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingDepositDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingTopUpDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingWithdrawDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingConsolidateDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingUpgradeDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"ETHEREUM_LIKE_DEPLOY_CONTRACT":"#/components/schemas/EthereumLikeDeployContractDataOutput","ETHEREUM_LIKE_EXECUTE_CONTRACT":"#/components/schemas/EthereumLikeExecuteContractDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","ETHEREUM_LIKE_STAKE_DEPOSIT":"#/components/schemas/EthereumLikeStakingDepositDataOutput","ETHEREUM_LIKE_STAKE_TOP_UP":"#/components/schemas/EthereumLikeStakingTopUpDataOutput","ETHEREUM_LIKE_STAKE_WITHDRAW":"#/components/schemas/EthereumLikeStakingWithdrawDataOutput","ETHEREUM_LIKE_STAKE_CONSOLIDATE":"#/components/schemas/EthereumLikeStakingConsolidateDataOutput","ETHEREUM_LIKE_STAKE_UPGRADE":"#/components/schemas/EthereumLikeStakingUpgradeDataOutput"}}},"maxAllowedRiskLevel":{"$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"Transaction request"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/transaction/hedera":{"post":{"operationId":"requests-createHederaTransaction","summary":"Create a Hedera transaction request","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/HederaLikeSendData"},{"$ref":"#/components/schemas/HederaLikeSendTokenData"},{"$ref":"#/components/schemas/HederaLikeStakeData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendData","HEDERA_LIKE_SEND_TOKEN":"#/components/schemas/HederaLikeSendTokenData","HEDERA_LIKE_STAKE":"#/components/schemas/HederaLikeStakeData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/HederaLikeStakeDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","HEDERA_LIKE_SEND_TOKEN":"#/components/schemas/HederaLikeSendTokenDataOutput","HEDERA_LIKE_STAKE":"#/components/schemas/HederaLikeStakeDataOutput"}}},"maxAllowedRiskLevel":{"$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"Transaction request"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/transaction/tezos":{"post":{"operationId":"requests-createTezosTransaction","summary":"Create a Tezos transaction request","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/TezosLikeSendData"},{"$ref":"#/components/schemas/TezosLikeDelegateData"},{"$ref":"#/components/schemas/TezosLikeUndelegateData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendData","TEZOS_LIKE_DELEGATE":"#/components/schemas/TezosLikeDelegateData","TEZOS_LIKE_UNDELEGATE":"#/components/schemas/TezosLikeUndelegateData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/TezosLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeDelegateDataOutput"},{"$ref":"#/components/schemas/TezosLikeUndelegateDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput","TEZOS_LIKE_DELEGATE":"#/components/schemas/TezosLikeDelegateDataOutput","TEZOS_LIKE_UNDELEGATE":"#/components/schemas/TezosLikeUndelegateDataOutput"}}},"maxAllowedRiskLevel":{"$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"Transaction request"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/transaction/stellar":{"post":{"operationId":"requests-createStellarTransaction","summary":"Create a Stellar transaction request","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/StellarLikeSendData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/StellarLikeSendDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput"}}},"maxAllowedRiskLevel":{"$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"Transaction request"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/transaction/canton":{"post":{"operationId":"requests-createCantonTransaction","summary":"Create a Canton transaction request","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/CantonLikeSendData"},{"$ref":"#/components/schemas/CantonLikeSendTokenData"},{"$ref":"#/components/schemas/CantonLikeWithdrawData"},{"$ref":"#/components/schemas/CantonLikeReceiveData"},{"$ref":"#/components/schemas/CantonLikePreApprovalData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendData","CANTON_LIKE_SEND_TOKEN":"#/components/schemas/CantonLikeSendTokenData","CANTON_LIKE_WITHDRAW":"#/components/schemas/CantonLikeWithdrawData","CANTON_LIKE_RECEIVE":"#/components/schemas/CantonLikeReceiveData","CANTON_LIKE_PRE_APPROVAL":"#/components/schemas/CantonLikePreApprovalData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/CantonLikeWithdrawDataOutput"},{"$ref":"#/components/schemas/CantonLikeReceiveDataOutput"},{"$ref":"#/components/schemas/CantonLikePreApprovalDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CANTON_LIKE_SEND_TOKEN":"#/components/schemas/CantonLikeSendTokenDataOutput","CANTON_LIKE_WITHDRAW":"#/components/schemas/CantonLikeWithdrawDataOutput","CANTON_LIKE_RECEIVE":"#/components/schemas/CantonLikeReceiveDataOutput","CANTON_LIKE_PRE_APPROVAL":"#/components/schemas/CantonLikePreApprovalDataOutput"}}},"maxAllowedRiskLevel":{"$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"Transaction request"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/transaction/tron":{"post":{"operationId":"requests-createTronTransaction","summary":"Create a Tron transaction request","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/TronLikeSendData"},{"$ref":"#/components/schemas/TronLikeSendTokenData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"TRON_LIKE_SEND":"#/components/schemas/TronLikeSendData","TRON_LIKE_SEND_TOKEN":"#/components/schemas/TronLikeSendTokenData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/TronLikeSendDataOutput"},{"$ref":"#/components/schemas/TronLikeSendTokenDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"TRON_LIKE_SEND":"#/components/schemas/TronLikeSendDataOutput","TRON_LIKE_SEND_TOKEN":"#/components/schemas/TronLikeSendTokenDataOutput"}}},"maxAllowedRiskLevel":{"$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"Transaction request"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/transaction/bitcoin":{"post":{"operationId":"requests-createBitcoinTransaction","summary":"Create a Bitcoin transaction request","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput"}}},"maxAllowedRiskLevel":{"$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"Transaction request"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/transaction/ripple":{"post":{"operationId":"requests-createRippleTransaction","summary":"Create a Ripple transaction request","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/RippleLikeSendData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/RippleLikeSendDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput"}}},"maxAllowedRiskLevel":{"$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"Transaction request"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/create-account":{"post":{"operationId":"requests-createAccount","summary":"Create an account","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"HSM object name"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"index":{"description":"Account index","type":"number","minimum":0},"contractAddress":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token issuer"},"tokenIdentifier":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token identifier"},"bitcoinAddressDerivationMode":{"description":"Bitcoin address derivation mode. STATIC reuses the account's first receive address; NEW (default) returns a fresh address each time. Only valid for bitcoin accounts.","type":"string","enum":["NEW","STATIC"]},"portfolioIds":{"description":"Ids of the portfolios the account will be attached to once the request is fully approved.","type":"array","items":{"type":"string"}},"policyId":{"type":"string","minLength":1,"description":"Account policy"}},"required":["name","currency","contractAddress","tokenIdentifier","policyId"],"description":"Create account request data (for API admin only)"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultRequestResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/sign-digests":{"post":{"operationId":"requests-signDigests","summary":"Sign digests","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"digests":{"type":"array","items":{"type":"object","properties":{"digest":{"type":"string","pattern":"^[0-9a-fA-F]+$","description":"The hex string digest to sign"},"derivationPath":{"type":"string","minLength":1,"description":"The derivation path with which to sign the digest"}},"required":["digest","derivationPath"]},"description":"The digests to sign"}},"required":["accountId","digests"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultRequestResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/sign-message":{"post":{"operationId":"requests-signMessage","summary":"Sign a message","tags":["request"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"EIP191"},"data":{"$ref":"#/components/schemas/MessageHexData"}},"required":["type","data"]},{"type":"object","properties":{"type":{"type":"string","const":"EIP712"},"data":{"$ref":"#/components/schemas/Eip712Data"}},"required":["type","data"]},{"type":"object","properties":{"type":{"type":"string","const":"CIP8"},"data":{"$ref":"#/components/schemas/MessageHexData"},"signingKey":{"type":"string","enum":["PAYMENT","STAKE"],"description":"CIP-8 signing key"}},"required":["type","data","signingKey"]},{"type":"object","properties":{"type":{"type":"string","const":"BIP137"},"data":{"$ref":"#/components/schemas/MessageHexData"}},"required":["type","data"]}],"description":"Message to sign","type":"object"},"accountId":{"type":"string","minLength":1,"description":"Target account id"},"address":{"type":"string","minLength":1,"description":"Address with which to sign the message"},"derivationPath":{"type":"string","minLength":1,"description":"Derivation path of the signing address"}},"required":["message","accountId"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultRequestResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/{id}/approve":{"post":{"operationId":"requests-approve","summary":"Approve a request from the current user","tags":["request"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"ID of the request to approve"},"required":true,"description":"ID of the request to approve"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","properties":{"challengeType":{"type":"string","enum":["PSD","API"],"description":"Challenge type"},"signature":{"type":"string","minLength":1,"description":"Challenge signature"}},"required":["challengeType","signature"]},{"type":"object","properties":{"challengeType":{"type":"string","enum":["SOFT"],"description":"Challenge type"}},"required":["challengeType"]}],"type":"object"}},"required":["data"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultRequestResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/requests/{id}/reject":{"post":{"operationId":"requests-reject","summary":"Reject a request from the current user","tags":["request"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"ID of the request to reject"},"required":true,"description":"ID of the request to reject"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"anyOf":[{"type":"object","properties":{"signature":{"type":"string","minLength":1},"challengeType":{"type":"string","const":"API"}},"required":["signature","challengeType"]},{"type":"null"}],"description":"Response to the challenge"}},"required":["data"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultRequestResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/assets/currencies":{"get":{"operationId":"assets-currencies","summary":"List currencies","tags":["assets"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"cursor","schema":{"type":"string","description":"Optional cursor to get next pages (based on the `next` key on query response)"}},{"in":"query","name":"search","schema":{"type":"string","description":"Search by name, ticker"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"next":{"description":"Next page cursor","type":["string","null"]},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Asset identifier"},"name":{"type":"string","description":"Asset name"},"ticker":{"type":"string","description":"Asset ticker"},"type":{"type":"string","enum":["BITCOIN_LIKE","CANTON_LIKE","CARDANO_LIKE","ETHEREUM_LIKE","GENERIC_LIKE","HEDERA_LIKE","POLKADOT_LIKE","RAW_SIGNING","RIPPLE_LIKE","SOLANA_LIKE","STELLAR_LIKE","SUI_LIKE","TEZOS_LIKE","TRON_LIKE"],"description":"Asset type"},"units":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Unit denomination, e.g: wei, Gwei, etc."},"name":{"type":"string","description":"Full name"},"magnitude":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of decimals place"}},"required":["code","name","magnitude"],"additionalProperties":false,"description":"Asset units"},"description":"Asset units"}},"required":["id","name","ticker","type","units"],"additionalProperties":false},"description":"Array of results"}},"required":["next","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/assets/tokens":{"get":{"operationId":"assets-tokens","summary":"List tokens","tags":["assets"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"cursor","schema":{"type":"string","description":"Optional cursor to get next pages (based on the `next` key on query response)"}},{"in":"query","name":"search","schema":{"type":"string","description":"Search by name, ticker, or contract address"}},{"in":"query","name":"network","schema":{"type":"string","description":"Filter by network (e.g. ethereum)"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"next":{"description":"Next page cursor","type":["string","null"]},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Asset identifier"},"name":{"type":"string","description":"Asset name"},"ticker":{"type":"string","description":"Asset ticker"},"type":{"type":"string","enum":["BITCOIN_LIKE","CANTON_LIKE","CARDANO_LIKE","ETHEREUM_LIKE","GENERIC_LIKE","HEDERA_LIKE","POLKADOT_LIKE","RAW_SIGNING","RIPPLE_LIKE","SOLANA_LIKE","STELLAR_LIKE","SUI_LIKE","TEZOS_LIKE","TRON_LIKE"],"description":"Asset type"},"units":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Unit denomination, e.g: wei, Gwei, etc."},"name":{"type":"string","description":"Full name"},"magnitude":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of decimals place"}},"required":["code","name","magnitude"],"additionalProperties":false,"description":"Asset units"},"description":"Asset units"},"contractAddress":{"type":"string","description":"Token contract address"},"currency":{"type":"string","description":"Parent currency"}},"required":["id","name","ticker","type","units","contractAddress","currency"],"additionalProperties":false},"description":"Array of results"}},"required":["next","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/tradelink/network":{"get":{"operationId":"tradelink-getNetwork","summary":"Get Tradelink network instance","description":"Get the materialized Tradelink Network configuration of workspace","tags":["tradelink"],"security":[{"Authorization":[]}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"custodian":{"type":"object","properties":{"id":{"type":"string"},"settlement":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"}},"withdraw":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"}},"arbitration":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"}}},"required":["id","settlement","withdraw","arbitration"],"additionalProperties":false},"exchanges":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["ASSET_MANAGER","EXCHANGE"]},"id":{"type":"string"},"tradelinkId":{"type":"string"},"groups":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"}},"whitelist":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1}},"required":["name","currency","address"],"additionalProperties":false}}},"required":["type","id","tradelinkId","groups","whitelist"],"additionalProperties":false}},"assetManagers":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["ASSET_MANAGER","EXCHANGE"]},"id":{"type":"string"},"tradelinkId":{"type":"string"},"groups":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"}},"whitelist":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1}},"required":["name","currency","address"],"additionalProperties":false}}},"required":["type","id","tradelinkId","groups","whitelist"],"additionalProperties":false}}},"required":["custodian","exchanges","assetManagers"],"additionalProperties":false},{"type":"null"}]}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/tradelink/network/blueprint":{"get":{"operationId":"tradelink-getNetworkBlueprint","summary":"Get Tradelink network blueprint","description":"Get the Tradelink network blueprint with all available Network configuration options","tags":["tradelink"],"security":[{"Authorization":[]}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"tradelinkId":{"type":"string","description":"Unique identifier of this network in Tradelink"},"workspaceName":{"type":"string","minLength":1,"maxLength":20,"pattern":"^[a-z0-9]+$"},"custodian":{"$ref":"#/components/schemas/TradelinkOrgEntityResponse"},"assetManagers":{"type":"array","items":{"$ref":"#/components/schemas/TradelinkOrgEntityResponse"}},"exchanges":{"type":"array","items":{"$ref":"#/components/schemas/TradelinkOrgEntityResponse"}}},"required":["tradelinkId","workspaceName","custodian","assetManagers","exchanges"],"additionalProperties":false},{"type":"null"}]}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/tradelink/settlements":{"get":{"operationId":"tradelink-listSettlements","summary":"Get Tradelink settlements","description":"Get the Tradelink settlements for the workspace","tags":["tradelink"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"pledgeId","schema":{"type":"string"}},{"in":"query","name":"accountId","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/SettlementResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/tradelink/settlements/{settlementId}":{"get":{"operationId":"tradelink-getSettlement","summary":"Get Tradelink settlement","description":"Get a Tradelink settlement by its Id","tags":["tradelink"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"settlementId","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettlementResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/notifications/webhooks":{"get":{"operationId":"webhooks-list","summary":"List webhooks","tags":["webhook"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"search","schema":{"type":"string","minLength":1,"description":"Match the endpoint name or url (case-insensitive substring)"}},{"in":"query","name":"status","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["ENABLED","DISABLED","BROKEN"]},"description":"Only the webhooks with one of these statuses"},{"type":"string","enum":["ENABLED","DISABLED","BROKEN"],"description":"Only the webhooks with this status"}],"description":"Filter the webhooks by status"}},{"in":"query","name":"fromDate","schema":{"description":"Only the webhooks created at or after this date","type":"string"}},{"in":"query","name":"toDate","schema":{"description":"Only the webhooks created at or before this date","type":"string"}},{"in":"query","name":"sortBy","schema":{"default":"createdAt","description":"Sort by creation date, or by when a delivery was last recorded (never last)","type":"string","enum":["createdAt","lastDeliveryAt"]}},{"in":"query","name":"sortOrder","schema":{"default":"desc","description":"Sort order","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Webhook id"},"name":{"type":"string","description":"What an admin calls this endpoint"},"description":{"description":"What the endpoint is for; free text","type":["string","null"]},"url":{"type":"string","format":"uri","description":"Full URL of the webhook"},"status":{"type":"string","enum":["ENABLED","DISABLED","BROKEN"],"description":"Lifecycle status"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Rule id"},"actions":{"type":"array","items":{"type":"string","enum":["RequestCreated","RequestReceivedApproval","RequestReceivedRejection","RequestActivatedReviews","RequestApproved","RequestExecuted","RequestAborted","RequestFailed","RequestExpired","TransactionScheduled","TransactionSubmitted","TransactionOnChain","TransactionConfirmed","TransactionDropped","TransactionFailed","TransactionUnknown","AccountBalanceUpdated","TransactionScanCompleted","TransactionScanEscalated","UserSuspended","UserUnsuspended","UserRegistrationCompleted","ReportCompleted","ReportFailed"]},"description":"Subscribed event types"},"requestTypes":{"type":"array","items":{"type":"string","enum":["UPDATE_QUORUM","EDIT_EXTERNAL_SIGNER_PUBKEYS","CREATE_TRANSACTION","SIGN_MESSAGE","SIGN_DIGESTS","CREATE_ACCOUNT","EDIT_ACCOUNT","CREATE_GROUP","EDIT_GROUP","REVOKE_GROUP","CREATE_WHITELIST","EDIT_WHITELIST","CREATE_ENTITY","EDIT_ENTITY","REVOKE_ENTITY","CREATE_PSD_USER","CREATE_API_USER","CREATE_API_USER_ACCESS","REVOKE_USER","EDIT_WORKSPACE_RULE","CREATE_SCICONFIG","EDIT_SCICONFIG","CREATE_API_KEY","EDIT_API_KEY","REVOKE_API_KEY","CREATE_POLICY","EDIT_POLICY","EDIT_TOKEN_RULE","TRADELINK_CREATE_CUSTODIAN","TRADELINK_EDIT_CUSTODIAN","TRADELINK_CREATE_EXCHANGE","TRADELINK_EDIT_EXCHANGE","TRADELINK_CREATE_ASSET_MANAGER","TRADELINK_EDIT_ASSET_MANAGER","TRADELINK_ACTIVATE_ACCOUNT","TRADELINK_ADJUST_PLEDGE","TRADELINK_CREATE_SETTLEMENT","TRADELINK_FORCE_UNPLEDGE","TRADELINK_ARBITRATE","TRADELINK_WITHDRAW","TRADELINK_REPLEDGE"]},"description":"Request-family filter"}},"required":["id","actions","requestTypes"],"additionalProperties":false},"description":"Subscription rules"},"scopeUserIds":{"type":"array","items":{"type":"string"},"description":"Operator ids narrowing delivery"},"retryStrategy":{"type":"string","enum":["FIXED","LINEAR","EXPONENTIAL"],"description":"Backoff shape"},"maxRetries":{"type":"number","description":"Max delivery attempts"},"initialIntervalMs":{"type":"number","description":"Initial backoff interval (ms)"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last update timestamp","type":"string"},"consecutiveFailures":{"type":"number","description":"Settled failures in a row; explains a BROKEN status"},"brokenSince":{"description":"When the endpoint broke; events are kept from that date for a replay","type":["string","null"]},"stats":{"type":"object","properties":{"windowDays":{"type":"number","description":"Days the rate is computed over"},"delivered":{"type":"number","description":"Deliveries that succeeded in the window"},"failed":{"type":"number","description":"Deliveries that exhausted their attempts in the window"},"successRate":{"description":"delivered / total, null when no delivery","type":["number","null"]}},"required":["windowDays","delivered","failed","successRate"],"additionalProperties":false,"description":"Delivery health over the recent window"},"lastDeliveryAt":{"description":"When a delivery of the endpoint was last recorded: an attempt that settled or will retry, or an event parked. Outlives the delivery history; null when none ever was","type":["string","null"]},"lastDelivery":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","description":"Delivery id"},"status":{"type":"string","enum":["SUCCEEDED","FAILED","RETRYING","PARKED"],"description":"SUCCEEDED, FAILED once the attempts ran out, RETRYING while the queue will try again at `nextAttemptAt`, or PARKED when the endpoint was already broken"},"action":{"type":"string","description":"Event type the delivery carried"},"eventId":{"type":"string","description":"Id of the event, stable across channels and replays"},"createdAt":{"description":"When the delivery was first recorded: its first failed attempt if it retried, otherwise when the outcome settled","type":"string"},"replayedAt":{"description":"When a replay sent it again, null otherwise","type":["string","null"]},"lastAttemptHttpStatus":{"description":"Status code the endpoint answered on the last attempt. Null when it never answered, on a PARKED delivery, and on a delivery settled before this field existed","type":["number","null"]},"lastAttemptErrorClass":{"anyOf":[{"type":"string","enum":["timeout","dns","connection","tls","http_3xx","http_4xx","http_5xx","unknown"]},{"type":"null"}],"description":"Why the last attempt failed. Null on a success, on a PARKED delivery, and on a delivery settled before this field existed"},"lastAttemptLatencyMs":{"description":"Duration of the HTTP call of the last attempt, in milliseconds. Null on a PARKED delivery, when the attempt failed before the call started, and on a delivery settled before this field existed","type":["number","null"]},"attempts":{"description":"Attempts spent, including the one that settled the outcome. Null on a PARKED delivery and on a delivery settled before this field existed","type":["number","null"]},"maxAttempts":{"description":"Attempts the delivery is allowed. Null on a PARKED delivery and on a delivery settled before this field existed","type":["number","null"]},"nextAttemptAt":{"description":"When the queue tries a RETRYING delivery again. Null on any other status","type":["string","null"]}},"required":["id","status","action","eventId","createdAt","replayedAt","lastAttemptHttpStatus","lastAttemptErrorClass","lastAttemptLatencyMs","attempts","maxAttempts","nextAttemptAt"],"additionalProperties":false},{"type":"null"}],"description":"The delivery recorded at `lastDeliveryAt`, RETRYING included. Null when none was, and once that row is purged: a PARKED row after the parking window, any other after the history retention"}},"required":["id","name","description","url","status","rules","scopeUserIds","retryStrategy","maxRetries","initialIntervalMs","createdAt","updatedAt","consecutiveFailures","brokenSince","stats","lastDeliveryAt","lastDelivery"],"additionalProperties":false},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"post":{"operationId":"webhooks-create","summary":"Create a webhook","tags":["webhook"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60,"description":"What an admin calls this endpoint"},"description":{"type":"string","maxLength":500,"description":"What the endpoint is for; free text"},"url":{"description":"Full URL of the webhook","type":"string","maxLength":255,"format":"uri"},"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"actions":{"minItems":1,"type":"array","items":{"type":"string","enum":["RequestCreated","RequestReceivedApproval","RequestReceivedRejection","RequestActivatedReviews","RequestApproved","RequestExecuted","RequestAborted","RequestFailed","RequestExpired","TransactionScheduled","TransactionSubmitted","TransactionOnChain","TransactionConfirmed","TransactionDropped","TransactionFailed","TransactionUnknown","AccountBalanceUpdated","TransactionScanCompleted","TransactionScanEscalated","UserRegistrationCompleted","UserSuspended","UserUnsuspended","ReportCompleted","ReportFailed"]},"description":"Event types this rule subscribes to"},"requestTypes":{"default":[],"description":"Request-family filter; empty = all request types","type":"array","items":{"type":"string","enum":["UPDATE_QUORUM","EDIT_EXTERNAL_SIGNER_PUBKEYS","CREATE_TRANSACTION","SIGN_MESSAGE","SIGN_DIGESTS","CREATE_ACCOUNT","EDIT_ACCOUNT","CREATE_GROUP","EDIT_GROUP","REVOKE_GROUP","CREATE_WHITELIST","EDIT_WHITELIST","CREATE_ENTITY","EDIT_ENTITY","REVOKE_ENTITY","CREATE_PSD_USER","CREATE_API_USER","CREATE_API_USER_ACCESS","REVOKE_USER","EDIT_WORKSPACE_RULE","CREATE_SCICONFIG","EDIT_SCICONFIG","CREATE_API_KEY","EDIT_API_KEY","REVOKE_API_KEY","CREATE_POLICY","EDIT_POLICY","EDIT_TOKEN_RULE","TRADELINK_CREATE_CUSTODIAN","TRADELINK_EDIT_CUSTODIAN","TRADELINK_CREATE_EXCHANGE","TRADELINK_EDIT_EXCHANGE","TRADELINK_CREATE_ASSET_MANAGER","TRADELINK_EDIT_ASSET_MANAGER","TRADELINK_ACTIVATE_ACCOUNT","TRADELINK_ADJUST_PLEDGE","TRADELINK_CREATE_SETTLEMENT","TRADELINK_FORCE_UNPLEDGE","TRADELINK_ARBITRATE","TRADELINK_WITHDRAW","TRADELINK_REPLEDGE"]}}},"required":["actions"],"additionalProperties":false},"description":"Subscription rules"},"secret":{"description":"Existing signing secret to reuse; generated when omitted","type":"string","minLength":1,"maxLength":255},"scopeUserIds":{"default":[],"description":"Operator ids narrowing delivery. Empty delivers every event of the workspace. When set, an event is delivered only if one of these operators is a recipient of it, so the endpoint receives no administration event: those go to admins, and this list holds operators.","type":"array","items":{"type":"string"}},"retryStrategy":{"default":"EXPONENTIAL","description":"Backoff shape between delivery attempts","type":"string","enum":["FIXED","LINEAR","EXPONENTIAL"]},"maxRetries":{"default":10,"description":"Max delivery attempts","type":"integer","minimum":0,"maximum":20},"initialIntervalMs":{"default":5000,"description":"Initial backoff interval (ms)","type":"integer","minimum":100,"maximum":60000}},"required":["name","url","rules"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Webhook id"},"name":{"type":"string","description":"What an admin calls this endpoint"},"description":{"description":"What the endpoint is for; free text","type":["string","null"]},"url":{"type":"string","format":"uri","description":"Full URL of the webhook"},"status":{"type":"string","enum":["ENABLED","DISABLED","BROKEN"],"description":"Lifecycle status"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Rule id"},"actions":{"type":"array","items":{"type":"string","enum":["RequestCreated","RequestReceivedApproval","RequestReceivedRejection","RequestActivatedReviews","RequestApproved","RequestExecuted","RequestAborted","RequestFailed","RequestExpired","TransactionScheduled","TransactionSubmitted","TransactionOnChain","TransactionConfirmed","TransactionDropped","TransactionFailed","TransactionUnknown","AccountBalanceUpdated","TransactionScanCompleted","TransactionScanEscalated","UserSuspended","UserUnsuspended","UserRegistrationCompleted","ReportCompleted","ReportFailed"]},"description":"Subscribed event types"},"requestTypes":{"type":"array","items":{"type":"string","enum":["UPDATE_QUORUM","EDIT_EXTERNAL_SIGNER_PUBKEYS","CREATE_TRANSACTION","SIGN_MESSAGE","SIGN_DIGESTS","CREATE_ACCOUNT","EDIT_ACCOUNT","CREATE_GROUP","EDIT_GROUP","REVOKE_GROUP","CREATE_WHITELIST","EDIT_WHITELIST","CREATE_ENTITY","EDIT_ENTITY","REVOKE_ENTITY","CREATE_PSD_USER","CREATE_API_USER","CREATE_API_USER_ACCESS","REVOKE_USER","EDIT_WORKSPACE_RULE","CREATE_SCICONFIG","EDIT_SCICONFIG","CREATE_API_KEY","EDIT_API_KEY","REVOKE_API_KEY","CREATE_POLICY","EDIT_POLICY","EDIT_TOKEN_RULE","TRADELINK_CREATE_CUSTODIAN","TRADELINK_EDIT_CUSTODIAN","TRADELINK_CREATE_EXCHANGE","TRADELINK_EDIT_EXCHANGE","TRADELINK_CREATE_ASSET_MANAGER","TRADELINK_EDIT_ASSET_MANAGER","TRADELINK_ACTIVATE_ACCOUNT","TRADELINK_ADJUST_PLEDGE","TRADELINK_CREATE_SETTLEMENT","TRADELINK_FORCE_UNPLEDGE","TRADELINK_ARBITRATE","TRADELINK_WITHDRAW","TRADELINK_REPLEDGE"]},"description":"Request-family filter"}},"required":["id","actions","requestTypes"],"additionalProperties":false},"description":"Subscription rules"},"scopeUserIds":{"type":"array","items":{"type":"string"},"description":"Operator ids narrowing delivery"},"retryStrategy":{"type":"string","enum":["FIXED","LINEAR","EXPONENTIAL"],"description":"Backoff shape"},"maxRetries":{"type":"number","description":"Max delivery attempts"},"initialIntervalMs":{"type":"number","description":"Initial backoff interval (ms)"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last update timestamp","type":"string"},"secret":{"type":"string","description":"Signing secret, shown once and never retrievable again"}},"required":["id","name","description","url","status","rules","scopeUserIds","retryStrategy","maxRetries","initialIntervalMs","createdAt","updatedAt","secret"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/notifications/webhooks/{id}":{"get":{"operationId":"webhooks-findById","summary":"Get webhook by ID","tags":["webhook"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target webhook"},"required":true,"description":"Id of the target webhook"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Webhook id"},"name":{"type":"string","description":"What an admin calls this endpoint"},"description":{"description":"What the endpoint is for; free text","type":["string","null"]},"url":{"type":"string","format":"uri","description":"Full URL of the webhook"},"status":{"type":"string","enum":["ENABLED","DISABLED","BROKEN"],"description":"Lifecycle status"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Rule id"},"actions":{"type":"array","items":{"type":"string","enum":["RequestCreated","RequestReceivedApproval","RequestReceivedRejection","RequestActivatedReviews","RequestApproved","RequestExecuted","RequestAborted","RequestFailed","RequestExpired","TransactionScheduled","TransactionSubmitted","TransactionOnChain","TransactionConfirmed","TransactionDropped","TransactionFailed","TransactionUnknown","AccountBalanceUpdated","TransactionScanCompleted","TransactionScanEscalated","UserSuspended","UserUnsuspended","UserRegistrationCompleted","ReportCompleted","ReportFailed"]},"description":"Subscribed event types"},"requestTypes":{"type":"array","items":{"type":"string","enum":["UPDATE_QUORUM","EDIT_EXTERNAL_SIGNER_PUBKEYS","CREATE_TRANSACTION","SIGN_MESSAGE","SIGN_DIGESTS","CREATE_ACCOUNT","EDIT_ACCOUNT","CREATE_GROUP","EDIT_GROUP","REVOKE_GROUP","CREATE_WHITELIST","EDIT_WHITELIST","CREATE_ENTITY","EDIT_ENTITY","REVOKE_ENTITY","CREATE_PSD_USER","CREATE_API_USER","CREATE_API_USER_ACCESS","REVOKE_USER","EDIT_WORKSPACE_RULE","CREATE_SCICONFIG","EDIT_SCICONFIG","CREATE_API_KEY","EDIT_API_KEY","REVOKE_API_KEY","CREATE_POLICY","EDIT_POLICY","EDIT_TOKEN_RULE","TRADELINK_CREATE_CUSTODIAN","TRADELINK_EDIT_CUSTODIAN","TRADELINK_CREATE_EXCHANGE","TRADELINK_EDIT_EXCHANGE","TRADELINK_CREATE_ASSET_MANAGER","TRADELINK_EDIT_ASSET_MANAGER","TRADELINK_ACTIVATE_ACCOUNT","TRADELINK_ADJUST_PLEDGE","TRADELINK_CREATE_SETTLEMENT","TRADELINK_FORCE_UNPLEDGE","TRADELINK_ARBITRATE","TRADELINK_WITHDRAW","TRADELINK_REPLEDGE"]},"description":"Request-family filter"}},"required":["id","actions","requestTypes"],"additionalProperties":false},"description":"Subscription rules"},"scopeUserIds":{"type":"array","items":{"type":"string"},"description":"Operator ids narrowing delivery"},"retryStrategy":{"type":"string","enum":["FIXED","LINEAR","EXPONENTIAL"],"description":"Backoff shape"},"maxRetries":{"type":"number","description":"Max delivery attempts"},"initialIntervalMs":{"type":"number","description":"Initial backoff interval (ms)"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last update timestamp","type":"string"},"consecutiveFailures":{"type":"number","description":"Settled failures in a row; explains a BROKEN status"},"brokenSince":{"description":"When the endpoint broke; events are kept from that date for a replay","type":["string","null"]},"stats":{"type":"object","properties":{"windowDays":{"type":"number","description":"Days the rate is computed over"},"delivered":{"type":"number","description":"Deliveries that succeeded in the window"},"failed":{"type":"number","description":"Deliveries that exhausted their attempts in the window"},"successRate":{"description":"delivered / total, null when no delivery","type":["number","null"]}},"required":["windowDays","delivered","failed","successRate"],"additionalProperties":false,"description":"Delivery health over the recent window"},"lastDeliveryAt":{"description":"When a delivery of the endpoint was last recorded: an attempt that settled or will retry, or an event parked. Outlives the delivery history; null when none ever was","type":["string","null"]},"lastDelivery":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","description":"Delivery id"},"status":{"type":"string","enum":["SUCCEEDED","FAILED","RETRYING","PARKED"],"description":"SUCCEEDED, FAILED once the attempts ran out, RETRYING while the queue will try again at `nextAttemptAt`, or PARKED when the endpoint was already broken"},"action":{"type":"string","description":"Event type the delivery carried"},"eventId":{"type":"string","description":"Id of the event, stable across channels and replays"},"createdAt":{"description":"When the delivery was first recorded: its first failed attempt if it retried, otherwise when the outcome settled","type":"string"},"replayedAt":{"description":"When a replay sent it again, null otherwise","type":["string","null"]},"lastAttemptHttpStatus":{"description":"Status code the endpoint answered on the last attempt. Null when it never answered, on a PARKED delivery, and on a delivery settled before this field existed","type":["number","null"]},"lastAttemptErrorClass":{"anyOf":[{"type":"string","enum":["timeout","dns","connection","tls","http_3xx","http_4xx","http_5xx","unknown"]},{"type":"null"}],"description":"Why the last attempt failed. Null on a success, on a PARKED delivery, and on a delivery settled before this field existed"},"lastAttemptLatencyMs":{"description":"Duration of the HTTP call of the last attempt, in milliseconds. Null on a PARKED delivery, when the attempt failed before the call started, and on a delivery settled before this field existed","type":["number","null"]},"attempts":{"description":"Attempts spent, including the one that settled the outcome. Null on a PARKED delivery and on a delivery settled before this field existed","type":["number","null"]},"maxAttempts":{"description":"Attempts the delivery is allowed. Null on a PARKED delivery and on a delivery settled before this field existed","type":["number","null"]},"nextAttemptAt":{"description":"When the queue tries a RETRYING delivery again. Null on any other status","type":["string","null"]}},"required":["id","status","action","eventId","createdAt","replayedAt","lastAttemptHttpStatus","lastAttemptErrorClass","lastAttemptLatencyMs","attempts","maxAttempts","nextAttemptAt"],"additionalProperties":false},{"type":"null"}],"description":"The delivery recorded at `lastDeliveryAt`, RETRYING included. Null when none was, and once that row is purged: a PARKED row after the parking window, any other after the history retention"}},"required":["id","name","description","url","status","rules","scopeUserIds","retryStrategy","maxRetries","initialIntervalMs","createdAt","updatedAt","consecutiveFailures","brokenSince","stats","lastDeliveryAt","lastDelivery"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"patch":{"operationId":"webhooks-update","summary":"Update a webhook","tags":["webhook"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target webhook"},"required":true,"description":"Id of the target webhook"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60,"description":"What an admin calls this endpoint"},"description":{"anyOf":[{"type":"string","maxLength":500,"description":"What the endpoint is for; free text"},{"type":"null"}]},"url":{"description":"Full URL of the webhook","type":"string","maxLength":255,"format":"uri"},"status":{"description":"Lifecycle status","type":"string","enum":["ENABLED","DISABLED","BROKEN"]},"rules":{"description":"Subscription rules","minItems":1,"type":"array","items":{"type":"object","properties":{"actions":{"minItems":1,"type":"array","items":{"type":"string","enum":["RequestCreated","RequestReceivedApproval","RequestReceivedRejection","RequestActivatedReviews","RequestApproved","RequestExecuted","RequestAborted","RequestFailed","RequestExpired","TransactionScheduled","TransactionSubmitted","TransactionOnChain","TransactionConfirmed","TransactionDropped","TransactionFailed","TransactionUnknown","AccountBalanceUpdated","TransactionScanCompleted","TransactionScanEscalated","UserRegistrationCompleted","UserSuspended","UserUnsuspended","ReportCompleted","ReportFailed"]},"description":"Event types this rule subscribes to"},"requestTypes":{"default":[],"description":"Request-family filter; empty = all request types","type":"array","items":{"type":"string","enum":["UPDATE_QUORUM","EDIT_EXTERNAL_SIGNER_PUBKEYS","CREATE_TRANSACTION","SIGN_MESSAGE","SIGN_DIGESTS","CREATE_ACCOUNT","EDIT_ACCOUNT","CREATE_GROUP","EDIT_GROUP","REVOKE_GROUP","CREATE_WHITELIST","EDIT_WHITELIST","CREATE_ENTITY","EDIT_ENTITY","REVOKE_ENTITY","CREATE_PSD_USER","CREATE_API_USER","CREATE_API_USER_ACCESS","REVOKE_USER","EDIT_WORKSPACE_RULE","CREATE_SCICONFIG","EDIT_SCICONFIG","CREATE_API_KEY","EDIT_API_KEY","REVOKE_API_KEY","CREATE_POLICY","EDIT_POLICY","EDIT_TOKEN_RULE","TRADELINK_CREATE_CUSTODIAN","TRADELINK_EDIT_CUSTODIAN","TRADELINK_CREATE_EXCHANGE","TRADELINK_EDIT_EXCHANGE","TRADELINK_CREATE_ASSET_MANAGER","TRADELINK_EDIT_ASSET_MANAGER","TRADELINK_ACTIVATE_ACCOUNT","TRADELINK_ADJUST_PLEDGE","TRADELINK_CREATE_SETTLEMENT","TRADELINK_FORCE_UNPLEDGE","TRADELINK_ARBITRATE","TRADELINK_WITHDRAW","TRADELINK_REPLEDGE"]}}},"required":["actions"],"additionalProperties":false}},"scopeUserIds":{"description":"Operator ids narrowing delivery. Empty delivers every event of the workspace. When set, an event is delivered only if one of these operators is a recipient of it, so the endpoint receives no administration event: those go to admins, and this list holds operators.","type":"array","items":{"type":"string"}},"retryStrategy":{"type":"string","enum":["FIXED","LINEAR","EXPONENTIAL"]},"maxRetries":{"type":"integer","minimum":0,"maximum":20},"initialIntervalMs":{"type":"integer","minimum":100,"maximum":60000}},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Webhook id"},"name":{"type":"string","description":"What an admin calls this endpoint"},"description":{"description":"What the endpoint is for; free text","type":["string","null"]},"url":{"type":"string","format":"uri","description":"Full URL of the webhook"},"status":{"type":"string","enum":["ENABLED","DISABLED","BROKEN"],"description":"Lifecycle status"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Rule id"},"actions":{"type":"array","items":{"type":"string","enum":["RequestCreated","RequestReceivedApproval","RequestReceivedRejection","RequestActivatedReviews","RequestApproved","RequestExecuted","RequestAborted","RequestFailed","RequestExpired","TransactionScheduled","TransactionSubmitted","TransactionOnChain","TransactionConfirmed","TransactionDropped","TransactionFailed","TransactionUnknown","AccountBalanceUpdated","TransactionScanCompleted","TransactionScanEscalated","UserSuspended","UserUnsuspended","UserRegistrationCompleted","ReportCompleted","ReportFailed"]},"description":"Subscribed event types"},"requestTypes":{"type":"array","items":{"type":"string","enum":["UPDATE_QUORUM","EDIT_EXTERNAL_SIGNER_PUBKEYS","CREATE_TRANSACTION","SIGN_MESSAGE","SIGN_DIGESTS","CREATE_ACCOUNT","EDIT_ACCOUNT","CREATE_GROUP","EDIT_GROUP","REVOKE_GROUP","CREATE_WHITELIST","EDIT_WHITELIST","CREATE_ENTITY","EDIT_ENTITY","REVOKE_ENTITY","CREATE_PSD_USER","CREATE_API_USER","CREATE_API_USER_ACCESS","REVOKE_USER","EDIT_WORKSPACE_RULE","CREATE_SCICONFIG","EDIT_SCICONFIG","CREATE_API_KEY","EDIT_API_KEY","REVOKE_API_KEY","CREATE_POLICY","EDIT_POLICY","EDIT_TOKEN_RULE","TRADELINK_CREATE_CUSTODIAN","TRADELINK_EDIT_CUSTODIAN","TRADELINK_CREATE_EXCHANGE","TRADELINK_EDIT_EXCHANGE","TRADELINK_CREATE_ASSET_MANAGER","TRADELINK_EDIT_ASSET_MANAGER","TRADELINK_ACTIVATE_ACCOUNT","TRADELINK_ADJUST_PLEDGE","TRADELINK_CREATE_SETTLEMENT","TRADELINK_FORCE_UNPLEDGE","TRADELINK_ARBITRATE","TRADELINK_WITHDRAW","TRADELINK_REPLEDGE"]},"description":"Request-family filter"}},"required":["id","actions","requestTypes"],"additionalProperties":false},"description":"Subscription rules"},"scopeUserIds":{"type":"array","items":{"type":"string"},"description":"Operator ids narrowing delivery"},"retryStrategy":{"type":"string","enum":["FIXED","LINEAR","EXPONENTIAL"],"description":"Backoff shape"},"maxRetries":{"type":"number","description":"Max delivery attempts"},"initialIntervalMs":{"type":"number","description":"Initial backoff interval (ms)"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last update timestamp","type":"string"}},"required":["id","name","description","url","status","rules","scopeUserIds","retryStrategy","maxRetries","initialIntervalMs","createdAt","updatedAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"webhooks-delete","summary":"Delete a webhook","tags":["webhook"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target webhook"},"required":true,"description":"Id of the target webhook"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Always true"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/notifications/webhooks/{id}/deliveries":{"get":{"operationId":"webhooks-deliveries","summary":"List the recent deliveries of a webhook","tags":["webhook"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target webhook"},"required":true,"description":"Id of the target webhook"},{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"status","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["SUCCEEDED","FAILED","RETRYING","PARKED"]},"description":"Only the deliveries with one of these statuses"},{"type":"string","enum":["SUCCEEDED","FAILED","RETRYING","PARKED"],"description":"Only the deliveries with this status"}],"description":"Filter the deliveries by status"}},{"in":"query","name":"action","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["RequestCreated","RequestReceivedApproval","RequestReceivedRejection","RequestActivatedReviews","RequestApproved","RequestExecuted","RequestAborted","RequestFailed","RequestExpired","TransactionScheduled","TransactionSubmitted","TransactionOnChain","TransactionConfirmed","TransactionDropped","TransactionFailed","TransactionUnknown","AccountBalanceUpdated","TransactionScanCompleted","TransactionScanEscalated","UserSuspended","UserUnsuspended","UserRegistrationCompleted","ReportCompleted","ReportFailed"]},"description":"Only the deliveries of one of these event types"},{"type":"string","enum":["RequestCreated","RequestReceivedApproval","RequestReceivedRejection","RequestActivatedReviews","RequestApproved","RequestExecuted","RequestAborted","RequestFailed","RequestExpired","TransactionScheduled","TransactionSubmitted","TransactionOnChain","TransactionConfirmed","TransactionDropped","TransactionFailed","TransactionUnknown","AccountBalanceUpdated","TransactionScanCompleted","TransactionScanEscalated","UserSuspended","UserUnsuspended","UserRegistrationCompleted","ReportCompleted","ReportFailed"],"description":"Only the deliveries of this event type"}],"description":"Filter the deliveries by event type"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"description":"Next page or null if there is none","type":["number","null"]},"prev":{"description":"Previous page or null if there is none","type":["number","null"]},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Delivery id"},"status":{"type":"string","enum":["SUCCEEDED","FAILED","RETRYING","PARKED"],"description":"SUCCEEDED, FAILED once the attempts ran out, RETRYING while the queue will try again at `nextAttemptAt`, or PARKED when the endpoint was already broken"},"action":{"type":"string","description":"Event type the delivery carried"},"eventId":{"type":"string","description":"Id of the event, stable across channels and replays"},"createdAt":{"description":"When the delivery was first recorded: its first failed attempt if it retried, otherwise when the outcome settled","type":"string"},"replayedAt":{"description":"When a replay sent it again, null otherwise","type":["string","null"]},"lastAttemptHttpStatus":{"description":"Status code the endpoint answered on the last attempt. Null when it never answered, on a PARKED delivery, and on a delivery settled before this field existed","type":["number","null"]},"lastAttemptErrorClass":{"anyOf":[{"type":"string","enum":["timeout","dns","connection","tls","http_3xx","http_4xx","http_5xx","unknown"]},{"type":"null"}],"description":"Why the last attempt failed. Null on a success, on a PARKED delivery, and on a delivery settled before this field existed"},"lastAttemptLatencyMs":{"description":"Duration of the HTTP call of the last attempt, in milliseconds. Null on a PARKED delivery, when the attempt failed before the call started, and on a delivery settled before this field existed","type":["number","null"]},"attempts":{"description":"Attempts spent, including the one that settled the outcome. Null on a PARKED delivery and on a delivery settled before this field existed","type":["number","null"]},"maxAttempts":{"description":"Attempts the delivery is allowed. Null on a PARKED delivery and on a delivery settled before this field existed","type":["number","null"]},"nextAttemptAt":{"description":"When the queue tries a RETRYING delivery again. Null on any other status","type":["string","null"]}},"required":["id","status","action","eventId","createdAt","replayedAt","lastAttemptHttpStatus","lastAttemptErrorClass","lastAttemptLatencyMs","attempts","maxAttempts","nextAttemptAt"],"additionalProperties":false},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/notifications/webhooks/{id}/deliveries/{deliveryId}":{"get":{"operationId":"webhooks-delivery","summary":"Get a webhook delivery","tags":["webhook"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target webhook"},"required":true,"description":"Id of the target webhook"},{"in":"path","name":"deliveryId","schema":{"type":"string","description":"Id of the target delivery"},"required":true,"description":"Id of the target delivery"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Delivery id"},"status":{"type":"string","enum":["SUCCEEDED","FAILED","RETRYING","PARKED"],"description":"SUCCEEDED, FAILED once the attempts ran out, RETRYING while the queue will try again at `nextAttemptAt`, or PARKED when the endpoint was already broken"},"action":{"type":"string","description":"Event type the delivery carried"},"eventId":{"type":"string","description":"Id of the event, stable across channels and replays"},"createdAt":{"description":"When the delivery was first recorded: its first failed attempt if it retried, otherwise when the outcome settled","type":"string"},"replayedAt":{"description":"When a replay sent it again, null otherwise","type":["string","null"]},"lastAttemptHttpStatus":{"description":"Status code the endpoint answered on the last attempt. Null when it never answered, on a PARKED delivery, and on a delivery settled before this field existed","type":["number","null"]},"lastAttemptErrorClass":{"anyOf":[{"type":"string","enum":["timeout","dns","connection","tls","http_3xx","http_4xx","http_5xx","unknown"]},{"type":"null"}],"description":"Why the last attempt failed. Null on a success, on a PARKED delivery, and on a delivery settled before this field existed"},"lastAttemptLatencyMs":{"description":"Duration of the HTTP call of the last attempt, in milliseconds. Null on a PARKED delivery, when the attempt failed before the call started, and on a delivery settled before this field existed","type":["number","null"]},"attempts":{"description":"Attempts spent, including the one that settled the outcome. Null on a PARKED delivery and on a delivery settled before this field existed","type":["number","null"]},"maxAttempts":{"description":"Attempts the delivery is allowed. Null on a PARKED delivery and on a delivery settled before this field existed","type":["number","null"]},"nextAttemptAt":{"description":"When the queue tries a RETRYING delivery again. Null on any other status","type":["string","null"]},"payload":{"anyOf":[{"oneOf":[{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["RequestCreated","RequestReceivedApproval","RequestReceivedRejection","RequestActivatedReviews","RequestApproved","RequestExecuted","RequestAborted","RequestFailed","RequestExpired"]},"request":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"targetId":{"type":"string","description":"Object the request acts on, or 00000000-0000-0000-0000-000000000000 when it has none"}},"required":["id","type","targetId"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","request"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["TransactionScheduled","TransactionSubmitted","TransactionOnChain","TransactionConfirmed","TransactionDropped","TransactionFailed","TransactionUnknown"]},"outgoingTransaction":{"type":"object","properties":{"id":{"type":"string"},"txHash":{"type":["string","null"]}},"required":["id","txHash"],"additionalProperties":false,"description":"Unordered lifecycle invalidation hint. Fetch the current outgoing transaction before deciding whether to retry."}},"required":["eventId","timestamp","webhookId","action","outgoingTransaction"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["TransactionScanCompleted","TransactionScanEscalated"]},"transactionScan":{"type":"object","properties":{"requestId":{"type":"string"},"targetId":{"type":["string","null"]},"type":{"type":"string","enum":["creation","pre_signature"]},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"riskLevel":{"type":"string","enum":["BENIGN","RISK","THREAT","UNAVAILABLE"]},"riskCategory":{"type":"string","enum":["NA","OTHERS","ADDRESS","SMART_CONTRACT","LOSING_OPERATION"]},"message":{"type":"string"},"tinyUrl":{"type":"string"}},"required":["requestId","targetId","type","timestamp","riskLevel","riskCategory","message","tinyUrl"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","transactionScan"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["AccountBalanceUpdated"]},"account":{"type":"object","properties":{"id":{"type":"string"},"balance":{"type":["string","null"]}},"required":["id","balance"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","account"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["UserRegistrationCompleted"]},"registration":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","registration"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["UserSuspended","UserUnsuspended"]},"user":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","user"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["ReportCompleted","ReportFailed"]},"report":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","report"],"additionalProperties":false}],"type":"object"},{"type":"null"}],"description":"The payload sent to the endpoint, rebuilt from the stored notification with the `timestamp` it was sent with. On a PARKED delivery, which was never sent, `timestamp` is when the event was dispatched; on a delivery settled before this was recorded, it is the time the outcome settled. Null when the stored notification can no longer be read"}},"required":["id","status","action","eventId","createdAt","replayedAt","lastAttemptHttpStatus","lastAttemptErrorClass","lastAttemptLatencyMs","attempts","maxAttempts","nextAttemptAt","payload"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/notifications/webhooks/{id}/replay-failed":{"post":{"operationId":"webhooks-replayFailed","summary":"Replay the failed deliveries of a webhook","tags":["webhook"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target webhook"},"required":true,"description":"Id of the target webhook"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"replayed":{"type":"number","description":"Deliveries put back in the queue"},"remaining":{"type":"number","description":"Failures left to replay; a lower bound on a large dead letter"}},"required":["replayed","remaining"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/notifications/webhooks/{id}/rotate-secret":{"post":{"operationId":"webhooks-rotateSecret","summary":"Rotate a webhook signing secret","tags":["webhook"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target webhook"},"required":true,"description":"Id of the target webhook"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Webhook id"},"secret":{"type":"string","description":"Signing secret, shown once and never retrievable again"}},"required":["id","secret"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/mobile-app/tokens":{"post":{"operationId":"mobileApp-registerPushToken","summary":"Register a push notification token","tags":["mobile-app"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pushToken":{"type":"string","minLength":1,"maxLength":100,"description":"Expo push token"}},"required":["pushToken"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Always true"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"get":{"operationId":"mobileApp-listPushTokens","summary":"List the current user's push notification tokens","tags":["mobile-app"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"string"},"description":"The user's push tokens"}},"required":["results"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}},"delete":{"operationId":"mobileApp-unregisterPushToken","summary":"Unregister push notification tokens","tags":["mobile-app"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"pushToken","schema":{"type":"string","minLength":1,"maxLength":100}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Always true"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/pki/chain-certificate":{"get":{"operationId":"pki-getChainCertificate","summary":"Get the PKI certificate chain","tags":["pki"],"security":[{"Authorization":[]}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"description":"Chain certificate response containing certificate files"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/compliance/check-transaction":{"post":{"operationId":"compliance-checkTransaction","summary":"Check transaction compliance","description":"Check if transaction is not breaching compliance rules.","tags":["compliance"],"security":[{"Authorization":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","description":"Id of the target account"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendData"},{"$ref":"#/components/schemas/CantonLikeSendData"},{"$ref":"#/components/schemas/CantonLikeSendTokenData"},{"$ref":"#/components/schemas/CantonLikeWithdrawData"},{"$ref":"#/components/schemas/CantonLikeReceiveData"},{"$ref":"#/components/schemas/CantonLikePreApprovalData"},{"$ref":"#/components/schemas/CardanoSendData"},{"$ref":"#/components/schemas/CardanoStakingDelegateData"},{"$ref":"#/components/schemas/CardanoStakingDeregisterData"},{"$ref":"#/components/schemas/CardanoStakingRegisterData"},{"$ref":"#/components/schemas/CardanoStakingWithdrawData"},{"$ref":"#/components/schemas/EthereumLikeDeployContractData"},{"$ref":"#/components/schemas/EthereumLikeExecuteContractData"},{"$ref":"#/components/schemas/EthereumLikeSendData"},{"$ref":"#/components/schemas/EthereumLikeStakingDepositData"},{"$ref":"#/components/schemas/EthereumLikeStakingTopUpData"},{"$ref":"#/components/schemas/EthereumLikeStakingWithdrawData"},{"$ref":"#/components/schemas/EthereumLikeStakingConsolidateData"},{"$ref":"#/components/schemas/EthereumLikeStakingUpgradeData"},{"$ref":"#/components/schemas/GenericTransactionData"},{"$ref":"#/components/schemas/HederaLikeSendData"},{"$ref":"#/components/schemas/HederaLikeSendTokenData"},{"$ref":"#/components/schemas/HederaLikeStakeData"},{"$ref":"#/components/schemas/PolkadotLikeAddProxyData"},{"$ref":"#/components/schemas/PolkadotLikeAnonymousProxyData"},{"$ref":"#/components/schemas/PolkadotLikeBondData"},{"$ref":"#/components/schemas/PolkadotLikeBondExtraData"},{"$ref":"#/components/schemas/PolkadotLikeChillData"},{"$ref":"#/components/schemas/PolkadotLikeKillAnonymousData"},{"$ref":"#/components/schemas/PolkadotLikeRebondData"},{"$ref":"#/components/schemas/PolkadotLikeRemoveProxyData"},{"$ref":"#/components/schemas/PolkadotLikeSendData"},{"$ref":"#/components/schemas/PolkadotLikeSetPayeeData"},{"$ref":"#/components/schemas/PolkadotLikeUnbondData"},{"$ref":"#/components/schemas/PolkadotLikeWithdrawUnbondedData"},{"$ref":"#/components/schemas/RippleLikeSendData"},{"$ref":"#/components/schemas/SolanaLikeCreateDelegateStakeData"},{"$ref":"#/components/schemas/SolanaLikeDeactivateStakeData"},{"$ref":"#/components/schemas/SolanaLikeDelegateStakeData"},{"$ref":"#/components/schemas/SolanaLikeMergeStakeData"},{"$ref":"#/components/schemas/SolanaLikeSendData"},{"$ref":"#/components/schemas/SolanaLikeSplitDeactivateStakeData"},{"$ref":"#/components/schemas/SolanaLikeSplitStakeData"},{"$ref":"#/components/schemas/SolanaLikeWithdrawStakeData"},{"$ref":"#/components/schemas/SolanaLikeSendTokenData"},{"$ref":"#/components/schemas/SolanaLikeFundAndSendTokenData"},{"$ref":"#/components/schemas/SolanaLikeCreateTokenAccountData"},{"$ref":"#/components/schemas/StellarLikeSendData"},{"$ref":"#/components/schemas/SuiLikeSendData"},{"$ref":"#/components/schemas/SuiLikeTransferTokenData"},{"$ref":"#/components/schemas/SuiLikeStakeData"},{"$ref":"#/components/schemas/SuiLikeUnstakeData"},{"$ref":"#/components/schemas/TezosLikeSendData"},{"$ref":"#/components/schemas/TezosLikeDelegateData"},{"$ref":"#/components/schemas/TezosLikeUndelegateData"},{"$ref":"#/components/schemas/TronLikeSendData"},{"$ref":"#/components/schemas/TronLikeSendTokenData"}],"description":"Transaction data to be checked","type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendData","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendData","CANTON_LIKE_SEND_TOKEN":"#/components/schemas/CantonLikeSendTokenData","CANTON_LIKE_WITHDRAW":"#/components/schemas/CantonLikeWithdrawData","CANTON_LIKE_RECEIVE":"#/components/schemas/CantonLikeReceiveData","CANTON_LIKE_PRE_APPROVAL":"#/components/schemas/CantonLikePreApprovalData","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendData","CARDANO_LIKE_STAKING_DELEGATE":"#/components/schemas/CardanoStakingDelegateData","CARDANO_LIKE_STAKING_DEREGISTER":"#/components/schemas/CardanoStakingDeregisterData","CARDANO_LIKE_STAKING_REGISTER":"#/components/schemas/CardanoStakingRegisterData","CARDANO_LIKE_STAKING_WITHDRAW":"#/components/schemas/CardanoStakingWithdrawData","ETHEREUM_LIKE_DEPLOY_CONTRACT":"#/components/schemas/EthereumLikeDeployContractData","ETHEREUM_LIKE_EXECUTE_CONTRACT":"#/components/schemas/EthereumLikeExecuteContractData","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendData","ETHEREUM_LIKE_STAKE_DEPOSIT":"#/components/schemas/EthereumLikeStakingDepositData","ETHEREUM_LIKE_STAKE_TOP_UP":"#/components/schemas/EthereumLikeStakingTopUpData","ETHEREUM_LIKE_STAKE_WITHDRAW":"#/components/schemas/EthereumLikeStakingWithdrawData","ETHEREUM_LIKE_STAKE_CONSOLIDATE":"#/components/schemas/EthereumLikeStakingConsolidateData","ETHEREUM_LIKE_STAKE_UPGRADE":"#/components/schemas/EthereumLikeStakingUpgradeData","GENERIC_TRANSACTION":"#/components/schemas/GenericTransactionData","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendData","HEDERA_LIKE_SEND_TOKEN":"#/components/schemas/HederaLikeSendTokenData","HEDERA_LIKE_STAKE":"#/components/schemas/HederaLikeStakeData","POLKADOT_LIKE_ADDPROXY":"#/components/schemas/PolkadotLikeAddProxyData","POLKADOT_LIKE_ANONYMOUSPROXY":"#/components/schemas/PolkadotLikeAnonymousProxyData","POLKADOT_LIKE_BOND":"#/components/schemas/PolkadotLikeBondData","POLKADOT_LIKE_BONDEXTRA":"#/components/schemas/PolkadotLikeBondExtraData","POLKADOT_LIKE_CHILL":"#/components/schemas/PolkadotLikeChillData","POLKADOT_LIKE_KILLANONYMOUS":"#/components/schemas/PolkadotLikeKillAnonymousData","POLKADOT_LIKE_REBOND":"#/components/schemas/PolkadotLikeRebondData","POLKADOT_LIKE_REMOVEPROXY":"#/components/schemas/PolkadotLikeRemoveProxyData","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendData","POLKADOT_LIKE_SETPAYEE":"#/components/schemas/PolkadotLikeSetPayeeData","POLKADOT_LIKE_UNBOND":"#/components/schemas/PolkadotLikeUnbondData","POLKADOT_LIKE_WITHDRAWUNBONDED":"#/components/schemas/PolkadotLikeWithdrawUnbondedData","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendData","SOLANA_LIKE_CREATE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeCreateDelegateStakeData","SOLANA_LIKE_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeDeactivateStakeData","SOLANA_LIKE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeDelegateStakeData","SOLANA_LIKE_MERGE_STAKE":"#/components/schemas/SolanaLikeMergeStakeData","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendData","SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeSplitDeactivateStakeData","SOLANA_LIKE_SPLIT_STAKE":"#/components/schemas/SolanaLikeSplitStakeData","SOLANA_LIKE_WITHDRAW_STAKE":"#/components/schemas/SolanaLikeWithdrawStakeData","SOLANA_LIKE_SEND_TOKEN":"#/components/schemas/SolanaLikeSendTokenData","SOLANA_LIKE_FUND_AND_SEND_TOKEN":"#/components/schemas/SolanaLikeFundAndSendTokenData","SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT":"#/components/schemas/SolanaLikeCreateTokenAccountData","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendData","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendData","SUI_LIKE_SEND_TOKEN":"#/components/schemas/SuiLikeTransferTokenData","SUI_LIKE_STAKE":"#/components/schemas/SuiLikeStakeData","SUI_LIKE_UNSTAKE":"#/components/schemas/SuiLikeUnstakeData","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendData","TEZOS_LIKE_DELEGATE":"#/components/schemas/TezosLikeDelegateData","TEZOS_LIKE_UNDELEGATE":"#/components/schemas/TezosLikeUndelegateData","TRON_LIKE_SEND":"#/components/schemas/TronLikeSendData","TRON_LIKE_SEND_TOKEN":"#/components/schemas/TronLikeSendTokenData"}}}},"required":["accountId","transaction"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"anyOf":[{"type":"string","const":"OK"},{"type":"string","const":"SANCTIONED"}],"description":"Sanction compliance result."}},"required":["result"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/workspace/legal/privacy-notice":{"get":{"operationId":"legal-getPrivacyNotice","summary":"Get the Ledger Enterprise privacy notice","description":"Returns global Legacy Vault privacy notice content for authenticated users.","tags":["legal"],"security":[{"Authorization":[]}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Privacy notice title"},"dpoEmail":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","description":"Data Protection Officer contact email"},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","enum":["which","how","who","duration","contact"],"description":"Stable section identifier"},"title":{"type":"string","description":"Section title"},"blocks":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"paragraph"},"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","description":"Inline text"}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"link"},"text":{"type":"string","description":"Link label"},"href":{"type":"string","format":"uri","description":"Link target"}},"required":["type","text","href"],"additionalProperties":false}],"type":"object"},"description":"Paragraph inline content"}},"required":["type","content"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"list"},"items":{"type":"array","items":{"type":"object","properties":{"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","description":"Inline text"}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"link"},"text":{"type":"string","description":"Link label"},"href":{"type":"string","format":"uri","description":"Link target"}},"required":["type","text","href"],"additionalProperties":false}],"type":"object"},"description":"List item inline content"}},"required":["content"],"additionalProperties":false},"description":"List items"}},"required":["type","items"],"additionalProperties":false}],"type":"object"},"description":"Structured section content"}},"required":["id","title","blocks"],"additionalProperties":false},"description":"Privacy notice sections"}},"required":["title","dpoEmail","sections"],"additionalProperties":false}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/workspace/legal/sub-processors":{"get":{"operationId":"legal-getSubProcessors","summary":"Get the Ledger Enterprise sub-processors list","description":"Returns global Legacy Vault sub-processors content for authenticated users.","tags":["legal"],"security":[{"Authorization":[]}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Sub-processors page title"},"descriptionBlocks":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"paragraph"},"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","description":"Inline text"}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"link"},"text":{"type":"string","description":"Link label"},"href":{"type":"string","format":"uri","description":"Link target"}},"required":["type","text","href"],"additionalProperties":false}],"type":"object"},"description":"Paragraph inline content"}},"required":["type","content"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"list"},"items":{"type":"array","items":{"type":"object","properties":{"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","description":"Inline text"}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"link"},"text":{"type":"string","description":"Link label"},"href":{"type":"string","format":"uri","description":"Link target"}},"required":["type","text","href"],"additionalProperties":false}],"type":"object"},"description":"List item inline content"}},"required":["content"],"additionalProperties":false},"description":"List items"}},"required":["type","items"],"additionalProperties":false}],"type":"object"},"description":"Structured sub-processors page description"},"subscriptionUrl":{"type":"string","format":"uri","description":"URL to subscribe to sub-processor updates"},"objectionEmail":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","description":"Email address for written objections"},"lastUpdatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date when the global sub-processor list was last updated"},"subProcessors":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string","description":"Sub-processor legal entity"},"purpose":{"type":"string","description":"Processing purpose"},"dataLocation":{"type":"string","description":"Personal data location"},"transferBasis":{"type":"string","description":"Transfer mechanism or N/A"}},"required":["entity","purpose","dataLocation","transferBasis"],"additionalProperties":false},"description":"Sub-processor rows"}},"required":["title","descriptionBlocks","subscriptionUrl","objectionEmail","lastUpdatedAt","subProcessors"],"additionalProperties":false}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}}},"components":{"schemas":{"BitcoinLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash (Replace-By-Fee).","type":"string"},"replacementReason":{"description":"Reason for the replacement: `boost` (speed-up) or `cancel`. Reporting label only; what the replacement pays is driven by `recipient` and `amount`.","type":"string","enum":["boost","cancel"]},"type":{"type":"string","const":"BITCOIN_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]},"feePerByte":{"description":"Fee per byte","anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}]}},"required":["type"],"description":"Bitcoin-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Bitcoin-like send data"},"CantonLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"executeBeforeSeconds":{"description":"Execute before seconds","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"reason":{"description":"Optional reason attached to the onchain operation","type":["string","null"]},"type":{"type":"string","const":"CANTON_LIKE_SEND"}},"required":["amount","currency","recipient","reason","type"],"description":"Canton-like send data"},"CantonLikeSendTokenData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"executeBeforeSeconds":{"description":"Execute before seconds","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"reason":{"description":"Optional reason attached to the onchain operation","type":["string","null"]},"type":{"type":"string","const":"CANTON_LIKE_SEND_TOKEN"}},"required":["amount","currency","recipient","reason","type"],"description":"Canton-like send token data"},"CantonLikeWithdrawData":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transfer currency"},"transferProposal":{"$ref":"#/components/schemas/CantonTransferProposal"},"reason":{"description":"Reason of the verdict","type":["string","null"]},"type":{"type":"string","const":"CANTON_LIKE_WITHDRAW"}},"required":["currency","transferProposal","reason","type"],"description":"Canton-like withdraw data"},"CantonTransferProposal":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transfer amount"},"contractId":{"type":"string","description":"ID of the transfer-proposal contract"},"instrumentAdmin":{"type":"string","description":"Issuer of the instrument being transferred"},"instrumentId":{"type":"string","description":"ID of the instrument being transferred"},"expiresAtMicros":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Expiration timestamp in microseconds"},"reason":{"description":"Optional reason attached to the transfer","type":["string","null"]},"sender":{"type":"string","description":"Party proposing to send the asset"},"recipient":{"type":"string","description":"Intended recipient of the proposed transfer"}},"required":["amount","contractId","instrumentAdmin","instrumentId","expiresAtMicros","reason","sender","recipient"],"description":"A pending asset-transfer request"},"CantonLikeReceiveData":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transfer currency"},"transferProposal":{"$ref":"#/components/schemas/CantonTransferProposal"},"verdict":{"type":"string","enum":["ACCEPT","REJECT"],"description":"Accept or reject the transfer"},"reason":{"description":"Reason of the verdict","type":["string","null"]},"type":{"type":"string","const":"CANTON_LIKE_RECEIVE"}},"required":["currency","transferProposal","verdict","reason","type"],"description":"Canton-like receive data"},"CantonLikePreApprovalData":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"recipient":{"type":"string","minLength":1,"description":"Recipient party on which to enable pre-approval"},"type":{"type":"string","const":"CANTON_LIKE_PRE_APPROVAL"}},"required":["currency","recipient","type"],"description":"Canton-like pre-approval data"},"CardanoSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"CARDANO_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Cardano-like fee strategy"},"sendMax":{"description":"Send the whole spendable balance, without change output. The amount must then be the amount of a send max fee estimate; the request fails if the balance changes before the broadcast","type":"boolean"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Cardano-like send data"},"CardanoStakingDelegateData":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_DELEGATE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Cardano-like fee strategy"},"stakePoolId":{"type":"string","minLength":1,"maxLength":100,"description":"Stake pool ID to delegate to"}},"required":["type","currency","maxFee","feeStrategy","stakePoolId"],"description":"Cardano-like staking delegate"},"CardanoStakingDeregisterData":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_DEREGISTER"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Cardano-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to deregister"}},"required":["type","currency","maxFee","feeStrategy","amount"],"description":"Cardano-like staking deregister data"},"CardanoStakingRegisterData":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_REGISTER"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Cardano-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to register"}},"required":["type","currency","maxFee","feeStrategy","amount"],"description":"Cardano-like staking register data"},"CardanoStakingWithdrawData":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_WITHDRAW"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Cardano-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to withdraw"}},"required":["type","currency","maxFee","feeStrategy","amount"],"description":"Cardano-like staking withdraw data"},"EthereumLikeDeployContractData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","const":""},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_DEPLOY_CONTRACT"},"contractData":{"description":"Contract data in hexadecimal format","type":"string","pattern":"^(?:0x|0X)?[a-fA-F0-9]+$"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategy"}},"required":["amount","currency","maxFee","recipient","type","contractData","feeStrategy"],"description":"Ethereum-like deploy contract data"},"EthereumLikeFeeStrategy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]},"gasPrice":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Gas price"},"gasLimit":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Gas limit"}},"required":["type","gasPrice","gasLimit"],"description":"Ethereum-like legacy fee strategy"},{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]},"maxPriorityFeePerGas":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Maximum priority fee per gas"},"maxFeePerGas":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Maximum fee per gas (base + priority)"},"gasLimit":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Gas limit"}},"required":["type","maxPriorityFeePerGas","maxFeePerGas","gasLimit"],"description":"Ethereum-like EIP-1559 fee strategy"}],"description":"Ethereum-like fee strategy"},"EthereumLikeExecuteContractData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_EXECUTE_CONTRACT"},"contractData":{"description":"Contract call data in hexadecimal format","type":"string","pattern":"^(?:0x|0X)?[a-fA-F0-9]+$"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategy"}},"required":["amount","currency","maxFee","recipient","type","contractData","feeStrategy"],"description":"Ethereum-like execute contract data"},"EthereumLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_SEND"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Ethereum-like send data"},"EthereumLikeStakingDepositData":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_DEPOSIT"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategy"},"amountPerValidator":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to stake per validator, in wei. Must be a multiple of the provider's `options.stakeAmountStepWei` from the staking validators endpoint (1 gwei when absent)."},"numberOfValidators":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Number of validators to stake with"},"stakingProvider":{"type":"string","minLength":1,"description":"Staking provider to use, as identified by the staking validators endpoint"},"withdrawalAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Execution-layer withdrawal address in hexadecimal format (20 bytes)"}},"required":["currency","maxFee","type","feeStrategy","amountPerValidator","numberOfValidators","stakingProvider","withdrawalAddress"],"description":"Ethereum-like staking deposit data"},"EthereumLikeStakingTopUpData":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_TOP_UP"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategy"},"validators":{"minItems":1,"type":"array","items":{"type":"object","properties":{"validatorPubKey":{"description":"Validator public key in hexadecimal format (48 bytes)","type":"string","pattern":"^(?:0x|0X)?[a-fA-F0-9]+$"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to stake per validator"}},"required":["validatorPubKey","amount"]}}},"required":["currency","maxFee","type","feeStrategy","validators"],"description":"Ethereum-like staking top-up deposit data"},"EthereumLikeStakingWithdrawData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_WITHDRAW"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategy"},"validatorPubKey":{"description":"Validator public key in hexadecimal format (48 bytes)","type":"string","pattern":"^(?:0x|0X)?[a-fA-F0-9]+$"},"maxExecutionFees":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Max execution fee for the withdrawal transaction (in wei)"}},"required":["amount","currency","maxFee","type","feeStrategy","validatorPubKey"],"description":"Ethereum-like staking withdraw data"},"EthereumLikeStakingConsolidateData":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_CONSOLIDATE"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategy"},"sourcePubKey":{"description":"Source validator public key in hexadecimal format (48 bytes)","type":"string","pattern":"^(?:0x|0X)?[a-fA-F0-9]+$"},"targetPubKey":{"description":"Target validator public key in hexadecimal format (48 bytes)","type":"string","pattern":"^(?:0x|0X)?[a-fA-F0-9]+$"},"maxExecutionFees":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Max execution fee for the consolidation transaction (in wei)"},"sourceStakedAmount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Staked balance of the source validator when the request was created, in wei. Display only: the consolidation moves it on the consensus layer and never sends it."}},"required":["currency","maxFee","type","feeStrategy","sourcePubKey","targetPubKey"],"description":"Ethereum-like staking consolidate data"},"EthereumLikeStakingUpgradeData":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_UPGRADE"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategy"},"validatorPubKey":{"description":"Validator public key in hexadecimal format (48 bytes)","type":"string","pattern":"^(?:0x|0X)?[a-fA-F0-9]+$"},"maxExecutionFees":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Max execution fee for the upgrade transaction (in wei)"}},"required":["currency","maxFee","type","feeStrategy","validatorPubKey"],"description":"Ethereum-like staking upgrade data"},"GenericTransactionData":{"type":"object","properties":{"type":{"type":"string","const":"GENERIC_TRANSACTION"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"rawTx":{"type":"string","description":"Raw tx"}},"required":["type","currency","rawTx"],"description":"Generic transaction data"},"HederaLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"HEDERA_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"]}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Hedera-like send data"},"HederaLikeSendTokenData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"HEDERA_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"]}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Hedera-like send token data"},"HederaLikeStakeData":{"type":"object","properties":{"type":{"type":"string","const":"HEDERA_LIKE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"nodeId":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$","description":"Node ID to delegate to"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"]}},"required":["type","currency","nodeId","maxFee","feeStrategy"],"description":"Hedera-like stake data"},"PolkadotLikeAddProxyData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_ADDPROXY"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"kind":{"type":"string","const":"Staking","description":"Proxy kind"},"proxy":{"type":"string","description":"Proxy address"}},"required":["type","currency","kind","proxy"],"description":"Polkadot-like add proxy data"},"PolkadotLikeAnonymousProxyData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_ANONYMOUSPROXY"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"description":"Polkadot-like anonymous proxy data"},"PolkadotLikeBondData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_BOND"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"payee":{"type":"string","enum":["Staked","Stash"]},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","payee","amount"],"description":"Polkadot-like bond data"},"PolkadotLikeBondExtraData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_BONDEXTRA"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","amount"],"description":"Polkadot-like bond extra data"},"PolkadotLikeChillData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_CHILL"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"description":"Polkadot-like chill data"},"PolkadotLikeKillAnonymousData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_KILLANONYMOUS"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"description":"Polkadot-like kill anonymous data"},"PolkadotLikeRebondData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_REBOND"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","amount"],"description":"Polkadot-like rebond data"},"PolkadotLikeRemoveProxyData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_REMOVEPROXY"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"kind":{"type":"string","const":"Staking"},"proxy":{"type":"string","description":"Proxy address"}},"required":["type","currency","kind","proxy"],"description":"Polkadot-like remove proxy data"},"PolkadotLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"POLKADOT_LIKE_SEND"}},"required":["amount","currency","maxFee","recipient","type"],"description":"Polkadot-like send data"},"PolkadotLikeSetPayeeData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_SETPAYEE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"payee":{"type":"string","enum":["Staked","Stash"]}},"required":["type","currency","payee"],"description":"Polkadot-like set payee data"},"PolkadotLikeUnbondData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_UNBOND"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","amount"],"description":"Polkadot-like unbond data"},"PolkadotLikeWithdrawUnbondedData":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_WITHDRAWUNBONDED"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"description":"Polkadot-like withdraw unbonded data"},"RippleLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"RIPPLE_LIKE_SEND"},"destinationTag":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Destination tag"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"description":"Ripple-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","destinationTag","feeStrategy"],"description":"Ripple-like send data"},"SolanaLikeCreateDelegateStakeData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","description":"Delegated vote address"},"type":{"type":"string","const":"SOLANA_LIKE_CREATE_DELEGATE_STAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Solana-like create delegate stake data"},"SolanaLikeDeactivateStakeData":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_DEACTIVATE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","stakeAccount","feeStrategy"],"description":"Solana-like deactivate stake data"},"SolanaLikeDelegateStakeData":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_DELEGATE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","description":"Delegated vote address"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","recipient","stakeAccount","feeStrategy"],"description":"Solana-like delegate stake data"},"SolanaLikeMergeStakeData":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_MERGE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"mergeSrcAccount":{"type":"string","description":"Source stake address"},"mergeDstAccount":{"type":"string","description":"Destination stake address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","mergeSrcAccount","mergeDstAccount","feeStrategy"],"description":"Solana-like merge stake data"},"SolanaLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SOLANA_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Solana-like send data"},"SolanaLikeSplitDeactivateStakeData":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["type","amount","currency","maxFee","stakeAccount","feeStrategy"],"description":"Solana-like split deactivate stake data"},"SolanaLikeSplitStakeData":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_SPLIT_STAKE"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["type","amount","currency","maxFee","stakeAccount","feeStrategy"],"description":"Solana-like split stake data"},"SolanaLikeWithdrawStakeData":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_WITHDRAW_STAKE"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["type","amount","currency","maxFee","stakeAccount","feeStrategy"],"description":"Solana-like withdraw stake data"},"SolanaLikeSendTokenData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SOLANA_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Solana-like send token data"},"SolanaLikeFundAndSendTokenData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SOLANA_LIKE_FUND_AND_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Solana-like fund token account and send token data"},"SolanaLikeCreateTokenAccountData":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","feeStrategy"],"description":"Solana-like create token account"},"StellarLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"STELLAR_LIKE_SEND"},"memo":{"anyOf":[{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"MEMO_TEXT"},"value":{"type":"string","maxLength":28,"description":"Text memo (at most 28 bytes)"}},"required":["type","value"],"description":"Text memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_ID"},"value":{"type":"string","minLength":1,"maxLength":20,"pattern":"^([1-9]\\d*|0)$","description":"Id memo (unsigned 64 bits integer)"}},"required":["type","value"],"description":"Id memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_HASH"},"value":{"type":"string","pattern":"^[a-fA-F0-9]{64}$","description":"Transaction hash memo (32 bytes, encoded as 64 hex chars)"}},"required":["type","value"],"description":"Hash memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_RETURN"},"value":{"type":"string","pattern":"^[a-fA-F0-9]{64}$","description":"Hash of the transaction the sender is refunding (32 bytes, encoded as 64 hex chars)."}},"required":["type","value"],"description":"Return memo"}],"type":"object"},{"type":"null"}],"description":"Stellar memo"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Stellar-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","memo","feeStrategy"],"description":"Stellar-like send data"},"SuiLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SUI_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Sui-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Sui-like send data"},"SuiLikeTransferTokenData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SUI_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Sui-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Sui-like transfer token data"},"SuiLikeStakeData":{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE_STAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Sui-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"validator":{"type":"string","minLength":1,"description":"Validator address"}},"required":["type","feeStrategy","amount","currency","maxFee","validator"],"description":"Sui-like stake data"},"SuiLikeUnstakeData":{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE_UNSTAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Sui-like fee strategy"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakedSuiId":{"type":"string","minLength":1,"description":"Staked object to (partially?) unstake"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to unstake from the position"},"useAllAmount":{"type":"boolean","description":"Whether to unstake the full amount (triggers different sets of transaction commands)"}},"required":["type","feeStrategy","currency","maxFee","stakedSuiId","amount","useAllAmount"],"description":"Sui-like unstake data"},"TezosLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"TEZOS_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"description":"Tezos-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Tezos-like send data"},"TezosLikeDelegateData":{"type":"object","properties":{"type":{"type":"string","const":"TEZOS_LIKE_DELEGATE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"description":"Tezos-like fee strategy"}},"required":["type","currency","maxFee","recipient","feeStrategy"],"description":"Tezos-like delegate data"},"TezosLikeUndelegateData":{"type":"object","properties":{"type":{"type":"string","const":"TEZOS_LIKE_UNDELEGATE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"description":"Tezos-like fee strategy"}},"required":["type","currency","maxFee","feeStrategy"],"description":"Tezos-like undelegate data"},"TronLikeSendData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"TRON_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Tron-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Tron-like send data"},"TronLikeSendTokenData":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"TRON_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"description":"Tron-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Tron-like send token data"},"TransactionType":{"type":"string","enum":["BITCOIN_LIKE_SEND","BITCOIN_LIKE_RECEIVE","CANTON_LIKE_SEND","CANTON_LIKE_SEND_TOKEN","CANTON_LIKE_WITHDRAW","CANTON_LIKE_RECEIVE","CANTON_LIKE_PRE_APPROVAL","CARDANO_LIKE_SEND","CARDANO_LIKE_RECEIVE","CARDANO_LIKE_STAKING_REGISTER","CARDANO_LIKE_STAKING_DEREGISTER","CARDANO_LIKE_STAKING_DELEGATE","CARDANO_LIKE_STAKING_WITHDRAW","ETHEREUM_LIKE_SEND","ETHEREUM_LIKE_RECEIVE","ETHEREUM_LIKE_EXECUTE_CONTRACT","ETHEREUM_LIKE_DEPLOY_CONTRACT","ETHEREUM_LIKE_STAKE_DEPOSIT","ETHEREUM_LIKE_STAKE_TOP_UP","ETHEREUM_LIKE_STAKE_WITHDRAW","ETHEREUM_LIKE_STAKE_CONSOLIDATE","ETHEREUM_LIKE_STAKE_UPGRADE","HEDERA_LIKE_SEND","HEDERA_LIKE_RECEIVE","HEDERA_LIKE_SEND_TOKEN","HEDERA_LIKE_RECEIVE_TOKEN","HEDERA_LIKE_STAKE","HEDERA_LIKE_UNSTAKE","GENERIC_TRANSACTION","POLKADOT_LIKE_SEND","POLKADOT_LIKE_RECEIVE","POLKADOT_LIKE_ADDPROXY","POLKADOT_LIKE_REMOVEPROXY","POLKADOT_LIKE_BOND","POLKADOT_LIKE_REBOND","POLKADOT_LIKE_BONDEXTRA","POLKADOT_LIKE_UNBOND","POLKADOT_LIKE_WITHDRAWUNBONDED","POLKADOT_LIKE_SETCONTROLLER","POLKADOT_LIKE_SETPAYEE","POLKADOT_LIKE_PROXY","POLKADOT_LIKE_ANONYMOUSPROXY","POLKADOT_LIKE_KILLANONYMOUS","POLKADOT_LIKE_PUREPROXY","POLKADOT_LIKE_KILLPURE","POLKADOT_LIKE_NOMINATE","POLKADOT_LIKE_REWARD","POLKADOT_LIKE_CHILL","POLKADOT_LIKE_TRANSFERALL","RIPPLE_LIKE_SEND","RIPPLE_LIKE_RECEIVE","SOLANA_LIKE_SEND","SOLANA_LIKE_RECEIVE","SOLANA_LIKE_CREATE_DELEGATE_STAKE","SOLANA_LIKE_DELEGATE_STAKE","SOLANA_LIKE_WITHDRAW_STAKE","SOLANA_LIKE_DEACTIVATE_STAKE","SOLANA_LIKE_SPLIT_STAKE","SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE","SOLANA_LIKE_MERGE_STAKE","SOLANA_LIKE_SEND_TOKEN","SOLANA_LIKE_FUND_AND_SEND_TOKEN","SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT","STELLAR_LIKE_SEND","STELLAR_LIKE_RECEIVE","SUI_LIKE_SEND","SUI_LIKE_RECEIVE","SUI_LIKE_SEND_TOKEN","SUI_LIKE_RECEIVE_TOKEN","SUI_LIKE_STAKE","SUI_LIKE_UNSTAKE","TEZOS_LIKE_SEND","TEZOS_LIKE_RECEIVE","TEZOS_LIKE_REVEAL","TEZOS_LIKE_DELEGATE","TEZOS_LIKE_UNDELEGATE","TRON_LIKE_SEND","TRON_LIKE_RECEIVE","TRON_LIKE_SEND_TOKEN","TRON_LIKE_RECEIVE_TOKEN"],"description":"Transaction type"},"TransactionRiskLevel":{"type":"string","enum":["BENIGN","RISK","THREAT","UNAVAILABLE"]},"MessageHexData":{"type":"string","minLength":1,"pattern":"^[0-9a-fA-F]+$","description":"Hex data string to sign"},"Eip712Data":{"type":"object","properties":{"types":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}},"required":["name","type"]}},"description":"EIP-712 types"},"primaryType":{"type":"string","description":"EIP-712 primary type"},"domain":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"EIP-712 domain"},"message":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"EIP-712 message"}},"required":["types","primaryType","domain","message"],"description":"EIP-712 data to sign"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Invalid input data"},"code":{"type":"string","description":"The error code","example":"BAD_REQUEST"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Invalid input data error (400)","description":"The error information","example":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]}},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Authorization not provided"},"code":{"type":"string","description":"The error code","example":"UNAUTHORIZED"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Authorization not provided error (401)","description":"The error information","example":{"code":"UNAUTHORIZED","message":"Authorization not provided","issues":[]}},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Insufficient access"},"code":{"type":"string","description":"The error code","example":"FORBIDDEN"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Insufficient access error (403)","description":"The error information","example":{"code":"FORBIDDEN","message":"Insufficient access","issues":[]}},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Internal server error"},"code":{"type":"string","description":"The error code","example":"INTERNAL_SERVER_ERROR"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Internal server error error (500)","description":"The error information","example":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]}},"UserResponse":{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"legacyViewAll":{"type":"boolean","description":"If true, user can read all resources on the workspace"},"workspaceName":{"type":"string","description":"User's workspace name"},"name":{"type":"string","description":"User name"},"deviceUserId":{"description":"User's device ID (for non-API users)","type":["string","null"]},"deviceType":{"type":"string","enum":["PSD","SOFT_PSD","API"],"description":"User's device type"},"role":{"type":"string","enum":["ADMIN","OPERATOR","READ_ONLY_API_KEY"],"description":"User role"},"pubKey":{"type":"string","description":"User public key"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"User status"},"isSuspended":{"type":"boolean","description":"Whether the user is suspended"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"}},"required":["id","legacyId","legacyViewAll","workspaceName","name","deviceUserId","deviceType","role","pubKey","status","isSuspended","createdAt","updatedAt"],"additionalProperties":false,"description":"User"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Not found"},"code":{"type":"string","description":"The error code","example":"NOT_FOUND"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Not found error (404)","description":"The error information","example":{"code":"NOT_FOUND","message":"Not found","issues":[]}},"QuorumAccountEntryResponse":{"type":"object","properties":{"account":{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"name":{"type":"string","description":"Account name"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"network":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Network identifier"},"contractAddress":{"description":"Token contract address for Token account","type":["string","null"]},"tokenIdentifier":{"description":"Token identifier for Token account","type":["string","null"]},"index":{"type":"number","minimum":0,"description":"BIP44 account index"},"derivationPath":{"type":"string","description":"Derivation path"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Status"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"asset":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"RAW_SIGNING","description":"Account type"}},"required":["type"],"additionalProperties":false,"description":"Raw signing account"},{"type":"object","properties":{"type":{"type":"string","const":"BITCOIN_LIKE","description":"Account type"},"xpub":{"type":"string","description":"xpub (extended public key)"},"addressDerivationMode":{"type":"string","enum":["NEW","STATIC"],"description":"Bitcoin address derivation mode"}},"required":["type","xpub","addressDerivationMode"],"additionalProperties":false,"description":"Bitcoin-like"},{"type":"object","properties":{"type":{"type":"string","const":"CANTON_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Canton-like"},{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Cardano-like"},{"type":"object","properties":{"type":{"type":"string","const":"ETHEREUM_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Ethereum-like"},{"type":"object","properties":{"type":{"type":"string","const":"GENERIC_LIKE","description":"Account type"}},"required":["type"],"additionalProperties":false,"description":"Generic-like"},{"type":"object","properties":{"type":{"type":"string","const":"HEDERA_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]},"isActivated":{"type":"boolean","description":"Indicates if the account is activated"}},"required":["type","address","isActivated"],"additionalProperties":false,"description":"Hedera-like"},{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Polkadot-like"},{"type":"object","properties":{"type":{"type":"string","const":"RIPPLE_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Ripple-like"},{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Solana-like"},{"type":"object","properties":{"type":{"type":"string","const":"STELLAR_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Stellar-like"},{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Sui-like"},{"type":"object","properties":{"type":{"type":"string","const":"TEZOS_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Tezos-like"},{"type":"object","properties":{"type":{"type":"string","const":"TRON_LIKE","description":"Account type"},"address":{"description":"Account address","type":["string","null"]}},"required":["type","address"],"additionalProperties":false,"description":"Tron-like"}],"description":"Account asset fields","type":"object"},"governance":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"CLASSIC","description":"Classic account governance"},"policyId":{"type":"string","description":"Identifier of corresponding governance policy"}},"required":["type","policyId"],"additionalProperties":false,"description":"Classic"},{"type":"object","properties":{"type":{"type":"string","const":"RAW_SIGNING","description":"Raw signing account governance"},"policyId":{"type":"string","description":"Identifier of corresponding governance policy"}},"required":["type","policyId"],"additionalProperties":false,"description":"Raw Signing"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK","description":"Tradelink account governance"},"assetManagerId":{"type":"string","description":"Identifier of corresponding asset manager"},"exchangeConfigs":{"type":"array","items":{"type":"object","properties":{"exchangeId":{"type":"string","description":"Tradelink exchange id"},"repledgeAuthorized":{"type":"boolean","description":"Determines whether this exchange is authorized to repledge on this account"},"needsAssetManagerApprovalForSettlements":{"type":"boolean","description":"Determines whether asset manager will \"pre-approve\" the settlement requests on this account"}},"required":["exchangeId","repledgeAuthorized","needsAssetManagerApprovalForSettlements"],"additionalProperties":false},"description":"Tradelink exchange configurations"}},"required":["type","assetManagerId","exchangeConfigs"],"additionalProperties":false,"description":"Tradelink"}],"description":"Governance fields","type":"object"}},"required":["id","legacyId","name","currency","network","contractAddress","tokenIdentifier","index","derivationPath","status","createdAt","updatedAt","asset","governance"],"additionalProperties":false},"sources":{"type":"array","items":{"$ref":"#/components/schemas/QuorumAccountSourceResponse"},"description":"Every reason this account appears — direct participation and/or the group(s) granting access. Never empty."}},"required":["account","sources"],"additionalProperties":false,"description":"One account this user can help approve, with every reason it appears"},"QuorumAccountSourceResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"individual"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"group"},"groupId":{"type":"string","description":"Id of the group granting access"}},"required":["kind","groupId"],"additionalProperties":false}],"description":"Why this account appears in a user's quorum accounts: as a direct participant, or through a group they belong to","type":"object"},"PledgeResponse":{"type":"object","properties":{"tradelinkId":{"type":"string","description":"Unique identifier in Tradelink service"},"asset":{"type":"object","properties":{"name":{"type":"string","description":"Asset name"},"magnitude":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Decimal places (e.g. 18 for ETH)"}},"required":["name","magnitude"],"additionalProperties":false},"state":{"type":"string","enum":["PLEDGE_READY","PLEDGE_INCREMENT_PENDING_APPROVAL","PLEDGE_APPROVED","PLEDGE_REJECTED","UNPLEDGE_PENDING_APPROVAL","UNPLEDGE_APPROVED","UNPLEDGE_REJECTED","REPLEDGE_PENDING_APPROVAL","REPLEDGE_APPROVED","REPLEDGE_REJECTED","ASSIGNED_TO_SETTLEMENT","OUTBOUND_TRANSACTION_CONFIRMED","OUTBOUND_TRANSACTION_FAILED","RECOVERING_FROM_FAILURE","PLEDGE_CONSUMED"],"description":"Current lifecycle state of the pledge"},"isLocked":{"type":"boolean","description":"Whether the pledge is locked and cannot be adjusted"},"amount":{"type":"string","description":"Currently pledged amount"},"pending":{"type":"string","description":"Requested pledge increment, not yet approved"},"repledge":{"type":"string","description":"Approved re-pledge amount awaiting settlement"},"exchangeTradelinkId":{"type":"string","description":"Tradelink ID of the exchange holding this pledge"},"accountId":{"type":"string","description":"Revault account ID linked to this pledge"}},"required":["tradelinkId","asset","state","isLocked","amount","pending","repledge","exchangeTradelinkId","accountId"],"additionalProperties":false,"description":"Pledge"},"AccountLiveDataResponse":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"RAW_SIGNING","description":"Account type"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Raw signing account"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"},"confirmed":{"type":"string","description":"Confirmed balance"},"worthless":{"type":"string","description":"Worthless (dust) balance"},"mempoolIn":{"type":"string","description":"Incoming mempool balance"},"mempoolOut":{"type":"string","description":"Outgoing mempool balance"},"mempoolChange":{"type":"string","description":"Mempool change balance"},"underConfirmationIn":{"type":"string","description":"Incoming under-confirmation balance"},"underConfirmationChange":{"type":"string","description":"Under-confirmation change balance"}},"required":["total","pending","reserved","confirmed","worthless","mempoolIn","mempoolOut","mempoolChange","underConfirmationIn","underConfirmationChange"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"BITCOIN_LIKE","description":"Account type"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Bitcoin-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"CANTON_LIKE","description":"Account type"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Canton-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"CARDANO_LIKE","description":"Account type"},"staking":{"anyOf":[{"type":"object","properties":{"staked":{"type":"string","description":"Staked balance"}},"required":["staked"],"additionalProperties":false},{"type":"null"}],"description":"Cardano-like staking data"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Cardano-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"ETHEREUM_LIKE","description":"Account type"},"staking":{"anyOf":[{"type":"object","properties":{"totalStaking":{"type":"string","description":"Total staked amount"},"totalRewards":{"type":"string","description":"Total of rewards"},"availableRewards":{"type":"string","description":"Available rewards"},"networkApy":{"type":"number","description":"Network APY"},"consolidationTargets":{"description":"The smallest positions a stake can be consolidated into, ascending. Only the smallest target can have room for a given source, so these are enough to decide any position's eligibility without listing the account. Two entries rather than one because a position is never its own target. Absent on accounts whose staking data does not come from position listing.","maxItems":2,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Staking position ID"},"staked":{"type":"string","description":"Staked amount of that position"}},"required":["id","staked"],"additionalProperties":false}}},"required":["totalStaking","totalRewards"],"additionalProperties":false},{"type":"null"}],"description":"Ethereum-like staking data"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Ethereum-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"GENERIC_LIKE","description":"Account type"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Generic-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"HEDERA_LIKE","description":"Account type"},"staking":{"anyOf":[{"type":"object","properties":{"totalStaked":{"type":"string","description":"Total staked amount"},"totalRewards":{"type":"string","description":"Total of rewards"}},"required":["totalStaked","totalRewards"],"additionalProperties":false},{"type":"null"}],"description":"Hedera-like staking data"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Hedera-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"POLKADOT_LIKE","description":"Account type"},"staking":{"anyOf":[{"type":"object","properties":{"info":{"type":"object","properties":{"controllerAddress":{"description":"Controller address","type":["string","null"]},"rewardsDestination":{"description":"Rewards destination","type":["string","null"]},"proxies":{"type":"array","items":{"type":"string"},"description":"Proxies"},"legacyStaking":{"type":"boolean","description":"True if account uses legacy staking"},"isNominator":{"type":"boolean","description":"True if is nominator"}},"required":["controllerAddress","rewardsDestination","proxies","legacyStaking","isNominator"],"additionalProperties":false},"balances":{"type":"object","properties":{"free":{"type":"string","description":"Free balance"},"reserved":{"type":"string","description":"Reserved balance"},"frozen":{"type":"string","description":"Frozen balance"},"bonded":{"type":"string","description":"Bonded balance"},"available":{"type":"string","description":"Available balance"},"unbonding":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"string","description":"Amount"},"waiting_time":{"type":"string","description":"Waiting time"}},"required":["amount","waiting_time"],"additionalProperties":false},"description":"Unbonding balances"},"unbonded":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"string","description":"Amount"},"waiting_time":{"type":"string","description":"Waiting time"}},"required":["amount","waiting_time"],"additionalProperties":false},"description":"Unbonded balances"},"totalUnbonding":{"type":"string","description":"Total unbonding"},"totalUnbonded":{"type":"string","description":"Total unbonded"}},"required":["free","reserved","frozen","bonded","available","unbonding","unbonded","totalUnbonding","totalUnbonded"],"additionalProperties":false},"anonymousProxy":{"anyOf":[{"type":"object","properties":{"address":{"type":"string","description":"Address"},"createdAt":{"type":"string","description":"Creation date"},"isController":{"type":"boolean","description":"True if is controller"},"isMain":{"type":"boolean","description":"True if is main"},"balances":{"anyOf":[{"type":"object","properties":{"free":{"type":"string","description":"Anonymous proxy free balance"},"reserved":{"type":"string","description":"Anonymous proxy reserved balance"},"frozen":{"type":"string","description":"Anonymous proxy frozen balance"},"bonded":{"type":"string","description":"Anonymous proxy bonded balance"},"available":{"type":"string","description":"Anonymous proxy available balance"},"total":{"type":"string","description":"Anonymous proxy total balance"}},"required":["free","reserved","frozen","bonded","available","total"],"additionalProperties":false},{"type":"null"}]},"blockHeight":{"type":"string","description":"Anonymous proxy block height"},"extIndex":{"type":"string","description":"Ext index"},"index":{"type":"string","description":"Index"},"kind":{"type":"string","description":"Kind"}},"required":["address","createdAt","isController","isMain","balances","blockHeight","extIndex","index","kind"],"additionalProperties":false},{"type":"null"}],"description":"Anonymous proxy"}},"required":["info","balances","anonymousProxy"],"additionalProperties":false},{"type":"null"}],"description":"Polkadot-like staking data"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Polkadot-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"RIPPLE_LIKE","description":"Account type"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Ripple-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"SOLANA_LIKE","description":"Account type"},"staking":{"anyOf":[{"type":"object","properties":{"totalStaked":{"type":"string","description":"Total staked amount"},"totalRewards":{"type":"string","description":"Total of rewards"}},"required":["totalStaked","totalRewards"],"additionalProperties":false},{"type":"null"}],"description":"Solana-like staking data"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Solana-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"STELLAR_LIKE","description":"Account type"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Stellar-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"SUI_LIKE","description":"Account type"},"staking":{"anyOf":[{"type":"object","properties":{"totalStaked":{"type":"string","description":"Total staked amount"},"totalRewards":{"type":"string","description":"Total of rewards"}},"required":["totalStaked","totalRewards"],"additionalProperties":false},{"type":"null"}],"description":"Sui-like staking data"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Sui-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"TEZOS_LIKE","description":"Account type"},"staking":{"anyOf":[{"type":"object","properties":{"delegations":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Baker address"}},"required":["address"],"additionalProperties":false},"description":"List of baker addresses the account has delegated to"}},"required":["delegations"],"additionalProperties":false},{"type":"null"}],"description":"Tezos-like staking data"}},"required":["id","balance","type"],"additionalProperties":false,"description":"Tezos-like"},{"type":"object","properties":{"id":{"type":"string","description":"Account internal unique identifier"},"balance":{"type":"object","properties":{"total":{"type":"string","description":"Total balance"},"pending":{"type":"string","description":"Pending balance"},"reserved":{"type":"string","description":"Minimum balance the account must always keep (0 if none)"}},"required":["total","pending","reserved"],"additionalProperties":false,"description":"Balance fields"},"type":{"type":"string","const":"TRON_LIKE","description":"Account type"},"networkInfo":{"anyOf":[{"type":"object","properties":{"bandwidth":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"The bandwidth of the account"},"energy":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"The energy of the account"}},"required":["bandwidth","energy"],"additionalProperties":false,"description":"Tron-like network info fields"},{"type":"null"}],"description":"The network info of the account, or null if unavailable"}},"required":["id","balance","type","networkInfo"],"additionalProperties":false,"description":"Tron-like"}],"description":"Account live data","type":"object"},"SignedMessageResponse":{"allOf":[{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier"},"address":{"type":"string","description":"Address of the signing key"},"derivationPath":{"type":"string","description":"Derivation path of the signing key"},"signature":{"type":"object","properties":{"digest":{"description":"Signed digest","type":["string","null"]},"derivationPath":{"description":"Derivation path used to sign the digest","type":["string","null"]},"r":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Base64 encoded signature r coordinate"},"s":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Base64 encoded signature s coordinate"},"v":{"anyOf":[{"anyOf":[{"type":"number","const":0},{"type":"number","const":1}]},{"type":"null"}],"description":"Ecdsa only, signature recovery value"},"der":{"type":"string","pattern":"^[0-9a-fA-F]+$","description":"Hex string encoded DER signature format (for eddsa, concatenation of r & s)"},"pubkey":{"anyOf":[{"type":"string","pattern":"^[0-9a-fA-F]+$"},{"type":"null"}],"description":"Public key for signature verification, 32 or 33 bytes"}},"required":["digest","derivationPath","r","s","v","der","pubkey"],"additionalProperties":false,"description":"Signature of the message"},"createdById":{"type":"string","description":"ID of the creator"},"createdAt":{"description":"Creation timestamp","type":"string"}},"required":["id","address","derivationPath","signature","createdById","createdAt"],"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"EIP191"},"data":{"$ref":"#/components/schemas/MessageHexData"}},"required":["type","data"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"EIP712"},"data":{"$ref":"#/components/schemas/Eip712DataOutput"}},"required":["type","data"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"CIP8"},"data":{"$ref":"#/components/schemas/MessageHexData"},"signingKey":{"type":"string","enum":["PAYMENT","STAKE"],"description":"CIP-8 signing key"}},"required":["type","data","signingKey"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"BIP137"},"data":{"$ref":"#/components/schemas/MessageHexData"}},"required":["type","data"],"additionalProperties":false}],"type":"object"}],"description":"Signed message"},"GroupResponse":{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"name":{"type":"string","description":"Group name"},"description":{"description":"Group description","type":["string","null"]},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Group status"},"members":{"type":"array","items":{"$ref":"#/components/schemas/UserResponse"},"description":"Group members"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"}},"required":["id","legacyId","name","description","status","members","createdAt","updatedAt"],"additionalProperties":false,"description":"Group"},"WhitelistResponse":{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"name":{"type":"string","description":"Whitelist name"},"type":{"type":"string","enum":["TRANSACTION","SMART_CONTRACT"],"description":"Whitelist usage type"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Whitelist status"},"addresses":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50,"description":"Address name"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Address currency"},"address":{"type":"string","minLength":1,"maxLength":200,"description":"Address value"},"destinationTag":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Destination tag (applicable for Ripple currency)"}},"required":["name","currency","address"],"additionalProperties":false}},"addressCount":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of addresses (entries) held by the whitelist"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"description":{"description":"Whitelist description","type":["string","null"]}},"required":["id","legacyId","name","type","status","addresses","addressCount","createdAt","updatedAt","description"],"additionalProperties":false,"description":"Whitelist"},"PolicyResponse":{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"name":{"type":"string","description":"Policy name"},"description":{"description":"Policy description","type":["string","null"]},"asset":{"anyOf":[{"type":"object","properties":{"network":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Network identifier"},"contractAddress":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token issuer"},"tokenIdentifier":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token identifier"}},"required":["network","contractAddress","tokenIdentifier"],"additionalProperties":false},{"type":"null"}],"description":"Policy asset identity"},"isPrivate":{"type":"boolean","description":"Whether the policy is private"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/GovRuleResponse"},"description":"List of governance rules"},"whitelists":{"type":"array","items":{"$ref":"#/components/schemas/WhitelistResponse"},"description":"Related whitelists"},"users":{"type":"array","items":{"$ref":"#/components/schemas/UserResponse"},"description":"Referenced users"},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Internal unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"name":{"type":"string","description":"Group name"},"description":{"description":"Group description","type":["string","null"]},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Group status"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"memberIds":{"type":"array","items":{"type":"string"},"description":"List of member user IDs"}},"required":["id","legacyId","name","description","status","createdAt","updatedAt","memberIds"],"additionalProperties":false},"description":"Referenced groups"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"}},"required":["id","legacyId","name","description","asset","isPrivate","rules","whitelists","users","groups","createdAt","updatedAt"],"additionalProperties":{},"description":"Account policy"},"GovRuleResponse":{"type":"object","properties":{"reviewSteps":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"groupId":{"type":"string","minLength":1,"description":"Group id in the step"}},"required":["quorum","groupId"],"additionalProperties":false,"description":"Review step with group"}]},"description":"Review steps"},"threshold":{"type":"object","properties":{"min":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Minimum transaction amount"},"max":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Maximum transaction amount"}},"required":["min","max"],"additionalProperties":false,"description":"Threshold for the transaction value"},"fiatThreshold":{"type":"object","properties":{"max":{"type":"string","pattern":"^(0|[1-9]\\d*)(?:\\.(\\d+))?$","description":"Maximum countervalue, in `currency`, as a decimal string such as `1000.50`. At most as many decimal places as the currency has: 2 for USD, 0 for JPY."},"currency":{"type":"string","enum":["USD","EUR","GBP","JPY","CHF"],"description":"Currency the ceiling is denominated in"}},"required":["max","currency"],"additionalProperties":false,"description":"Countervalue ceiling for the transaction value"},"whitelistIds":{"type":"array","items":{"type":"string","minLength":1},"description":"IDs of whitelists for the recipient address"},"operationType":{"type":"string","enum":["SEND","DEPLOY_CONTRACT","EXECUTE_CONTRACT","ACTIVATE_TOKEN","RECEIVE","STAKE","SIGN_MESSAGE","SIGN_DIGESTS"],"description":"Allowed action"}},"required":["reviewSteps","operationType"],"additionalProperties":false,"description":"Governance rule"},"EntityResponse":{"type":"object","properties":{"id":{"type":"string","description":"Entity ID"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"name":{"type":"string","description":"Entity name"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Entity status"},"accountIds":{"type":"array","items":{"type":"string"},"description":"Accounts in this entity"},"memberIds":{"type":"array","items":{"type":"string"},"description":"Users in this entity"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"}},"required":["id","legacyId","name","status","accountIds","memberIds","createdAt","updatedAt"],"additionalProperties":false,"description":"Entity"},"VaultRequestResponse":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"UPDATE_QUORUM"},"data":{"type":"object","properties":{"quorum":{"type":"integer","minimum":2,"maximum":9007199254740991,"description":"Workspace quorum"}},"required":["quorum"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"UPDATE_QUORUM request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_EXTERNAL_SIGNER_PUBKEYS"},"data":{"type":"object","properties":{"previousPublicKeys":{"type":"array","items":{"type":"string","pattern":"^(?:0[23][0-9a-fA-F]{64}|04[0-9a-fA-F]{128})$"}},"requestedPublicKeys":{"minItems":1,"type":"array","items":{"type":"string","pattern":"^(?:0[23][0-9a-fA-F]{64}|04[0-9a-fA-F]{128})$"}}},"required":["previousPublicKeys","requestedPublicKeys"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_EXTERNAL_SIGNER_PUBKEYS request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"$ref":"#/components/schemas/CreateTransactionRequestData"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_TRANSACTION request"},{"type":"object","properties":{"type":{"type":"string","const":"SIGN_MESSAGE"},"data":{"type":"object","properties":{"message":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"EIP191"},"data":{"$ref":"#/components/schemas/MessageHexData"}},"required":["type","data"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"EIP712"},"data":{"$ref":"#/components/schemas/Eip712DataOutput"}},"required":["type","data"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"CIP8"},"data":{"$ref":"#/components/schemas/MessageHexData"},"signingKey":{"type":"string","enum":["PAYMENT","STAKE"],"description":"CIP-8 signing key"}},"required":["type","data","signingKey"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"BIP137"},"data":{"$ref":"#/components/schemas/MessageHexData"}},"required":["type","data"],"additionalProperties":false}],"description":"Message to sign","type":"object"},"accountId":{"type":"string","minLength":1,"description":"Target account id"},"address":{"type":"string","minLength":1,"description":"Address with which to sign the message"},"derivationPath":{"type":"string","minLength":1,"description":"Derivation path of the signing address"}},"required":["message","accountId","address","derivationPath"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"SIGN_MESSAGE request"},{"type":"object","properties":{"type":{"type":"string","const":"SIGN_DIGESTS"},"data":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"digests":{"type":"array","items":{"type":"object","properties":{"digest":{"type":"string","pattern":"^[0-9a-fA-F]+$","description":"The hex string digest to sign"},"derivationPath":{"type":"string","minLength":1,"description":"The derivation path with which to sign the digest"}},"required":["digest","derivationPath"],"additionalProperties":false},"description":"The digests to sign"}},"required":["accountId","digests"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"SIGN_DIGESTS request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_ACCOUNT"},"data":{"$ref":"#/components/schemas/CreateAccountRequestData"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_ACCOUNT request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_ACCOUNT"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"$ref":"#/components/schemas/EditAccountRequestData"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_ACCOUNT request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_TOKEN_RULE"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{"parentAccountId":{"type":"string","minLength":1,"description":"Parent account unique ID"},"contractAddress":{"type":"string","minLength":1,"description":"Token contract address"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/ClassicGovRuleData"},"description":"Account governance rules"}},"required":["parentAccountId","contractAddress","rules"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_TOKEN_RULE request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_GROUP"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"Group name"},"description":{"description":"Group description","type":["string","null"]},"members":{"type":"array","items":{"type":"string"},"description":"List of group members ids"}},"required":["name","description","members"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_GROUP request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_GROUP"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"Group name"},"description":{"description":"Group description","type":["string","null"]},"members":{"type":"array","items":{"type":"string"},"description":"List of group members ids"}},"required":["name","description","members"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_GROUP request"},{"type":"object","properties":{"type":{"type":"string","const":"REVOKE_GROUP"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{},"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"REVOKE_GROUP request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_WHITELIST"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"Whitelist name"},"description":{"type":["string","null"]},"addresses":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1,"maxLength":200},"destinationTag":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"}},"required":["name","currency","address"],"additionalProperties":false}},"type":{"type":"string","enum":["TRANSACTION","SMART_CONTRACT"]}},"required":["name","description","addresses","type"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_WHITELIST request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_WHITELIST"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"Whitelist name"},"addresses":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1,"maxLength":200},"destinationTag":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"}},"required":["name","currency","address"],"additionalProperties":false}}},"required":["name","addresses"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_WHITELIST request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_ENTITY"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"Entity name"},"accountIds":{"type":"array","items":{"type":"string"},"description":"List of Account IDs"},"memberIds":{"type":"array","items":{"type":"string"},"description":"List of User IDs"}},"required":["name","accountIds","memberIds"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_ENTITY request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_ENTITY"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"Entity name"},"accountIds":{"type":"array","items":{"type":"string"},"description":"List of Account IDs"},"memberIds":{"type":"array","items":{"type":"string"},"description":"List of User IDs"}},"required":["name","accountIds","memberIds"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_ENTITY request"},{"type":"object","properties":{"type":{"type":"string","const":"REVOKE_ENTITY"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{},"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"REVOKE_ENTITY request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_PSD_USER"},"data":{"type":"object","properties":{"registrationId":{"type":"string","description":"User registration ID"}},"required":["registrationId"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_PSD_USER request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_API_USER"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"User name"},"pubKey":{"type":"string","pattern":"^04[0-9a-fA-F]{128}$","description":"Public key, uncompressed secp256r1 format"},"role":{"type":"string","enum":["ADMIN","OPERATOR"],"description":"User role"},"viewAll":{"type":"boolean","description":"View all data"}},"required":["name","pubKey","role"],"additionalProperties":false,"description":"Create API user request data"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_API_USER request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_API_USER_ACCESS"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"User name"}},"required":["name"],"additionalProperties":false,"description":"Create API user credential request data"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_API_USER_ACCESS request"},{"type":"object","properties":{"type":{"type":"string","const":"REVOKE_USER"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{},"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"REVOKE_USER request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_WORKSPACE_RULE"},"data":{"type":"object","properties":{"permission":{"type":"string","enum":["CREATE_ACCOUNT_WITH_POLICY"],"description":"Granted permissions"},"reviewConfig":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of admin review steps"}},"required":["permission","reviewConfig"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_WORKSPACE_RULE request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_SCICONFIG"},"data":{"type":"object","properties":{"account":{"type":"string","description":"Account UUID"},"config":{"type":"object","properties":{"dapps":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Allowed DApps, null allows all"},"customContractCallEnabled":{"type":"boolean","description":"Allow non-DApp SCI"}},"required":["dapps","customContractCallEnabled"],"additionalProperties":false}},"required":["account","config"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_SCICONFIG request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_SCICONFIG"},"data":{"type":"object","properties":{"config":{"type":"object","properties":{"dapps":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Allowed DApps, null allows all"},"customContractCallEnabled":{"type":"boolean","description":"Allow non-DApp SCI"}},"required":["dapps","customContractCallEnabled"],"additionalProperties":false}},"required":["config"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_SCICONFIG request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_API_KEY"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"API key name"},"entities":{"type":"array","items":{"type":"string"},"description":"List of related entities ids"},"scopes":{"type":"object","properties":{},"additionalProperties":false,"description":"FIXME to be precised"}},"required":["name","entities","scopes"],"additionalProperties":false,"description":"Create read-only API key request data"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_API_KEY request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_API_KEY"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"API key name"},"entities":{"type":"array","items":{"type":"string"},"description":"List of related entities ids"},"scopes":{"type":"object","properties":{},"additionalProperties":false,"description":"FIXME to be precised"}},"required":["name","entities","scopes"],"additionalProperties":false,"description":"Edit read-only API key request data"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_API_KEY request"},{"type":"object","properties":{"type":{"type":"string","const":"REVOKE_API_KEY"},"data":{"type":"object","properties":{},"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"REVOKE_API_KEY request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_POLICY"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"Policy name"},"description":{"description":"Description","type":["string","null"]},"asset":{"anyOf":[{"type":"object","properties":{"network":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Network identifier"},"contractAddress":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token issuer"},"tokenIdentifier":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token identifier"}},"required":["network","contractAddress","tokenIdentifier"],"additionalProperties":false},{"type":"null"}],"description":"Structured asset (network + contract)"},"govRules":{"type":"array","items":{"$ref":"#/components/schemas/ClassicGovRuleData"},"description":"Governance rules"}},"required":["name","description","asset","govRules"],"additionalProperties":{}},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_POLICY request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_POLICY"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"Policy name"},"description":{"description":"Description","type":["string","null"]},"govRules":{"type":"array","items":{"$ref":"#/components/schemas/ClassicGovRuleData"},"description":"Governance rules"}},"required":["name","description","govRules"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_POLICY request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_ACTIVATE_ACCOUNT"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"null"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_ACTIVATE_ACCOUNT request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_CREATE_CUSTODIAN"},"data":{"type":"object","properties":{"settlement":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of settlement review steps"},"withdraw":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of withdraw review steps"},"arbitration":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of arbitration review steps"}},"required":["settlement","withdraw","arbitration"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_CREATE_CUSTODIAN request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_EDIT_CUSTODIAN"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{"settlement":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of settlement review steps"},"withdraw":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of withdraw review steps"},"arbitration":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of arbitration review steps"}},"required":["settlement","withdraw","arbitration"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_EDIT_CUSTODIAN request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_CREATE_EXCHANGE"},"data":{"type":"object","properties":{"tradelinkId":{"type":"string","minLength":1},"groups":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of asset manager review groups"},"whitelist":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1}},"required":["name","currency","address"],"additionalProperties":false},"description":"List of asset manager whitelisted addresses"}},"required":["tradelinkId","groups","whitelist"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_CREATE_EXCHANGE request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_EDIT_EXCHANGE"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{"tradelinkId":{"type":"string","minLength":1},"groups":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of asset manager review groups"},"whitelist":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1}},"required":["name","currency","address"],"additionalProperties":false},"description":"List of asset manager whitelisted addresses"}},"required":["tradelinkId","groups","whitelist"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_EDIT_EXCHANGE request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_CREATE_ASSET_MANAGER"},"data":{"type":"object","properties":{"tradelinkId":{"type":"string","minLength":1},"groups":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of asset manager review groups"},"whitelist":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1}},"required":["name","currency","address"],"additionalProperties":false},"description":"List of asset manager whitelisted addresses"}},"required":["tradelinkId","groups","whitelist"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_CREATE_ASSET_MANAGER request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_EDIT_ASSET_MANAGER"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"data":{"type":"object","properties":{"tradelinkId":{"type":"string","minLength":1},"groups":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of asset manager review groups"},"whitelist":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1}},"required":["name","currency","address"],"additionalProperties":false},"description":"List of asset manager whitelisted addresses"}},"required":["tradelinkId","groups","whitelist"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_EDIT_ASSET_MANAGER request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_ADJUST_PLEDGE"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"exchangeId":{"type":"string","description":"Exchange id"},"amount":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$","description":"Amount to add to pledge"}},"required":["accountId","exchangeId","amount"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_ADJUST_PLEDGE request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_REPLEDGE"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"exchangeId":{"type":"string","description":"Exchange id"},"amount":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$","description":"Amount to add to pledge"}},"required":["accountId","exchangeId","amount"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_REPLEDGE request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_CREATE_SETTLEMENT"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"exchangeId":{"type":"string","description":"Exchange id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CardanoSendDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSendDataOutput"},{"$ref":"#/components/schemas/RippleLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendDataOutput"},{"$ref":"#/components/schemas/StellarLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeSendDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendDataOutput","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendDataOutput","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput"}}}},"required":["accountId","exchangeId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_CREATE_SETTLEMENT request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_FORCE_UNPLEDGE"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"exchangeId":{"type":"string","description":"Exchange id"}},"required":["accountId","exchangeId"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_FORCE_UNPLEDGE request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_WITHDRAW"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CardanoSendDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSendDataOutput"},{"$ref":"#/components/schemas/RippleLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendDataOutput"},{"$ref":"#/components/schemas/StellarLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeSendDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendDataOutput","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendDataOutput","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput"}}}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_WITHDRAW request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_ARBITRATE"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CardanoSendDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSendDataOutput"},{"$ref":"#/components/schemas/RippleLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendDataOutput"},{"$ref":"#/components/schemas/StellarLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeSendDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendDataOutput","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendDataOutput","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput"}}}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"targetId":{"description":"Optional ID of the target object","type":["string","null"]},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"description":"Group name if the reviewer was part of an operator group","type":["string","null"]},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false},"scanHistory":{"description":"Transaction Check scan history (creation + optional pre-signature)","type":"array","items":{"$ref":"#/components/schemas/TransactionScanSummary"}}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_ARBITRATE request"}],"description":"Vault request response data","type":"object"},"TransactionScanSummary":{"type":"object","properties":{"type":{"type":"string","enum":["creation","pre_signature"]},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"riskLevel":{"type":"string","enum":["BENIGN","RISK","THREAT","UNAVAILABLE"]},"riskCategory":{"type":"string","enum":["NA","OTHERS","ADDRESS","SMART_CONTRACT","LOSING_OPERATION"]},"message":{"type":"string"},"tinyUrl":{"type":"string"}},"required":["type","timestamp","riskLevel","riskCategory","message","tinyUrl"],"additionalProperties":false},"CreateTransactionRequestData":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/CantonLikeWithdrawDataOutput"},{"$ref":"#/components/schemas/CantonLikeReceiveDataOutput"},{"$ref":"#/components/schemas/CantonLikePreApprovalDataOutput"},{"$ref":"#/components/schemas/CardanoSendDataOutput"},{"$ref":"#/components/schemas/CardanoStakingDelegateDataOutput"},{"$ref":"#/components/schemas/CardanoStakingDeregisterDataOutput"},{"$ref":"#/components/schemas/CardanoStakingRegisterDataOutput"},{"$ref":"#/components/schemas/CardanoStakingWithdrawDataOutput"},{"$ref":"#/components/schemas/EthereumLikeDeployContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeExecuteContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingDepositDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingTopUpDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingWithdrawDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingConsolidateDataOutput"},{"$ref":"#/components/schemas/EthereumLikeStakingUpgradeDataOutput"},{"$ref":"#/components/schemas/GenericTransactionDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/HederaLikeStakeDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeAddProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeAnonymousProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeBondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeBondExtraDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeChillDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeKillAnonymousDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeRebondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeRemoveProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSendDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSetPayeeDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeUnbondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeWithdrawUnbondedDataOutput"},{"$ref":"#/components/schemas/RippleLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeCreateDelegateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeDeactivateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeDelegateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeMergeStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSplitDeactivateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSplitStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeWithdrawStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/SolanaLikeFundAndSendTokenDataOutput"},{"$ref":"#/components/schemas/SolanaLikeCreateTokenAccountDataOutput"},{"$ref":"#/components/schemas/StellarLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeTransferTokenDataOutput"},{"$ref":"#/components/schemas/SuiLikeStakeDataOutput"},{"$ref":"#/components/schemas/SuiLikeUnstakeDataOutput"},{"$ref":"#/components/schemas/TezosLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeDelegateDataOutput"},{"$ref":"#/components/schemas/TezosLikeUndelegateDataOutput"},{"$ref":"#/components/schemas/TronLikeSendDataOutput"},{"$ref":"#/components/schemas/TronLikeSendTokenDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CANTON_LIKE_SEND_TOKEN":"#/components/schemas/CantonLikeSendTokenDataOutput","CANTON_LIKE_WITHDRAW":"#/components/schemas/CantonLikeWithdrawDataOutput","CANTON_LIKE_RECEIVE":"#/components/schemas/CantonLikeReceiveDataOutput","CANTON_LIKE_PRE_APPROVAL":"#/components/schemas/CantonLikePreApprovalDataOutput","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendDataOutput","CARDANO_LIKE_STAKING_DELEGATE":"#/components/schemas/CardanoStakingDelegateDataOutput","CARDANO_LIKE_STAKING_DEREGISTER":"#/components/schemas/CardanoStakingDeregisterDataOutput","CARDANO_LIKE_STAKING_REGISTER":"#/components/schemas/CardanoStakingRegisterDataOutput","CARDANO_LIKE_STAKING_WITHDRAW":"#/components/schemas/CardanoStakingWithdrawDataOutput","ETHEREUM_LIKE_DEPLOY_CONTRACT":"#/components/schemas/EthereumLikeDeployContractDataOutput","ETHEREUM_LIKE_EXECUTE_CONTRACT":"#/components/schemas/EthereumLikeExecuteContractDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","ETHEREUM_LIKE_STAKE_DEPOSIT":"#/components/schemas/EthereumLikeStakingDepositDataOutput","ETHEREUM_LIKE_STAKE_TOP_UP":"#/components/schemas/EthereumLikeStakingTopUpDataOutput","ETHEREUM_LIKE_STAKE_WITHDRAW":"#/components/schemas/EthereumLikeStakingWithdrawDataOutput","ETHEREUM_LIKE_STAKE_CONSOLIDATE":"#/components/schemas/EthereumLikeStakingConsolidateDataOutput","ETHEREUM_LIKE_STAKE_UPGRADE":"#/components/schemas/EthereumLikeStakingUpgradeDataOutput","GENERIC_TRANSACTION":"#/components/schemas/GenericTransactionDataOutput","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","HEDERA_LIKE_SEND_TOKEN":"#/components/schemas/HederaLikeSendTokenDataOutput","HEDERA_LIKE_STAKE":"#/components/schemas/HederaLikeStakeDataOutput","POLKADOT_LIKE_ADDPROXY":"#/components/schemas/PolkadotLikeAddProxyDataOutput","POLKADOT_LIKE_ANONYMOUSPROXY":"#/components/schemas/PolkadotLikeAnonymousProxyDataOutput","POLKADOT_LIKE_BOND":"#/components/schemas/PolkadotLikeBondDataOutput","POLKADOT_LIKE_BONDEXTRA":"#/components/schemas/PolkadotLikeBondExtraDataOutput","POLKADOT_LIKE_CHILL":"#/components/schemas/PolkadotLikeChillDataOutput","POLKADOT_LIKE_KILLANONYMOUS":"#/components/schemas/PolkadotLikeKillAnonymousDataOutput","POLKADOT_LIKE_REBOND":"#/components/schemas/PolkadotLikeRebondDataOutput","POLKADOT_LIKE_REMOVEPROXY":"#/components/schemas/PolkadotLikeRemoveProxyDataOutput","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendDataOutput","POLKADOT_LIKE_SETPAYEE":"#/components/schemas/PolkadotLikeSetPayeeDataOutput","POLKADOT_LIKE_UNBOND":"#/components/schemas/PolkadotLikeUnbondDataOutput","POLKADOT_LIKE_WITHDRAWUNBONDED":"#/components/schemas/PolkadotLikeWithdrawUnbondedDataOutput","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput","SOLANA_LIKE_CREATE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeCreateDelegateStakeDataOutput","SOLANA_LIKE_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeDeactivateStakeDataOutput","SOLANA_LIKE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeDelegateStakeDataOutput","SOLANA_LIKE_MERGE_STAKE":"#/components/schemas/SolanaLikeMergeStakeDataOutput","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendDataOutput","SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeSplitDeactivateStakeDataOutput","SOLANA_LIKE_SPLIT_STAKE":"#/components/schemas/SolanaLikeSplitStakeDataOutput","SOLANA_LIKE_WITHDRAW_STAKE":"#/components/schemas/SolanaLikeWithdrawStakeDataOutput","SOLANA_LIKE_SEND_TOKEN":"#/components/schemas/SolanaLikeSendTokenDataOutput","SOLANA_LIKE_FUND_AND_SEND_TOKEN":"#/components/schemas/SolanaLikeFundAndSendTokenDataOutput","SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT":"#/components/schemas/SolanaLikeCreateTokenAccountDataOutput","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","SUI_LIKE_SEND_TOKEN":"#/components/schemas/SuiLikeTransferTokenDataOutput","SUI_LIKE_STAKE":"#/components/schemas/SuiLikeStakeDataOutput","SUI_LIKE_UNSTAKE":"#/components/schemas/SuiLikeUnstakeDataOutput","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput","TEZOS_LIKE_DELEGATE":"#/components/schemas/TezosLikeDelegateDataOutput","TEZOS_LIKE_UNDELEGATE":"#/components/schemas/TezosLikeUndelegateDataOutput","TRON_LIKE_SEND":"#/components/schemas/TronLikeSendDataOutput","TRON_LIKE_SEND_TOKEN":"#/components/schemas/TronLikeSendTokenDataOutput"}}},"maxAllowedRiskLevel":{"description":"Maximum scan risk level the request creator consented to. The creation-time scan aborts the request when the canonical verdict exceeds this bound. Defaults to UNAVAILABLE (no gate).","$ref":"#/components/schemas/TransactionRiskLevel"}},"required":["accountId","transaction"],"additionalProperties":false,"description":"Create transaction request data"},"CreateAccountRequestData":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"HSM object name"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"contractAddress":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token issuer"},"tokenIdentifier":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token identifier"},"bitcoinAddressDerivationMode":{"description":"Bitcoin address derivation mode. STATIC reuses the account's first receive address; NEW (default) returns a fresh address each time. Only valid for bitcoin accounts.","type":"string","enum":["NEW","STATIC"]},"governance":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"CLASSIC"},"policy":{"anyOf":[{"type":"object","properties":{"policyId":{"type":"string","minLength":1}},"required":["policyId"],"additionalProperties":false,"description":"Account policy"},{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/components/schemas/ClassicGovRuleData"}}},"required":["rules"],"additionalProperties":false,"description":"Account governance rules"}],"description":"Account policy or governance rules"}},"required":["type","policy"],"additionalProperties":false,"description":"Classic governance"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK"},"assetManagerId":{"type":"string"},"exchangeConfigs":{"type":"array","items":{"type":"object","properties":{"exchangeId":{"type":"string","description":"Tradelink exchange id"},"repledgeAuthorized":{"type":"boolean","description":"Determines whether this exchange is authorized to repledge on this account"},"needsAssetManagerApprovalForSettlements":{"type":"boolean","description":"Determines whether asset manager will \"pre-approve\" the settlement requests on this account"}},"required":["exchangeId","repledgeAuthorized","needsAssetManagerApprovalForSettlements"],"additionalProperties":false}}},"required":["type","assetManagerId","exchangeConfigs"],"additionalProperties":false,"description":"Tradelink governance"},{"type":"object","properties":{"type":{"type":"string","const":"RAW_SIGNING"},"policy":{"type":"object","properties":{"rules":{"type":"array","items":{"type":"object","properties":{"operationType":{"type":"string","const":"SIGN_DIGESTS"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"}}},"required":["operationType","reviewSteps"],"additionalProperties":false,"description":"Digest signing rule"}}},"required":["rules"],"additionalProperties":false}},"required":["type","policy"],"additionalProperties":false,"description":"Raw signing governance"}],"description":"Governance fields","type":"object"},"portfolioIds":{"description":"Ids of the portfolios the account will be attached to once the request is fully approved.","type":"array","items":{"type":"string"}},"index":{"type":"number","minimum":0,"description":"Account index"},"derivationPath":{"type":"string","description":"Account bip44 derivation path"},"type":{"type":"string","enum":["BITCOIN_LIKE","CANTON_LIKE","CARDANO_LIKE","ETHEREUM_LIKE","GENERIC_LIKE","HEDERA_LIKE","POLKADOT_LIKE","RAW_SIGNING","RIPPLE_LIKE","SOLANA_LIKE","STELLAR_LIKE","SUI_LIKE","TEZOS_LIKE","TRON_LIKE"]}},"required":["name","currency","contractAddress","tokenIdentifier","governance","index","derivationPath","type"],"additionalProperties":false,"description":"Create account request data"},"ClassicGovRuleData":{"type":"object","properties":{"reviewSteps":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"groupId":{"type":"string","minLength":1,"description":"Group id in the step"}},"required":["quorum","groupId"],"additionalProperties":false,"description":"Review step with group"}]},"description":"Review steps"},"threshold":{"type":"object","properties":{"min":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Minimum transaction amount"},"max":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Maximum transaction amount"}},"required":["min","max"],"additionalProperties":false,"description":"Threshold for the transaction value"},"fiatThreshold":{"type":"object","properties":{"max":{"type":"string","pattern":"^(0|[1-9]\\d*)(?:\\.(\\d+))?$","description":"Maximum countervalue, in `currency`, as a decimal string such as `1000.50`. At most as many decimal places as the currency has: 2 for USD, 0 for JPY."},"currency":{"type":"string","enum":["USD","EUR","GBP","JPY","CHF"],"description":"Currency the ceiling is denominated in"}},"required":["max","currency"],"additionalProperties":false,"description":"Countervalue ceiling for the transaction value"},"whitelistIds":{"type":"array","items":{"type":"string","minLength":1},"description":"IDs of whitelists for the recipient address"},"operationType":{"type":"string","enum":["SEND","STAKE","DEPLOY_CONTRACT","EXECUTE_CONTRACT","SIGN_MESSAGE","ACTIVATE_TOKEN","RECEIVE"],"description":"Allowed action"}},"required":["reviewSteps","operationType"],"additionalProperties":false,"description":"Account governance rule"},"EditAccountRequestData":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"HSM object name"},"governance":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"CLASSIC"},"policy":{"anyOf":[{"type":"object","properties":{"policyId":{"type":"string","minLength":1}},"required":["policyId"],"additionalProperties":false,"description":"Account policy"},{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/components/schemas/ClassicGovRuleData"}}},"required":["rules"],"additionalProperties":false,"description":"Account governance rules"}],"description":"Account policy or governance rules"}},"required":["type","policy"],"additionalProperties":false,"description":"Classic governance"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK"},"exchangeConfigs":{"type":"array","items":{"type":"object","properties":{"exchangeId":{"type":"string","description":"Tradelink exchange id"},"repledgeAuthorized":{"type":"boolean","description":"Determines whether this exchange is authorized to repledge on this account"},"needsAssetManagerApprovalForSettlements":{"type":"boolean","description":"Determines whether asset manager will \"pre-approve\" the settlement requests on this account"}},"required":["exchangeId","repledgeAuthorized","needsAssetManagerApprovalForSettlements"],"additionalProperties":false}}},"required":["type","exchangeConfigs"],"additionalProperties":false,"description":"Tradelink governance"},{"type":"object","properties":{"type":{"type":"string","const":"RAW_SIGNING"},"policy":{"type":"object","properties":{"rules":{"type":"array","items":{"type":"object","properties":{"operationType":{"type":"string","const":"SIGN_DIGESTS"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"}}},"required":["operationType","reviewSteps"],"additionalProperties":false,"description":"Digest signing rule"}}},"required":["rules"],"additionalProperties":false}},"required":["type","policy"],"additionalProperties":false,"description":"Raw signing governance"}],"description":"Governance fields","type":"object"}},"required":["name","governance"],"additionalProperties":false,"description":"Edit account request data"},"TradelinkOrgEntityResponse":{"type":"object","properties":{"tradelinkId":{"type":"string","description":"Unique identifier in Tradelink service"},"name":{"type":"string","description":"Display name"},"code":{"type":"string","description":"Short identifier code"},"logoUrl":{"type":"string","description":"Logo URL"}},"required":["tradelinkId","name","code","logoUrl"],"additionalProperties":false,"description":"Tradelink organization entity"},"SettlementResponse":{"type":"object","properties":{"id":{"type":"string","description":"Settlement ID"},"pledgeId":{"type":"string","description":"Pledge ID associated with the settlement"},"state":{"type":"string","enum":["REGISTERED","PENDING_REPLEDGE_CREATION_APPROVAL","PENDING_REPLEDGE_APPROVAL","PENDING_CREATION_APPROVAL","PENDING_PRE_APPROVAL","PRE_APPROVED","APPROVED","REJECTED","CONFIRMED","FAILED","CANCELED"],"description":"State of the settlement"},"outboundTransactionHash":{"description":"Outbound transaction hash of the settlement","type":["string","null"]},"accountId":{"type":"string","description":"Account ID associated with the settlement"},"exchangeId":{"type":"string","description":"Exchange ID associated with the settlement"}},"required":["id","pledgeId","state","outboundTransactionHash","accountId","exchangeId"],"additionalProperties":false,"description":"Settlement"},"CantonTransferProposalOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transfer amount"},"contractId":{"type":"string","description":"ID of the transfer-proposal contract"},"instrumentAdmin":{"type":"string","description":"Issuer of the instrument being transferred"},"instrumentId":{"type":"string","description":"ID of the instrument being transferred"},"expiresAtMicros":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Expiration timestamp in microseconds"},"reason":{"description":"Optional reason attached to the transfer","type":["string","null"]},"sender":{"type":"string","description":"Party proposing to send the asset"},"recipient":{"type":"string","description":"Intended recipient of the proposed transfer"}},"required":["amount","contractId","instrumentAdmin","instrumentId","expiresAtMicros","reason","sender","recipient"],"additionalProperties":false,"description":"A pending asset-transfer request"},"Eip712DataOutput":{"type":"object","properties":{"types":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"description":"EIP-712 types"},"primaryType":{"type":"string","description":"EIP-712 primary type"},"domain":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"EIP-712 domain"},"message":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"EIP-712 message"}},"required":["types","primaryType","domain","message"],"additionalProperties":false,"description":"EIP-712 data to sign"},"BitcoinLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash (Replace-By-Fee).","type":"string"},"replacementReason":{"description":"Reason for the replacement: `boost` (speed-up) or `cancel`. Reporting label only; what the replacement pays is driven by `recipient` and `amount`.","type":"string","enum":["boost","cancel"]},"type":{"type":"string","const":"BITCOIN_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]},"feePerByte":{"description":"Fee per byte","anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}]}},"required":["type"],"additionalProperties":false,"description":"Bitcoin-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Bitcoin-like send data"},"CantonLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"executeBeforeSeconds":{"description":"Execute before seconds","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"reason":{"description":"Optional reason attached to the onchain operation","type":["string","null"]},"type":{"type":"string","const":"CANTON_LIKE_SEND"}},"required":["amount","currency","recipient","reason","type"],"additionalProperties":false,"description":"Canton-like send data"},"CantonLikeSendTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"executeBeforeSeconds":{"description":"Execute before seconds","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"reason":{"description":"Optional reason attached to the onchain operation","type":["string","null"]},"type":{"type":"string","const":"CANTON_LIKE_SEND_TOKEN"}},"required":["amount","currency","recipient","reason","type"],"additionalProperties":false,"description":"Canton-like send token data"},"CantonLikeWithdrawDataOutput":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transfer currency"},"transferProposal":{"$ref":"#/components/schemas/CantonTransferProposalOutput"},"reason":{"description":"Reason of the verdict","type":["string","null"]},"type":{"type":"string","const":"CANTON_LIKE_WITHDRAW"}},"required":["currency","transferProposal","reason","type"],"additionalProperties":false,"description":"Canton-like withdraw data"},"CantonLikeReceiveDataOutput":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transfer currency"},"transferProposal":{"$ref":"#/components/schemas/CantonTransferProposalOutput"},"verdict":{"type":"string","enum":["ACCEPT","REJECT"],"description":"Accept or reject the transfer"},"reason":{"description":"Reason of the verdict","type":["string","null"]},"type":{"type":"string","const":"CANTON_LIKE_RECEIVE"}},"required":["currency","transferProposal","verdict","reason","type"],"additionalProperties":false,"description":"Canton-like receive data"},"CantonLikePreApprovalDataOutput":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"recipient":{"type":"string","minLength":1,"description":"Recipient party on which to enable pre-approval"},"type":{"type":"string","const":"CANTON_LIKE_PRE_APPROVAL"}},"required":["currency","recipient","type"],"additionalProperties":false,"description":"Canton-like pre-approval data"},"CardanoSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"CARDANO_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Cardano-like fee strategy"},"sendMax":{"description":"Send the whole spendable balance, without change output. The amount must then be the amount of a send max fee estimate; the request fails if the balance changes before the broadcast","type":"boolean"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Cardano-like send data"},"CardanoStakingDelegateDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_DELEGATE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Cardano-like fee strategy"},"stakePoolId":{"type":"string","minLength":1,"maxLength":100,"description":"Stake pool ID to delegate to"}},"required":["type","currency","maxFee","feeStrategy","stakePoolId"],"additionalProperties":false,"description":"Cardano-like staking delegate"},"CardanoStakingDeregisterDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_DEREGISTER"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Cardano-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to deregister"}},"required":["type","currency","maxFee","feeStrategy","amount"],"additionalProperties":false,"description":"Cardano-like staking deregister data"},"CardanoStakingRegisterDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_REGISTER"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Cardano-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to register"}},"required":["type","currency","maxFee","feeStrategy","amount"],"additionalProperties":false,"description":"Cardano-like staking register data"},"CardanoStakingWithdrawDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_WITHDRAW"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Cardano-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to withdraw"}},"required":["type","currency","maxFee","feeStrategy","amount"],"additionalProperties":false,"description":"Cardano-like staking withdraw data"},"EthereumLikeDeployContractDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","const":""},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_DEPLOY_CONTRACT"},"contractData":{"description":"Contract data in hexadecimal format","type":"string"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"}},"required":["amount","currency","maxFee","recipient","type","contractData","feeStrategy"],"additionalProperties":false,"description":"Ethereum-like deploy contract data"},"EthereumLikeFeeStrategyOutput":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]},"gasPrice":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Gas price"},"gasLimit":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Gas limit"}},"required":["type","gasPrice","gasLimit"],"additionalProperties":false,"description":"Ethereum-like legacy fee strategy"},{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]},"maxPriorityFeePerGas":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Maximum priority fee per gas"},"maxFeePerGas":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Maximum fee per gas (base + priority)"},"gasLimit":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Gas limit"}},"required":["type","maxPriorityFeePerGas","maxFeePerGas","gasLimit"],"additionalProperties":false,"description":"Ethereum-like EIP-1559 fee strategy"}],"description":"Ethereum-like fee strategy"},"EthereumLikeExecuteContractDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_EXECUTE_CONTRACT"},"contractData":{"description":"Contract call data in hexadecimal format","type":"string"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"}},"required":["amount","currency","maxFee","recipient","type","contractData","feeStrategy"],"additionalProperties":false,"description":"Ethereum-like execute contract data"},"EthereumLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_SEND"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Ethereum-like send data"},"EthereumLikeStakingDepositDataOutput":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_DEPOSIT"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"},"amountPerValidator":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to stake per validator, in wei. Must be a multiple of the provider's `options.stakeAmountStepWei` from the staking validators endpoint (1 gwei when absent)."},"numberOfValidators":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Number of validators to stake with"},"stakingProvider":{"type":"string","minLength":1,"description":"Staking provider to use, as identified by the staking validators endpoint"},"withdrawalAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Execution-layer withdrawal address in hexadecimal format (20 bytes)"}},"required":["currency","maxFee","type","feeStrategy","amountPerValidator","numberOfValidators","stakingProvider","withdrawalAddress"],"additionalProperties":false,"description":"Ethereum-like staking deposit data"},"EthereumLikeStakingTopUpDataOutput":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_TOP_UP"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"},"validators":{"minItems":1,"type":"array","items":{"type":"object","properties":{"validatorPubKey":{"description":"Validator public key in hexadecimal format (48 bytes)","type":"string"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to stake per validator"}},"required":["validatorPubKey","amount"],"additionalProperties":false}}},"required":["currency","maxFee","type","feeStrategy","validators"],"additionalProperties":false,"description":"Ethereum-like staking top-up deposit data"},"EthereumLikeStakingWithdrawDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_WITHDRAW"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"},"validatorPubKey":{"description":"Validator public key in hexadecimal format (48 bytes)","type":"string"},"maxExecutionFees":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Max execution fee for the withdrawal transaction (in wei)"}},"required":["amount","currency","maxFee","type","feeStrategy","validatorPubKey"],"additionalProperties":false,"description":"Ethereum-like staking withdraw data"},"EthereumLikeStakingConsolidateDataOutput":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_CONSOLIDATE"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"},"sourcePubKey":{"description":"Source validator public key in hexadecimal format (48 bytes)","type":"string"},"targetPubKey":{"description":"Target validator public key in hexadecimal format (48 bytes)","type":"string"},"maxExecutionFees":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Max execution fee for the consolidation transaction (in wei)"},"sourceStakedAmount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Staked balance of the source validator when the request was created, in wei. Display only: the consolidation moves it on the consensus layer and never sends it."}},"required":["currency","maxFee","type","feeStrategy","sourcePubKey","targetPubKey"],"additionalProperties":false,"description":"Ethereum-like staking consolidate data"},"EthereumLikeStakingUpgradeDataOutput":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"replacingTxHash":{"description":"Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash.","type":"string"},"type":{"type":"string","const":"ETHEREUM_LIKE_STAKE_UPGRADE"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"},"validatorPubKey":{"description":"Validator public key in hexadecimal format (48 bytes)","type":"string"},"maxExecutionFees":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Max execution fee for the upgrade transaction (in wei)"}},"required":["currency","maxFee","type","feeStrategy","validatorPubKey"],"additionalProperties":false,"description":"Ethereum-like staking upgrade data"},"GenericTransactionDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"GENERIC_TRANSACTION"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"rawTx":{"type":"string","description":"Raw tx"}},"required":["type","currency","rawTx"],"additionalProperties":false,"description":"Generic transaction data"},"HederaLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"HEDERA_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Hedera-like send data"},"HederaLikeSendTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"HEDERA_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Hedera-like send token data"},"HederaLikeStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"HEDERA_LIKE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"nodeId":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$","description":"Node ID to delegate to"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false}},"required":["type","currency","nodeId","maxFee","feeStrategy"],"additionalProperties":false,"description":"Hedera-like stake data"},"PolkadotLikeAddProxyDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_ADDPROXY"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"kind":{"type":"string","const":"Staking","description":"Proxy kind"},"proxy":{"type":"string","description":"Proxy address"}},"required":["type","currency","kind","proxy"],"additionalProperties":false,"description":"Polkadot-like add proxy data"},"PolkadotLikeAnonymousProxyDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_ANONYMOUSPROXY"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"additionalProperties":false,"description":"Polkadot-like anonymous proxy data"},"PolkadotLikeBondDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_BOND"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"payee":{"type":"string","enum":["Staked","Stash"]},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","payee","amount"],"additionalProperties":false,"description":"Polkadot-like bond data"},"PolkadotLikeBondExtraDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_BONDEXTRA"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","amount"],"additionalProperties":false,"description":"Polkadot-like bond extra data"},"PolkadotLikeChillDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_CHILL"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"additionalProperties":false,"description":"Polkadot-like chill data"},"PolkadotLikeKillAnonymousDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_KILLANONYMOUS"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"additionalProperties":false,"description":"Polkadot-like kill anonymous data"},"PolkadotLikeRebondDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_REBOND"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","amount"],"additionalProperties":false,"description":"Polkadot-like rebond data"},"PolkadotLikeRemoveProxyDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_REMOVEPROXY"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"kind":{"type":"string","const":"Staking"},"proxy":{"type":"string","description":"Proxy address"}},"required":["type","currency","kind","proxy"],"additionalProperties":false,"description":"Polkadot-like remove proxy data"},"PolkadotLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"POLKADOT_LIKE_SEND"}},"required":["amount","currency","maxFee","recipient","type"],"additionalProperties":false,"description":"Polkadot-like send data"},"PolkadotLikeSetPayeeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_SETPAYEE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"payee":{"type":"string","enum":["Staked","Stash"]}},"required":["type","currency","payee"],"additionalProperties":false,"description":"Polkadot-like set payee data"},"PolkadotLikeUnbondDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_UNBOND"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","amount"],"additionalProperties":false,"description":"Polkadot-like unbond data"},"PolkadotLikeWithdrawUnbondedDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_WITHDRAWUNBONDED"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"additionalProperties":false,"description":"Polkadot-like withdraw unbonded data"},"RippleLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"RIPPLE_LIKE_SEND"},"destinationTag":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Destination tag"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"additionalProperties":false,"description":"Ripple-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","destinationTag","feeStrategy"],"additionalProperties":false,"description":"Ripple-like send data"},"SolanaLikeCreateDelegateStakeDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","description":"Delegated vote address"},"type":{"type":"string","const":"SOLANA_LIKE_CREATE_DELEGATE_STAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Solana-like create delegate stake data"},"SolanaLikeDeactivateStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_DEACTIVATE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","stakeAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like deactivate stake data"},"SolanaLikeDelegateStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_DELEGATE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","description":"Delegated vote address"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","recipient","stakeAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like delegate stake data"},"SolanaLikeMergeStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_MERGE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"mergeSrcAccount":{"type":"string","description":"Source stake address"},"mergeDstAccount":{"type":"string","description":"Destination stake address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","mergeSrcAccount","mergeDstAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like merge stake data"},"SolanaLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SOLANA_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Solana-like send data"},"SolanaLikeSplitDeactivateStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","amount","currency","maxFee","stakeAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like split deactivate stake data"},"SolanaLikeSplitStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_SPLIT_STAKE"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","amount","currency","maxFee","stakeAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like split stake data"},"SolanaLikeWithdrawStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_WITHDRAW_STAKE"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","amount","currency","maxFee","stakeAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like withdraw stake data"},"SolanaLikeSendTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SOLANA_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Solana-like send token data"},"SolanaLikeFundAndSendTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SOLANA_LIKE_FUND_AND_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Solana-like fund token account and send token data"},"SolanaLikeCreateTokenAccountDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","feeStrategy"],"additionalProperties":false,"description":"Solana-like create token account"},"StellarLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"STELLAR_LIKE_SEND"},"memo":{"anyOf":[{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"MEMO_TEXT"},"value":{"type":"string","maxLength":28,"description":"Text memo (at most 28 bytes)"}},"required":["type","value"],"additionalProperties":false,"description":"Text memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_ID"},"value":{"type":"string","minLength":1,"maxLength":20,"pattern":"^([1-9]\\d*|0)$","description":"Id memo (unsigned 64 bits integer)"}},"required":["type","value"],"additionalProperties":false,"description":"Id memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_HASH"},"value":{"type":"string","pattern":"^[a-fA-F0-9]{64}$","description":"Transaction hash memo (32 bytes, encoded as 64 hex chars)"}},"required":["type","value"],"additionalProperties":false,"description":"Hash memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_RETURN"},"value":{"type":"string","pattern":"^[a-fA-F0-9]{64}$","description":"Hash of the transaction the sender is refunding (32 bytes, encoded as 64 hex chars)."}},"required":["type","value"],"additionalProperties":false,"description":"Return memo"}],"type":"object"},{"type":"null"}],"description":"Stellar memo"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Stellar-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","memo","feeStrategy"],"additionalProperties":false,"description":"Stellar-like send data"},"SuiLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SUI_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Sui-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Sui-like send data"},"SuiLikeTransferTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SUI_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Sui-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Sui-like transfer token data"},"SuiLikeStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE_STAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Sui-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"validator":{"type":"string","minLength":1,"description":"Validator address"}},"required":["type","feeStrategy","amount","currency","maxFee","validator"],"additionalProperties":false,"description":"Sui-like stake data"},"SuiLikeUnstakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE_UNSTAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Sui-like fee strategy"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakedSuiId":{"type":"string","minLength":1,"description":"Staked object to (partially?) unstake"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to unstake from the position"},"useAllAmount":{"type":"boolean","description":"Whether to unstake the full amount (triggers different sets of transaction commands)"}},"required":["type","feeStrategy","currency","maxFee","stakedSuiId","amount","useAllAmount"],"additionalProperties":false,"description":"Sui-like unstake data"},"TezosLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"TEZOS_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"additionalProperties":false,"description":"Tezos-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Tezos-like send data"},"TezosLikeDelegateDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"TEZOS_LIKE_DELEGATE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"additionalProperties":false,"description":"Tezos-like fee strategy"}},"required":["type","currency","maxFee","recipient","feeStrategy"],"additionalProperties":false,"description":"Tezos-like delegate data"},"TezosLikeUndelegateDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"TEZOS_LIKE_UNDELEGATE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"additionalProperties":false,"description":"Tezos-like fee strategy"}},"required":["type","currency","maxFee","feeStrategy"],"additionalProperties":false,"description":"Tezos-like undelegate data"},"TronLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"TRON_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Tron-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Tron-like send data"},"TronLikeSendTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"TRON_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Tron-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Tron-like send token data"}},"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}}},"webhooks":{"webhookDelivery":{"post":{"tags":["webhook"],"summary":"Webhook delivery","description":"Sent to the URL of every enabled webhook whose rules match the event.\n\nEach delivery is signed with the endpoint's secret, as `X-Ledger-Signature: t=<unix seconds>,v1=<signature>`, where the signature is the hex HMAC-SHA256 of `\"<t>.<body>\"` over the raw request body. Verify it against those exact bytes rather than against a re-serialized payload.\n\nAnswer with any 2xx. Anything else, including no answer at all, is retried following the endpoint's retry strategy. Once it fails too many times in a row the endpoint is parked as `BROKEN`: delivery stops until an admin re-enables it, which also makes the missed deliveries replayable.\n\nDeliveries are not ordered; reconcile on `timestamp`.","parameters":[{"name":"X-Ledger-Signature","in":"header","required":true,"description":"Delivery signature, see above.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["RequestCreated","RequestReceivedApproval","RequestReceivedRejection","RequestActivatedReviews","RequestApproved","RequestExecuted","RequestAborted","RequestFailed","RequestExpired"]},"request":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"targetId":{"type":"string","description":"Object the request acts on, or 00000000-0000-0000-0000-000000000000 when it has none"}},"required":["id","type","targetId"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","request"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["TransactionScheduled","TransactionSubmitted","TransactionOnChain","TransactionConfirmed","TransactionDropped","TransactionFailed","TransactionUnknown"]},"outgoingTransaction":{"type":"object","properties":{"id":{"type":"string"},"txHash":{"type":["string","null"]}},"required":["id","txHash"],"additionalProperties":false,"description":"Unordered lifecycle invalidation hint. Fetch the current outgoing transaction before deciding whether to retry."}},"required":["eventId","timestamp","webhookId","action","outgoingTransaction"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["TransactionScanCompleted","TransactionScanEscalated"]},"transactionScan":{"type":"object","properties":{"requestId":{"type":"string"},"targetId":{"type":["string","null"]},"type":{"type":"string","enum":["creation","pre_signature"]},"timestamp":{"type":"string","format":"date-time"},"riskLevel":{"type":"string","enum":["BENIGN","RISK","THREAT","UNAVAILABLE"]},"riskCategory":{"type":"string","enum":["NA","OTHERS","ADDRESS","SMART_CONTRACT","LOSING_OPERATION"]},"message":{"type":"string"},"tinyUrl":{"type":"string"}},"required":["requestId","targetId","type","timestamp","riskLevel","riskCategory","message","tinyUrl"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","transactionScan"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["AccountBalanceUpdated"]},"account":{"type":"object","properties":{"id":{"type":"string"},"balance":{"type":["string","null"]}},"required":["id","balance"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","account"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["UserRegistrationCompleted"]},"registration":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","registration"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["UserSuspended","UserUnsuspended"]},"user":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","user"],"additionalProperties":false},{"type":"object","properties":{"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"timestamp":{"type":"string","format":"date-time"},"webhookId":{"type":"string"},"action":{"type":"string","enum":["ReportCompleted","ReportFailed"]},"report":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},"required":["eventId","timestamp","webhookId","action","report"],"additionalProperties":false}]}}}},"responses":{"2XX":{"description":"Delivery accepted; nothing is read from the response body."}}}}}}