> For the complete documentation index, see [llms.txt](https://help.enterprise.ledger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.enterprise.ledger.com/api-documentation-v2/reference/account.md).

# Account

## GET /accounts

> List accounts

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts":{"get":{"operationId":"accounts-list","summary":"List accounts","tags":["account"],"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":"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"}}}}}}}}}
```

## GET /accounts/{id}

> Get a single account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}":{"get":{"operationId":"accounts-findById","summary":"Get a single account","tags":["account"],"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"}}}}}}}}}
```

## Get the allowed actions of an account

> Return all operation types the account is governed to perform, derived from its governance rules.

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/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"],"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"}}}}}}}}}
```

## GET /accounts/{id}/pledges

> List account Tradelink pledges

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"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"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/pledges":{"get":{"operationId":"accounts-listAccountPledges","summary":"List account Tradelink pledges","tags":["account","tradelink"],"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"}}}}}}}}}
```

## List UTXOs of a Bitcoin account

> 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.

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/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"],"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"}}}}}}}}}
```

## GET /accounts/{id}/transactions

> List account transactions

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/transactions":{"get":{"operationId":"accounts-listAccountTransactions","summary":"List account transactions","tags":["account"],"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","CARDANO_LIKE_DELEGATE_VOTE_TO_DREP"],"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"}}}}}}}}}
```

## POST /accounts/{id}/estimate-fees

> Estimate transaction fees

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"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"},"CardanoDelegateVoteToDrepData":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_DELEGATE_VOTE_TO_DREP"},"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"},"drep":{"type":"string","minLength":1,"maxLength":100,"description":"DRep the voting power is delegated to: \"ALWAYS ABSTAIN\", \"ALWAYS VOTE NO\" or a DRep ID. A new request can only delegate to \"ALWAYS ABSTAIN\" for now"}},"required":["type","currency","maxFee","feeStrategy","drep"],"description":"Cardano-like vote delegation 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":""},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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. The recipient is the main address of the recipient wallet: its token account is created when it does not exist yet"},"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":"Deprecated: use SOLANA_LIKE_SEND_TOKEN. New requests of this type are rejected"},"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"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/estimate-fees":{"post":{"operationId":"accounts-estimateFees","summary":"Estimate transaction fees","tags":["account"],"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/CardanoDelegateVoteToDrepData"},{"$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","CARDANO_LIKE_DELEGATE_VOTE_TO_DREP":"#/components/schemas/CardanoDelegateVoteToDrepData","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"}]},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei. Null when the chain does not charge one. Not per gas. Clients add it once after the buffered gas cap.","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"},"rent":{"description":"Rent paid apart from the fees, to create an account the transaction needs, such as the recipient's token account. 0 when no account is created","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"}},"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"}}}}}}}}}
```

## GET /accounts/{id}/addresses/{index}

> Securely get a verified address for an UTXO based account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/addresses/{index}":{"get":{"operationId":"accounts-getUtxoAccountAddressChallengeForApi","summary":"Securely get a verified address for an UTXO based account","tags":["account"],"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"}}}}}}}}}
```

## GET /accounts/{id}/address

> Securely get a verified address for an EOA account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/address":{"get":{"operationId":"accounts-getEoaAccountAddressChallengeForApi","summary":"Securely get a verified address for an EOA account","tags":["account"],"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"}}}}}}}}}
```

## GET /accounts/{id}/public-key

> Get the public key and the chain code of a raw-signing account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/public-key":{"get":{"operationId":"accounts-getRawSigningPublicKey","summary":"Get the public key and the chain code of a raw-signing account","tags":["account"],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the target raw-signing account"},"required":true,"description":"Id of the target raw-signing account"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"publicKey":{"type":"string","description":"Public key of the account, hex encoded"},"chainCode":{"description":"Chain code of the account, hex encoded. Null when the curve has none (SLIP-10)","type":["string","null"]},"derivationPath":{"type":"string","description":"Hardened derivation path of the account"}},"required":["publicKey","chainCode","derivationPath"],"additionalProperties":false,"description":"Public key material of a raw-signing account"}}}},"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"}}}}}}}}}
```

## GET /accounts/{id}/balance

> Get balance of a single account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"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":{"status":{"type":"string","enum":["NOT_REGISTERED","REGISTERED","DELEGATED","DEREGISTERED"],"description":"On-chain state of the stake key, set by its latest certificate: NOT_REGISTERED (never registered), REGISTERED (deposit paid, not delegated), DELEGATED (to `poolId`) or DEREGISTERED (deposit refunded)"},"statusEpoch":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}],"description":"Epoch of the certificate that set `status`, null when unknown"},"statusUpdatedAt":{"description":"Date of the certificate that set `status`, null when unknown","type":["string","null"]},"stakeAddress":{"description":"Stake (reward) address of the account, null when never registered","type":["string","null"]},"poolId":{"description":"Bech32 ID (`pool1…`) of the pool delegated to, null when none","type":["string","null"]},"voteDelegation":{"description":"Vote delegation in force: \"ALWAYS ABSTAIN\", \"ALWAYS VOTE NO\" or a DRep ID; null when there is none, which blocks the withdrawal of the rewards","type":["string","null"]},"totalStaked":{"type":"string","description":"Amount delegated: the ADA of the account plus its withdrawable rewards while delegated, 0 otherwise. Delegation locks nothing: these funds stay spendable"},"totalRewards":{"type":"string","description":"Rewards that became withdrawable since the registration, withdrawn or not"},"withdrawableRewards":{"type":"string","description":"Rewards withdrawable now: a withdrawal takes exactly this amount. Counted in `balance.total` and `balance.reserved` until withdrawn"},"pendingRewards":{"type":"string","description":"Rewards earned but not withdrawable yet (about two epochs late), lost on deregistration"},"deposit":{"type":"string","description":"Deposit locked by the registration, refunded by the deregistration; 0 when not registered. Counted in `balance.total` and `balance.reserved`"}},"required":["status","statusEpoch","statusUpdatedAt","stakeAddress","poolId","voteDelegation","totalStaked","totalRewards","withdrawableRewards","pendingRewards","deposit"],"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"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/balance":{"get":{"operationId":"accounts-getAccountBalance","summary":"Get balance of a single account","tags":["account"],"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"}}}}}}}}}
```

## GET /accounts/{id}/parent-account-info

> Get parent account info or own account info if there is no parent

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"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":{"status":{"type":"string","enum":["NOT_REGISTERED","REGISTERED","DELEGATED","DEREGISTERED"],"description":"On-chain state of the stake key, set by its latest certificate: NOT_REGISTERED (never registered), REGISTERED (deposit paid, not delegated), DELEGATED (to `poolId`) or DEREGISTERED (deposit refunded)"},"statusEpoch":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}],"description":"Epoch of the certificate that set `status`, null when unknown"},"statusUpdatedAt":{"description":"Date of the certificate that set `status`, null when unknown","type":["string","null"]},"stakeAddress":{"description":"Stake (reward) address of the account, null when never registered","type":["string","null"]},"poolId":{"description":"Bech32 ID (`pool1…`) of the pool delegated to, null when none","type":["string","null"]},"voteDelegation":{"description":"Vote delegation in force: \"ALWAYS ABSTAIN\", \"ALWAYS VOTE NO\" or a DRep ID; null when there is none, which blocks the withdrawal of the rewards","type":["string","null"]},"totalStaked":{"type":"string","description":"Amount delegated: the ADA of the account plus its withdrawable rewards while delegated, 0 otherwise. Delegation locks nothing: these funds stay spendable"},"totalRewards":{"type":"string","description":"Rewards that became withdrawable since the registration, withdrawn or not"},"withdrawableRewards":{"type":"string","description":"Rewards withdrawable now: a withdrawal takes exactly this amount. Counted in `balance.total` and `balance.reserved` until withdrawn"},"pendingRewards":{"type":"string","description":"Rewards earned but not withdrawable yet (about two epochs late), lost on deregistration"},"deposit":{"type":"string","description":"Deposit locked by the registration, refunded by the deregistration; 0 when not registered. Counted in `balance.total` and `balance.reserved`"}},"required":["status","statusEpoch","statusUpdatedAt","stakeAddress","poolId","voteDelegation","totalStaked","totalRewards","withdrawableRewards","pendingRewards","deposit"],"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"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/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"],"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"}}}}}}}}}
```

## GET /accounts/batch/balances

> Get balances of multiple accounts

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"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":{"status":{"type":"string","enum":["NOT_REGISTERED","REGISTERED","DELEGATED","DEREGISTERED"],"description":"On-chain state of the stake key, set by its latest certificate: NOT_REGISTERED (never registered), REGISTERED (deposit paid, not delegated), DELEGATED (to `poolId`) or DEREGISTERED (deposit refunded)"},"statusEpoch":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}],"description":"Epoch of the certificate that set `status`, null when unknown"},"statusUpdatedAt":{"description":"Date of the certificate that set `status`, null when unknown","type":["string","null"]},"stakeAddress":{"description":"Stake (reward) address of the account, null when never registered","type":["string","null"]},"poolId":{"description":"Bech32 ID (`pool1…`) of the pool delegated to, null when none","type":["string","null"]},"voteDelegation":{"description":"Vote delegation in force: \"ALWAYS ABSTAIN\", \"ALWAYS VOTE NO\" or a DRep ID; null when there is none, which blocks the withdrawal of the rewards","type":["string","null"]},"totalStaked":{"type":"string","description":"Amount delegated: the ADA of the account plus its withdrawable rewards while delegated, 0 otherwise. Delegation locks nothing: these funds stay spendable"},"totalRewards":{"type":"string","description":"Rewards that became withdrawable since the registration, withdrawn or not"},"withdrawableRewards":{"type":"string","description":"Rewards withdrawable now: a withdrawal takes exactly this amount. Counted in `balance.total` and `balance.reserved` until withdrawn"},"pendingRewards":{"type":"string","description":"Rewards earned but not withdrawable yet (about two epochs late), lost on deregistration"},"deposit":{"type":"string","description":"Deposit locked by the registration, refunded by the deregistration; 0 when not registered. Counted in `balance.total` and `balance.reserved`"}},"required":["status","statusEpoch","statusUpdatedAt","stakeAddress","poolId","voteDelegation","totalStaked","totalRewards","withdrawableRewards","pendingRewards","deposit"],"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"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/batch/balances":{"get":{"operationId":"accounts-getAccountBalances","summary":"Get balances of multiple accounts","tags":["account"],"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"}}}}}}}}}
```

## GET /accounts/{id}/fresh-address

> Get a fresh address of an account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/fresh-address":{"get":{"operationId":"accounts-getFreshAddress","summary":"Get a fresh address of an account","tags":["account"],"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"}}}}}}}}}
```

## GET /accounts/{id}/receive-addresses/{addressIndex}

> Get a receive address by index for a UTXO-based account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/receive-addresses/{addressIndex}":{"get":{"operationId":"accounts-getIndexedReceiveAddress","summary":"Get a receive address by index for a UTXO-based account","tags":["account"],"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"}}}}}}}}}
```

## GET /accounts/{id}/stakes

> List account stakes

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/stakes":{"get":{"operationId":"accounts-listAccountStakes","summary":"List account stakes","tags":["account"],"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","description":"Validator address. Empty when the position is not delegated: a Cardano stake key that is registered but not delegated, or deregistered"},"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"]},"cardano":{"description":"Staking sequence of the account stake key (Cardano only)","type":"object","properties":{"status":{"type":"string","enum":["REGISTERED","DELEGATED","DEREGISTERED"],"description":"On-chain state of the stake key, set by its latest certificate: REGISTERED (deposit paid, not delegated), DELEGATED (to `validator`) or DEREGISTERED (deposit refunded)"},"statusEpoch":{"description":"Epoch of the certificate that set `status`, null when unknown","type":["number","null"]},"statusUpdatedAt":{"description":"Date of the certificate that set `status`, null when unknown","type":["string","null"]},"voteDelegation":{"description":"Vote delegation in force: \"ALWAYS ABSTAIN\", \"ALWAYS VOTE NO\" or a DRep ID; null when there is none, which blocks the withdrawal of the rewards","type":["string","null"]},"withdrawableRewards":{"type":"string","description":"Rewards withdrawable now: a withdrawal takes exactly this amount"},"pendingRewards":{"type":"string","description":"Rewards earned but not withdrawable yet, lost on deregistration"},"deposit":{"type":"string","description":"Deposit locked by the registration, refunded by the deregistration"}},"required":["status","statusEpoch","statusUpdatedAt","voteDelegation","withdrawableRewards","pendingRewards","deposit"],"additionalProperties":false}},"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"}}}}}}}}}
```

## GET /accounts/{id}/stakes/{stakeId}

> Get an account stake by ID

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/stakes/{stakeId}":{"get":{"operationId":"accounts-getAccountStake","summary":"Get an account stake by ID","tags":["account"],"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","description":"Validator address. Empty when the position is not delegated: a Cardano stake key that is registered but not delegated, or deregistered"},"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"]},"cardano":{"description":"Staking sequence of the account stake key (Cardano only)","type":"object","properties":{"status":{"type":"string","enum":["REGISTERED","DELEGATED","DEREGISTERED"],"description":"On-chain state of the stake key, set by its latest certificate: REGISTERED (deposit paid, not delegated), DELEGATED (to `validator`) or DEREGISTERED (deposit refunded)"},"statusEpoch":{"description":"Epoch of the certificate that set `status`, null when unknown","type":["number","null"]},"statusUpdatedAt":{"description":"Date of the certificate that set `status`, null when unknown","type":["string","null"]},"voteDelegation":{"description":"Vote delegation in force: \"ALWAYS ABSTAIN\", \"ALWAYS VOTE NO\" or a DRep ID; null when there is none, which blocks the withdrawal of the rewards","type":["string","null"]},"withdrawableRewards":{"type":"string","description":"Rewards withdrawable now: a withdrawal takes exactly this amount"},"pendingRewards":{"type":"string","description":"Rewards earned but not withdrawable yet, lost on deregistration"},"deposit":{"type":"string","description":"Deposit locked by the registration, refunded by the deregistration"}},"required":["status","statusEpoch","statusUpdatedAt","voteDelegation","withdrawableRewards","pendingRewards","deposit"],"additionalProperties":false}},"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"}}}}}}}}}
```

## GET /accounts/{id}/stakes/{stakeId}/consolidation-targets

> List the positions a staking position can be consolidated into

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/stakes/{stakeId}/consolidation-targets":{"get":{"operationId":"accounts-listStakeConsolidationTargets","summary":"List the positions a staking position can be consolidated into","tags":["account"],"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","description":"Validator address. Empty when the position is not delegated: a Cardano stake key that is registered but not delegated, or deregistered"},"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"]},"cardano":{"description":"Staking sequence of the account stake key (Cardano only)","type":"object","properties":{"status":{"type":"string","enum":["REGISTERED","DELEGATED","DEREGISTERED"],"description":"On-chain state of the stake key, set by its latest certificate: REGISTERED (deposit paid, not delegated), DELEGATED (to `validator`) or DEREGISTERED (deposit refunded)"},"statusEpoch":{"description":"Epoch of the certificate that set `status`, null when unknown","type":["number","null"]},"statusUpdatedAt":{"description":"Date of the certificate that set `status`, null when unknown","type":["string","null"]},"voteDelegation":{"description":"Vote delegation in force: \"ALWAYS ABSTAIN\", \"ALWAYS VOTE NO\" or a DRep ID; null when there is none, which blocks the withdrawal of the rewards","type":["string","null"]},"withdrawableRewards":{"type":"string","description":"Rewards withdrawable now: a withdrawal takes exactly this amount"},"pendingRewards":{"type":"string","description":"Rewards earned but not withdrawable yet, lost on deregistration"},"deposit":{"type":"string","description":"Deposit locked by the registration, refunded by the deregistration"}},"required":["status","statusEpoch","statusUpdatedAt","voteDelegation","withdrawableRewards","pendingRewards","deposit"],"additionalProperties":false}},"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"}}}}}}}}}
```

## GET /accounts/{id}/staking-validators

> List staking validators for account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/staking-validators":{"get":{"operationId":"accounts-listStakingValidators","summary":"List staking validators for account","tags":["account"],"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":{"source":{"description":"`workspace` for a validator the workspace configured itself (the organization's own), listed first. Absent for a validator of the global catalog.","type":"string","const":"workspace"},"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":{"source":{"description":"`workspace` for a validator the workspace configured itself (the organization's own), listed first. Absent for a validator of the global catalog.","type":"string","const":"workspace"},"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":{"source":{"description":"`workspace` for a validator the workspace configured itself (the organization's own), listed first. Absent for a validator of the global catalog.","type":"string","const":"workspace"},"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":{"source":{"description":"`workspace` for a validator the workspace configured itself (the organization's own), listed first. Absent for a validator of the global catalog.","type":"string","const":"workspace"},"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":{"source":{"description":"`workspace` for a validator the workspace configured itself (the organization's own), listed first. Absent for a validator of the global catalog.","type":"string","const":"workspace"},"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","properties":{"source":{"description":"`workspace` for a validator the workspace configured itself (the organization's own), listed first. Absent for a validator of the global catalog.","type":"string","const":"workspace"},"address":{"type":"string","description":"Pool ID, in Bech32 (`pool1…`)"},"apy":{"description":"Return on ADA (ROA) of the pool","type":["string","null"]},"balance":{"description":"Active stake of the pool, in lovelace","type":["string","null"]},"commissionRate":{"description":"Margin of the pool, between 0 and 1","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":"CARDANO_LIKE","description":"Account type"},"ticker":{"description":"Pool ticker","type":["string","null"]},"status":{"anyOf":[{"type":"string","enum":["active","retiring","retired"]},{"type":"null"}],"description":"Registration status of the pool, null when unknown"},"retiringEpoch":{"description":"Epoch the pool retires at, for a retiring or retired pool","type":["number","null"]},"pledge":{"description":"Pledge of the pool, in lovelace","type":["string","null"]},"fixedCost":{"description":"Fixed cost the pool takes per epoch, in lovelace","type":["string","null"]},"saturation":{"description":"Saturation of the pool: 1 means saturated, rewards then drop","type":["string","null"]},"delegable":{"type":"boolean","description":"Whether the pool takes new delegations: not when it is retired or not registered on-chain"}},"required":["address","apy","balance","commissionRate","description","logo","name","url","type","ticker","status","retiringEpoch","pledge","fixedCost","saturation","delegable"],"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"}}}}}}}}}
```

## GET /accounts/{id}/canton/pre-approval-state

> Get pre-approval state of a Canton account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/canton/pre-approval-state":{"get":{"operationId":"accounts-canton-getPreApprovalState","summary":"Get pre-approval state of a Canton account","tags":["account","canton"],"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"}}}}}}}}}
```

## GET /accounts/{id}/canton/transfer-proposals

> Get transfer proposals to a Canton account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"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"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/accounts/{id}/canton/transfer-proposals":{"get":{"operationId":"accounts-canton-getTransferProposals","summary":"Get transfer proposals to a Canton account","tags":["account","canton"],"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"}}}}}}}}}
```

## GET /signed-digests

> List signed digests by account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/signed-digests":{"get":{"operationId":"signedDigests-list","summary":"List signed digests by account","tags":["account"],"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"}}}}}}}}}
```

## GET /signed-digests/{id}

> Get signed digests

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/signed-digests/{id}":{"get":{"operationId":"signedDigests-findById","summary":"Get signed digests","tags":["account"],"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"}}}}}}}}}
```

## GET /signed-messages

> List signed messages by account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"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"},"MessageHexData":{"type":"string","minLength":1,"pattern":"^[0-9a-fA-F]+$","description":"Hex data string to sign"},"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"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/signed-messages":{"get":{"operationId":"signedMessages-list","summary":"List signed messages by account","tags":["account"],"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"}}}}}}}}}
```

## GET /signed-messages/{id}

> Get a single signed message

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"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"},"MessageHexData":{"type":"string","minLength":1,"pattern":"^[0-9a-fA-F]+$","description":"Hex data string to sign"},"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"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/signed-messages/{id}":{"get":{"operationId":"signedMessages-findById","summary":"Get a single signed message","tags":["account"],"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"}}}}}}}}}
```

## GET /outgoing-transactions

> List outgoing transactions by account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"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","CARDANO_LIKE_DELEGATE_VOTE_TO_DREP","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"},"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"},"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"},"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"},"CardanoDelegateVoteToDrepDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_DELEGATE_VOTE_TO_DREP"},"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"},"drep":{"type":"string","minLength":1,"maxLength":100,"description":"DRep the voting power is delegated to: \"ALWAYS ABSTAIN\", \"ALWAYS VOTE NO\" or a DRep ID. A new request can only delegate to \"ALWAYS ABSTAIN\" for now"}},"required":["type","currency","maxFee","feeStrategy","drep"],"additionalProperties":false,"description":"Cardano-like vote delegation 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":""},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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. The recipient is the main address of the recipient wallet: its token account is created when it does not exist yet"},"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":"Deprecated: use SOLANA_LIKE_SEND_TOKEN. New requests of this type are rejected"},"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"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/outgoing-transactions":{"get":{"operationId":"outgoingTransactions-list","summary":"List outgoing transactions by account","tags":["account"],"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/CardanoDelegateVoteToDrepDataOutput"},{"$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","CARDANO_LIKE_DELEGATE_VOTE_TO_DREP":"#/components/schemas/CardanoDelegateVoteToDrepDataOutput","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"}}}}}}}}}
```

## GET /outgoing-transactions/{id}

> Get a single outgoing transaction

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.102.0"},"servers":[{"url":"/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"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"},"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"},"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"},"CardanoDelegateVoteToDrepDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_DELEGATE_VOTE_TO_DREP"},"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"},"drep":{"type":"string","minLength":1,"maxLength":100,"description":"DRep the voting power is delegated to: \"ALWAYS ABSTAIN\", \"ALWAYS VOTE NO\" or a DRep ID. A new request can only delegate to \"ALWAYS ABSTAIN\" for now"}},"required":["type","currency","maxFee","feeStrategy","drep"],"additionalProperties":false,"description":"Cardano-like vote delegation 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":""},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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"},"l1DataFee":{"description":"Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one.","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"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. The recipient is the main address of the recipient wallet: its token account is created when it does not exist yet"},"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":"Deprecated: use SOLANA_LIKE_SEND_TOKEN. New requests of this type are rejected"},"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"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","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"}}},"paths":{"/outgoing-transactions/{id}":{"get":{"operationId":"outgoingTransactions-findById","summary":"Get a single outgoing transaction","tags":["account"],"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/CardanoDelegateVoteToDrepDataOutput"},{"$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","CARDANO_LIKE_DELEGATE_VOTE_TO_DREP":"#/components/schemas/CardanoDelegateVoteToDrepDataOutput","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"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.enterprise.ledger.com/api-documentation-v2/reference/account.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
