{"openapi":"3.0.0","paths":{"/api/v1/kyc/individual-verification-sessions/standard":{"post":{"description":"Creates a new KYC verification session for an individual. This endpoint initiates the identity verification process by collecting personal information and document details. The session will generate upload URLs for document images and can optionally require liveness verification.","operationId":"createStandardIndividualVerification","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStandardIndividualVerificationDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStandardIndividualVerificationResponseDTO"}}}}},"summary":"Create a standard individual verification session","tags":["Know Your Customer"]}},"/api/v1/kyc/individual-verification-sessions/standard/{sessionId}/process":{"post":{"deprecated":true,"description":"Processes a standard individual verification session after documents have been uploaded. This endpoint triggers the actual verification process using the uploaded document images and personal information provided during session creation.","operationId":"processStandardIndividualVerification","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":""}},"security":[{}],"summary":"Process a standard individual verification session","tags":["Know Your Customer"]}},"/api/v1/kyc/individual-verification-sessions/standard/{sessionId}":{"get":{"deprecated":true,"description":"Retrieves the current status and results of a standard individual verification session. This endpoint allows you to check the progress and outcome of a KYC verification process.","operationId":"getStandardIndividualVerificationSessionResult","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStandardIndividualVerificationSessionResultResponseDTO"}}}}},"summary":"Get a standard individual verification session result","tags":["Know Your Customer"]}},"/api/v1/kyc/individual-verification-sessions/enhanced":{"post":{"description":"Creates a new KYC enhanced verification session for an individual. If the individual already exists (upgrade), only enhanced documents are required. If not (direct-to-enhanced), all documents are required.","operationId":"createEnhancedIndividualVerification","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEnhancedIndividualVerificationDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEnhancedIndividualVerificationResponseDTO"}}}}},"summary":"Create an enhanced individual verification session","tags":["Know Your Customer"]}},"/api/v1/kyc/individual-verification-sessions/enhanced/{sessionId}/process":{"post":{"deprecated":true,"description":"Processes an enhanced individual verification session after documents have been uploaded. This endpoint triggers the actual verification process using the uploaded document images and personal information provided during session creation.","operationId":"processEnhancedIndividualVerification","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":""}},"security":[{}],"summary":"Process an enhanced individual verification session","tags":["Know Your Customer"]}},"/api/v1/kyc/individual-verification-sessions/enhanced/{sessionId}":{"get":{"deprecated":true,"description":"Retrieves the current status and results of an enhanced individual verification session. This endpoint allows you to check the progress and outcome of a KYC verification process.","operationId":"getEnhancedIndividualVerificationSessionResult","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetEnhancedIndividualVerificationSessionResultResponseDTO"}}}}},"summary":"Get a enhanced individual verification session result","tags":["Know Your Customer"]}},"/api/v1/kyc/business-verification-sessions/standard":{"post":{"description":"Creates a new KYC verification session for a business. This endpoint initiates the business identity verification process by collecting company information (legal name, CNPJ, legal nature, contact details) and owners information. The session will generate upload URLs for the company proof of address document, social contract document, and owner documents (document and proof of address for each owner).","operationId":"createStandardBusinessVerification","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStandardBusinessVerificationDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStandardBusinessVerificationResponseDTO"}}}}},"summary":"Create a standard business verification session","tags":["Know Your Customer"]}},"/api/v1/kyc/business-verification-sessions/standard/{sessionId}/process":{"post":{"deprecated":true,"description":"Processes a standard business verification session after documents have been uploaded. This endpoint triggers the actual verification process using the uploaded business documents, owner documents, and information provided during session creation. It will verify both the business and all business owners. The verification runs asynchronously - if successful, the session enters processing status; if it fails, the session is marked as failed.","operationId":"processStandardBusinessVerification","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":""}},"security":[{}],"summary":"Process a standard business verification session","tags":["Know Your Customer"]}},"/api/v1/kyc/business-verification-sessions/standard/{sessionId}":{"get":{"deprecated":true,"description":"Retrieves the current status and results of a standard business verification session. This endpoint allows you to check the progress and outcome of a business KYC verification process.","operationId":"getStandardBusinessVerificationSessionResult","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStandardBusinessVerificationSessionResultResponseDTO"}}}}},"summary":"Get a standard business verification session result","tags":["Know Your Customer"]}},"/api/v1/kyc/identities/{identityId}/financial-limits":{"get":{"description":"Retrieves the financial limits and usage of an individual or a business: monthly limits, PIX QR Code limits and remaining amounts.","operationId":"getIdentityFinancialLimits","parameters":[{"name":"identityId","required":true,"in":"path","description":"The ID of an individual or a business.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIdentityFinancialLimitsResponseDTO"}}}}},"summary":"Get financial limits for an individual or a business","tags":["Know Your Customer"]}},"/api/v1/kyc/individuals/{individualId}":{"delete":{"deprecated":true,"description":"Marks an individual as deleted so it can no longer be used for ramps. Deletion is soft (deletedAt is set) and does not remove historical records.","operationId":"deleteIndividual","parameters":[{"name":"individualId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Individual soft-deleted"}},"summary":"Soft delete an individual","tags":["Know Your Customer"]}},"/api/v1/kyc/verification-sessions/{sessionId}":{"get":{"description":"Retrieves the current status and results of any verification session (standard individual, enhanced individual or standard business). The `type` field tells which kind of session it is.","operationId":"getVerificationSessionResult","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVerificationSessionResultResponseDTO"}}}}},"summary":"Get a verification session result","tags":["Know Your Customer"]}},"/api/v1/kyc/verification-sessions/{sessionId}/process":{"post":{"description":"Processes any verification session after its documents have been uploaded. The verification runs with the documents and data sent when the session was created. Read the outcome with `GET /kyc/verification-sessions/{sessionId}`.","operationId":"processVerificationSession","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":""}},"security":[{}],"summary":"Process a verification session","tags":["Know Your Customer"]}},"/api/v1/kyc/identities/{identityId}":{"delete":{"description":"Marks an individual or a business as deleted so it can no longer be used for ramps. Deletion is soft (deletedAt is set) and does not remove historical records.","operationId":"deleteIdentity","parameters":[{"name":"identityId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Identity soft-deleted"}},"summary":"Soft delete an individual or a business","tags":["Know Your Customer"]}},"/api/v1/crypto/swap":{"post":{"description":"This endpoint provides a real-time quote for a token swap, detailing the estimated destination token amount, fees, and other relevant parameters.","operationId":"CreateSwapOperationController_createSwapOperation_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSwapDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSwapOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The tokens '[0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6]' are not supported by Notus API. "}}},{"type":"object","description":"SWAP_AMOUNT_TOO_SMALL_FOR_FEES","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"SWAP_AMOUNT_TOO_SMALL_FOR_FEES"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The amount does not cover the fees and the network gas. Increase the amount and try again."}}},{"type":"object","description":"CHAIN_ID_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"CHAIN_ID_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Paraswap does not support cross chain"}}},{"type":"object","description":"UNSUPPORTED_LIMIT_ORDER_FACTORY","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNSUPPORTED_LIMIT_ORDER_FACTORY"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Limit orders currently support only Alchemy LightAccount wallets."}}},{"type":"object","description":"LIMIT_ORDER_FEE_TOO_HIGH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIMIT_ORDER_FEE_TOO_HIGH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Limit orders support at most 2% in partner fees on Velora Delta."}}},{"type":"object","description":"OPERATION_NOT_SUPPORTED_ON_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"OPERATION_NOT_SUPPORTED_ON_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Stellar (chain id -1) does not support this operation"}}},{"type":"object","description":"STELLAR_ACCOUNT_NOT_ACTIVE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"STELLAR_ACCOUNT_NOT_ACTIVE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The Stellar account on toAddress (GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA) is not active. It has to be funded with the minimum balance before it can be used."}}},{"type":"object","description":"STELLAR_TRUSTLINE_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"STELLAR_TRUSTLINE_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The Stellar account on toAddress (GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA) is active but holds no USDC trustline. Its owner has to add a USDC trustline before it can hold the asset."}}},{"type":"object","description":"STELLAR_TRUSTLINE_NOT_AUTHORIZED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"STELLAR_TRUSTLINE_NOT_AUTHORIZED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The USDC trustline of the Stellar account on toAddress (GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA) is not authorized by the asset issuer."}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x335e110f9aa64deef43b646b4bdf90aac3c7844c\" is not registered with the project"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"SWAP_QUOTE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"SWAP_QUOTE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to get a swap quote. Please try again later"}}},{"type":"object","description":"CROSS_SWAP_QUOTE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"CROSS_SWAP_QUOTE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to get a valid cross swap quote. Please try again later"}}},{"type":"object","description":"EXECUTION_BATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"EXECUTION_BATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to get a batch of transactions. Please try again later"}}}]}}}}},"summary":"Create Swap","tags":["Swaps"]}},"/api/v1/crypto/execute-user-op":{"post":{"description":"This endpoint queues to execution a user operation on the blockchain, like a swap quote or a transfer. The execution occurs asynchronously as it waits to be included in a block. You can check the status by using the returned hash in the history endpoint or with our webhooks.","operationId":"ExecuteUserOperationController_executeUserOp_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteUserOpDTO"}}}},"responses":{"202":{"description":"User Operation hash for queued transaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteUserOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"USER_OPERATION_REJECTED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"USER_OPERATION_REJECTED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to execute user operation. Please try again later"}}},{"type":"object","description":"EXECUTE_USER_OP","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"EXECUTE_USER_OP"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Your User Operation has expired. Please, request a new one."}}},{"type":"object","description":"INVALID_SIGNATURE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INVALID_SIGNATURE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided signature is not valid. Make sure you're signing the hash as raw bytes and not as a string."}}},{"type":"object","description":"INVALID_AUTHORIZATION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INVALID_AUTHORIZATION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided authorization is not valid. Make sure you're signing using an authorization signing method or signing the hash as raw bytes."}}},{"type":"object","description":"INVALID_STAKE_APPROVAL_OPERATION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INVALID_STAKE_APPROVAL_OPERATION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The `stakeApprovalUserOperationHash` does not belong to this quote. Send the hash of the `stakeApprovalUserOperation` returned by the same quote response as the operation being executed."}}},{"type":"object","description":"MISSING_LIMIT_ORDER_SIGNATURE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"MISSING_LIMIT_ORDER_SIGNATURE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This operation is a limit order and requires a LIMIT_ORDER signature."}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"USER_OPERATION_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"USER_OPERATION_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Could not find the User Operation requested"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"EXECUTE_USER_OP","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"EXECUTE_USER_OP"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to execute user operation. Please try again later"}}},{"type":"object","description":"PUBLISH_SWAP","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"PUBLISH_SWAP"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to publish swap transaction. Please try again later"}}}]}}}}},"summary":"Execute User Operation","tags":["User Operations"]}},"/api/v1/crypto/transfer":{"post":{"description":"This endpoint provides a real-time quote for a token transfer, including the estimated amount of the token, fees, and other relevant details.","operationId":"CreateTransferOperationController_createTransferOperation_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTransferDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTransferOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The tokens '[0xaf88d065e77c8cc2239327c5edb3a432268e5831]' are not supported by Notus API. "}}},{"type":"object","description":"STELLAR_ACCOUNT_NOT_ACTIVE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"STELLAR_ACCOUNT_NOT_ACTIVE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The Stellar account on toAddress (GDWPYMC3PZTMGLOUAKMXRWE2BN4OMQUN6EORBE7VFYLGP6MPDBDMCPUM) is not active. It has to be funded with the minimum balance before it can be used."}}},{"type":"object","description":"STELLAR_TRUSTLINE_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"STELLAR_TRUSTLINE_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The Stellar account on toAddress (GDWPYMC3PZTMGLOUAKMXRWE2BN4OMQUN6EORBE7VFYLGP6MPDBDMCPUM) is active but holds no USDC trustline. Its owner has to add a USDC trustline before it can hold the asset."}}},{"type":"object","description":"STELLAR_TRUSTLINE_NOT_AUTHORIZED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"STELLAR_TRUSTLINE_NOT_AUTHORIZED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The USDC trustline of the Stellar account on toAddress (GDWPYMC3PZTMGLOUAKMXRWE2BN4OMQUN6EORBE7VFYLGP6MPDBDMCPUM) is not authorized by the asset issuer."}}},{"type":"object","description":"STELLAR_AMOUNT_BELOW_ACCOUNT_RESERVE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"STELLAR_AMOUNT_BELOW_ACCOUNT_RESERVE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The destination Stellar account does not exist yet, so this transfer creates it, which requires at least 1 XLM. The requested amount was 0.5 XLM."}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}}}}}},"summary":"Create Transfer","tags":["Transfers"]}},"/api/v1/crypto/chains":{"get":{"description":"This endpoint lists all chains supported by Notus API","operationId":"ListChainsController_listChains_v1","parameters":[{"name":"page","required":false,"in":"query","description":"Page to return, the \"perPage\" amount will influence what and how pages are returned","schema":{"minimum":1,"default":1,"example":2,"type":"number"}},{"name":"perPage","required":false,"in":"query","description":"Amount of chains returned per page","schema":{"minimum":1,"maximum":100,"default":10,"example":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListChainsDTO"}}}}},"summary":"List Chains","tags":["Blockchain"]}},"/api/v1/crypto/tokens":{"get":{"description":"This endpoint lists all tokens whitelisted in the project by default, or all tokens Notus API supports with a flag.","operationId":"ListWhitelistTokensController_execute_v1","parameters":[{"name":"orderBy","required":false,"in":"query","description":"How to order the tokens","schema":{"default":"marketCap","example":"marketCap","type":"string","enum":["marketCap","chainId"]}},{"name":"orderDir","required":false,"in":"query","description":"Direction of the ordering, ascending or descending.","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}},{"name":"search","required":false,"in":"query","description":"Search a token by its address, name or symbol","schema":{"example":"WBTC","type":"string"}},{"name":"filterByChainId","required":false,"in":"query","description":"Only show tokens from a certain chain. Supported chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663\n- Bitcoin: 0\n- Stellar: -1","schema":{"example":42161,"type":"number"}},{"name":"filterWhitelist","required":false,"in":"query","description":"Filter results by the project whitelist, setting to false returns all tokens supported by Notus API","schema":{"example":false,"type":"boolean"}},{"name":"page","required":false,"in":"query","description":"Page to return, the \"perPage\" amount will influence what and how pages are returned","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"example":5,"type":"integer"}},{"name":"perPage","required":false,"in":"query","description":"Amount of tokens returned per page","schema":{"minimum":1,"maximum":100,"default":10,"example":25,"type":"integer"}},{"name":"projectId","required":false,"in":"query","description":"The projectId you want to know the whitelist","schema":{"example":"9c0f200f-27b1-4a30-8127-d5e74f136957","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTokensOutputDTO"}}}}},"summary":"List Tokens","tags":["Blockchain"]}},"/api/v1/wallets/{walletAddress}/deposit":{"post":{"description":"This endpoint provides a transaction to be executed by an EOA to deposit funds into a smart wallet. This is a convenience endpoint to easily build a transfer to be executed by Metamask or any other EOA wallet","operationId":"CreateEoaTransferOperationController_createTransferOperation_v1","parameters":[{"name":"walletAddress","required":true,"in":"path","description":"The smart wallet address (in hexadecimal format) receiving the transfer.","schema":{"example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEoaTransferDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEoaTransferOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The tokens '[0x2791bca1f2de4661ed88a30c99a7a9449aa84174]' are not supported by Notus API. "}}}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333\" is not registered with the project"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"FAILED_TO_ESTIMATE_TRANSFER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FAILED_TO_ESTIMATE_TRANSFER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to estimate transfer"}}}}}}},"summary":"Create Deposit Transaction","tags":["Smart Wallets"]}},"/api/v1/crypto/custom-user-operation":{"post":{"description":"Enables you to create custom user operations with full control over transaction parameters. User Operations are the transaction format used in Account Abstraction, they are blockchain transactions executed through smart wallets. This endpoint allows you to execute any smart contract function, transfer native tokens, or perform complex operations by defining your own method signatures, call data, and more.","operationId":"CreateCustomUserOperationController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustomUserOperationDTO"}}}},"responses":{"200":{"description":"The custom user operation has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustomUserOperationResponseDTO"}}}}},"summary":"Create Custom User Operation","tags":["User Operations"]}},"/api/v1/crypto/user-operation/{userOperationHash}":{"get":{"description":"Get a user operation by its hash","operationId":"GetUserOperationController_getUserOperation_v1","parameters":[{"name":"userOperationHash","required":true,"in":"path","description":"Hash of the user operation","schema":{"pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","type":"string"}}],"responses":{"200":{"description":"Details of the user operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserOperationDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"USER_OPERATION_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"USER_OPERATION_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Could not find the User Operation requested"}}}}}}},"summary":"Get User Operation","tags":["User Operations"]}},"/api/v1/crypto/user-operation/{userOperationHash}/typed-data":{"get":{"description":"Get the EIP-712 typed data of a user operation by its hash, so a hardware wallet can sign it","operationId":"GetUserOperationTypedDataController_getUserOperationTypedData_v1","parameters":[{"name":"userOperationHash","required":true,"in":"path","description":"Hash of the user operation","schema":{"pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","type":"string"}}],"responses":{"200":{"description":"EIP-712 typed data of the user operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserOperationTypedDataDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"USER_OPERATION_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"USER_OPERATION_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Could not find the User Operation requested"}}}}}}},"summary":"Get User Operation Typed Data","tags":["User Operations"]}},"/api/v1/crypto/batch-operations":{"post":{"description":"An operation that can join transfers and swaps into a single operation.","operationId":"CreateBatchOperationController_createBatchOperation_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBatchOperationDTO"}}}},"responses":{"200":{"description":"The batch operation has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchUserOperationDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The tokens '[0xaf88d065e77c8cc2239327c5edb3a432268e5831]' are not supported by Notus API. "}}},{"type":"object","description":"CHAIN_ID_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"CHAIN_ID_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Paraswap does not support cross chain"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"SWAP_QUOTE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"SWAP_QUOTE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to get a swap quote. Please try again later"}}},{"type":"object","description":"CROSS_SWAP_QUOTE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"CROSS_SWAP_QUOTE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to get a valid cross swap quote. Please try again later"}}},{"type":"object","description":"EXECUTION_BATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"EXECUTION_BATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to get a batch of transactions. Please try again later"}}}]}}}}},"summary":"Create Batch Operation","tags":["User Operations"]}},"/api/v1/crypto/limit-orders/{transactionId}/cancel":{"post":{"description":"Returns the typed data required to cancel an active Velora Delta limit order.","operationId":"CancelLimitOrderController_cancelLimitOrder_v1","parameters":[{"name":"transactionId","required":true,"in":"path","schema":{"minLength":1,"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BodyDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelLimitOrderResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"type":"object","description":"CANCEL_LIMIT_ORDER_NOT_ALLOWED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"CANCEL_LIMIT_ORDER_NOT_ALLOWED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided transaction is not an active cancellable limit order."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"CANCEL_LIMIT_ORDER_TRANSACTION_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"CANCEL_LIMIT_ORDER_TRANSACTION_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Limit order transaction not found."}}}}}}},"summary":"Prepare limit order cancellation","tags":["User Operations"]}},"/api/v1/crypto/limit-orders/{transactionId}/cancel/execute":{"post":{"description":"Submits the signed Velora Delta limit-order cancellation payload.","operationId":"ExecuteCancelLimitOrderController_executeCancelLimitOrder_v1","parameters":[{"name":"transactionId","required":true,"in":"path","schema":{"minLength":1,"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BodyDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteCancelLimitOrderResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"CANCEL_LIMIT_ORDER_NOT_ALLOWED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"CANCEL_LIMIT_ORDER_NOT_ALLOWED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided transaction is not an active cancellable limit order."}}},{"type":"object","description":"CANCEL_LIMIT_ORDER_EXECUTION_ERROR","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"CANCEL_LIMIT_ORDER_EXECUTION_ERROR"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to cancel the limit order."}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"CANCEL_LIMIT_ORDER_TRANSACTION_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"CANCEL_LIMIT_ORDER_TRANSACTION_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Limit order transaction not found."}}}}}}},"summary":"Execute limit order cancellation","tags":["User Operations"]}},"/api/v1/crypto/bitcoin/broadcast":{"post":{"description":"Broadcasts a signed Bitcoin transaction that was originally produced from a transfer or cross-swap quote. The endpoint validates that the quote exists and that the signed transaction matches the previously generated quote, then publishes the transaction to the Bitcoin network. The associated transaction is recorded in the history of that wallet.","operationId":"BroadcastBitcoinTransactionController_broadcast_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastBitcoinTransactionDTO"}}}},"responses":{"202":{"description":"The broadcast Bitcoin transaction hash","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastBitcoinTransactionResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"EXPIRED_BITCOIN_QUOTE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"EXPIRED_BITCOIN_QUOTE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Your Bitcoin quote has expired. Please, request a new one."}}},{"type":"object","description":"INVALID_SIGNED_TRANSACTION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INVALID_SIGNED_TRANSACTION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided signed transaction hex could not be parsed as a Bitcoin transaction."}}},{"type":"object","description":"SIGNED_TRANSACTION_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"SIGNED_TRANSACTION_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The signed transaction does not match the requested Bitcoin quote."}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"BITCOIN_QUOTE_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"BITCOIN_QUOTE_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Could not find the Bitcoin quote requested"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FAILED_TO_BROADCAST_TRANSACTION_EXCEPTION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FAILED_TO_BROADCAST_TRANSACTION_EXCEPTION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to broadcast transaction"}}},{"type":"object","description":"BITCOIN_NATIVE_TOKEN_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"BITCOIN_NATIVE_TOKEN_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The Bitcoin native token is not registered in the database. Please contact support."}}}]}}}}},"summary":"Broadcast Signed Bitcoin Transaction","tags":["Bitcoin Transactions"]}},"/api/v1/wallets/{walletAddress}/history":{"get":{"description":"This endpoint retrieves a historic list of transactions of a specified smart wallet with filters. it also returns transactions still pending execution on the blockchain.","operationId":"TransactionsController_transactionsApi_v1","parameters":[{"name":"walletAddress","required":true,"in":"path","description":"Wallet address to retrieve the history from (EVM, Bitcoin, Stellar or Solana)\nAccepted formats:\n\n- **EVM**\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0x6e397ddf51d9f15dbe0414538e7529f51f2e5464`\n- **Bitcoin**\n  - pattern: `^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$`\n  - example: `bc1ql3s9y4gyvlgardeklm9e4d8n83ytyzgwgh88tk`\n- **Stellar**\n  - pattern: `^G[A-Z2-7]{55}$`\n  - example: `GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA`\n- **Solana**\n  - pattern: `^[1-9A-HJ-NP-Za-km-z]{32,44}$`\n  - example: `HAgk14JpMQLgt6rVgv7cBQFJWFto5Dqxi472uT3DKpqk`","schema":{"oneOf":[{"title":"EVM Address","type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464"},{"title":"Bitcoin Address","type":"string","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$","example":"bc1ql3s9y4gyvlgardeklm9e4d8n83ytyzgwgh88tk"},{"title":"Stellar Address","type":"string","pattern":"^G[A-Z2-7]{55}$","example":"GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA"},{"title":"Solana Address","type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","example":"HAgk14JpMQLgt6rVgv7cBQFJWFto5Dqxi472uT3DKpqk"}]}},{"name":"take","required":false,"in":"query","description":"Maximum amount of transactions per page.","schema":{"minimum":1,"maximum":100,"default":100,"example":50,"type":"integer"}},{"name":"lastId","required":false,"in":"query","description":"Cursor for paging. ID of the last transaction from the previous page","schema":{"example":"834ce153-ea11-4e8b-8644-f42814ad1787","type":"string"}},{"name":"id","required":false,"in":"query","description":"Filter by a specific transaction ID, as returned in `id`: a UUID for an EVM wallet, the quote ID, or the deposit ID, for a Solana account","schema":{"minLength":1,"example":"0199e5a3-6f7c-7b2e-9d41-3c8a5f0e2b17","type":"string"}},{"name":"type","required":false,"in":"query","description":"Filter by transaction type","schema":{"example":["SWAP","CROSS_SWAP","LENDING_SUPPLY","LENDING_SUPPLY_BORROW","LENDING_BORROW","LENDING_WITHDRAW","LENDING_REPAY","LENDING_REPAY_WITHDRAW","LENDING_LIQUIDATION","FUND_DEPOSIT","FUND_REDEEM"],"type":"array","items":{"type":"string","enum":["SWAP","CROSS_SWAP","LIMIT_SWAP","LIQUIDITY_POOL_ADD","LIQUIDITY_POOL_COLLECT_FEE","LIQUIDITY_POOL_WITHDRAW","LIQUIDITY_POOL_STAKE","LIQUIDITY_POOL_UNSTAKE","SWAP_LIQUIDITY_POOL_ADD","SWAP_LIQUIDITY_POOL_REBALANCE","SWAP_LIQUIDITY_POOL_REINVEST","SWAP_LIQUIDITY_POOL_WITHDRAW","CRYPTO_DEPOSIT","CRYPTO_WITHDRAW","CUSTOM_TRANSACTION","ON_RAMP","OFF_RAMP","LENDING_SUPPLY","LENDING_SUPPLY_BORROW","LENDING_BORROW","LENDING_WITHDRAW","LENDING_REPAY","LENDING_REPAY_WITHDRAW","LENDING_LIQUIDATION","FUND_DEPOSIT","FUND_REDEEM"]}}},{"name":"status","required":false,"in":"query","description":"Filter by transaction status","schema":{"example":["COMPLETED","FAILED"],"type":"array","items":{"type":"string","enum":["PROCESSING","AWAITING_ORDER","ON_BRIDGE","COMPLETED","CANCELED","FAILED","EXPIRED","PARTIALLY_COMPLETED","PENDING","DELAYED","IN_COMPLIANCE_REVIEW","REFUNDED","AWAITING_MANAGER"]}}},{"name":"userOperationHash","required":false,"in":"query","description":"Filter by a specific user operation hash","schema":{"pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","type":"string"}},{"name":"transactionHash","required":false,"in":"query","description":"Filter by a specific transaction hash","schema":{"pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","type":"string"}},{"name":"chains","required":false,"in":"query","description":"Filter by chains involved in the transaction\\\nSupported chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663\n- Bitcoin: 0\n- Stellar: -1\n- Solana: -501","schema":{"example":[42161,43114],"type":"array","items":{"type":"number"}}},{"name":"chainInId","required":false,"in":"query","description":"**DEPRECATED**: Use `chains` instead. Filter by the chain where the transaction started.","deprecated":true,"schema":{"example":42161,"type":"number"}},{"name":"chainOutId","required":false,"in":"query","description":"**DEPRECATED**: Use `chains` instead. Filter by the chain where the transaction ended when it's a cross-chain transaction.","deprecated":true,"schema":{"example":43114,"type":"number"}},{"name":"createdAtLatest","required":false,"in":"query","description":"Latest date to filter transactions","schema":{"format":"date-time","example":"2025-02-04T20:24:47.022Z","type":"string"}},{"name":"createdAtOldest","required":false,"in":"query","description":"Oldest date to filter transactions","schema":{"format":"date-time","example":"2024-11-02T21:35:45.969Z","type":"string"}},{"name":"metadataKey","required":false,"in":"query","description":"Metadata key to filter by. Must be used together with metadataValue.","schema":{"example":"custom_field","type":"string"}},{"name":"metadataValue","required":false,"in":"query","description":"Metadata value to filter by. Must be used together with metadataKey.","schema":{"example":"custom_value","type":"string"}},{"name":"nftNumber","required":false,"in":"query","description":"NFT token id (nft_number). OR-ed with metadata.positionId (sent via metadataKey=positionId) to scope the history to a single liquidity position across rebalances. On a Solana account, the position's mint: only the operations on that position.","schema":{"example":"123456","type":"string"}},{"name":"fundId","required":false,"in":"query","description":"Fund id. Keeps only the deposit and redeem operations of that fund.","schema":{"minLength":1,"example":"3f1c0b4e-1a2b-4c5d-8e9f-0a1b2c3d4e5f","type":"string"}}],"responses":{"200":{"description":"Details for the transactions the wallet has done","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionOutputDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x335e110f9aa64deef43b646b4bdf90aac3c7844c\" is not registered with the project"}}}}}}},"summary":"Get Smart Wallet History","tags":["Smart Wallets"]}},"/api/v1/wallets/transactions/{transactionId}/metadata":{"patch":{"description":"Update the metadata of a transaction associated with a smart wallet.","operationId":"updateTransactionMetadata","parameters":[{"name":"transactionId","required":true,"in":"path","description":"Our internal ID for the transaction. Do not confuse with the transaction hash, which is a blockchain related concept and that multiple user operations can be executed on the same transaction hash.","schema":{"example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Key-value pairs for metadata. Both keys and values must be strings.","example":{"key1":"value1","key2":"value2"}}}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTransactionMetadataDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"invalid_metadata","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"invalid_metadata"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Invalid metadata. Metadata must be a key-value pair with string values only."}}},{"type":"object","description":"metadata_exceeds_max_size","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"metadata_exceeds_max_size"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Metadata exceeds max size of 1KB"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"TRANSACTION_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"TRANSACTION_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Could not find the transaction by the given parameters"}}}}}}},"summary":"Update Transaction Metadata","tags":["Smart Wallets"]}},"/api/v1/wallets/{walletAddress}/tax-export":{"post":{"description":"Request a tax transactions export for a wallet. The report will be generated by an external tax API and sent to the provided email address.","operationId":"exportTaxTransactionsApi","parameters":[{"name":"walletAddress","required":true,"in":"path","description":"Wallet address to export tax transactions","schema":{"example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportTaxTransactionsBodyDTO"}}}},"responses":{"202":{"description":"Tax export request accepted. You will receive an email when the report is ready."},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x335e110f9aa64deef43b646b4bdf90aac3c7844c\" is not registered with the project"}}},{"type":"object","description":"INDIVIDUAL_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"INDIVIDUAL_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Individual not found"}}}]}}}},"429":{"description":"TOO_MANY_REQUESTS","content":{"application/json":{"schema":{"type":"object","description":"TAX_EXPORT_ALREADY_REQUESTED_TODAY","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":429},"id":{"type":"string","description":"Our ID of the problem","example":"TAX_EXPORT_ALREADY_REQUESTED_TODAY"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"A tax export has already been requested today. Tax exports are limited to one per day."}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"FAILED_TO_PUBLISH_CHECK_TRANSFER_IS_CROSS_SWAP","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FAILED_TO_PUBLISH_CHECK_TRANSFER_IS_CROSS_SWAP"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to publish. Please try again later"}}}}}}},"summary":"Request Tax Transactions Export","tags":["Smart Wallets"]}},"/api/v1/wallets/{walletAddress}/tax-export/schedules":{"post":{"description":"Creates a recurring tax export schedule for a wallet and sends exports by email at the start of each month.","operationId":"createTaxExportScheduleApi","parameters":[{"name":"walletAddress","required":true,"in":"path","description":"Wallet address used for recurring tax exports","schema":{"example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaxExportScheduleBodyDTO"}}}},"responses":{"201":{"description":"Tax export schedule created successfully."},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"type":"object","description":"INVALID_TAX_EXPORT_SCHEDULE_TIMEZONE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INVALID_TAX_EXPORT_SCHEDULE_TIMEZONE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Invalid timezone for tax export schedule"}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x335e110f9aa64deef43b646b4bdf90aac3c7844c\" is not registered with the project"}}},{"type":"object","description":"INDIVIDUAL_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"INDIVIDUAL_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Individual not found"}}}]}}}},"409":{"description":"CONFLICT","content":{"application/json":{"schema":{"type":"object","description":"TAX_EXPORT_SCHEDULE_ALREADY_EXISTS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":409},"id":{"type":"string","description":"Our ID of the problem","example":"TAX_EXPORT_SCHEDULE_ALREADY_EXISTS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"A recurring tax export with this preset already exists"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"FAILED_TO_PUBLISH_TAX_EXPORT_SCHEDULE_MESSAGE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FAILED_TO_PUBLISH_TAX_EXPORT_SCHEDULE_MESSAGE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to schedule recurring tax export"}}}}}}},"summary":"Create Recurring Tax Export Schedule","tags":["Smart Wallets"]},"get":{"description":"Lists active recurring tax export schedules for a wallet.","operationId":"listTaxExportSchedulesApi","parameters":[{"name":"walletAddress","required":true,"in":"path","description":"Wallet address used for recurring tax exports","schema":{"example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","type":"string"}}],"responses":{"200":{"description":"Tax export schedules listed successfully."},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x335e110f9aa64deef43b646b4bdf90aac3c7844c\" is not registered with the project"}}}}}}},"summary":"List Active Tax Export Schedules","tags":["Smart Wallets"]}},"/api/v1/wallets/{walletAddress}/tax-export/schedules/{scheduleId}":{"delete":{"description":"Cancels an active recurring tax export schedule.","operationId":"cancelTaxExportScheduleApi","parameters":[{"name":"walletAddress","required":true,"in":"path","description":"Wallet address used for recurring tax exports","schema":{"example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","type":"string"}},{"name":"scheduleId","required":true,"in":"path","description":"Tax export schedule identifier","schema":{"example":"0195270f-0ae1-7499-9d2f-5e82a8bb2f17","type":"string"}}],"responses":{"200":{"description":"Tax export schedule canceled successfully."},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x335e110f9aa64deef43b646b4bdf90aac3c7844c\" is not registered with the project"}}},{"type":"object","description":"TAX_EXPORT_SCHEDULE_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"TAX_EXPORT_SCHEDULE_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Tax export schedule not found"}}}]}}}}},"summary":"Cancel Tax Export Schedule","tags":["Smart Wallets"]}},"/api/v1/liquidity/change":{"post":{"description":"Change the amount of liquidity provided in a liquidity pool","operationId":"ChangeLiquidityController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeLiquidityDTO"}}}},"responses":{"200":{"description":"Data about the change of liquidity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"BAD_DEDUCT_FEE_TOKEN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_DEDUCT_FEE_TOKEN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"You requested to deduct the gas fee from the amounts, but the token given \"0x82af49447d8a07e3bd95bd0d56f35241523fbab1\" is not one of tokens of the pool 0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0xaf88d065e77c8cc2239327c5edb3a432268e5831."}}},{"type":"object","description":"BAD_AMOUNTS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_AMOUNTS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The amounts given to change the liquidity can't have one positive and another negative, nor can they be zero."}}},{"type":"object","description":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The amount does not cover the fees and the network gas. Increase the amount and try again."}}},{"type":"object","description":"NOT_SUPPORTED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Uniswap V3 does not support these tokens (0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee)."}}},{"type":"object","description":"LIQUIDITY_PROVIDER_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_PROVIDER_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidityProvider does not match the provider of the position manager given in nftAddress"}}},{"type":"object","description":"UNKNOWN_POSITION_MANAGER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNKNOWN_POSITION_MANAGER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The nftAddress is not a supported liquidity position manager on this chain"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}},{"type":"object","description":"POSITION_NOT_OWNED_BY_WALLET","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_OWNED_BY_WALLET"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position NFT does not belong to the provided wallet address"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"BLOCKCHAIN_ERROR","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"BLOCKCHAIN_ERROR"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"We had a problem fetching the data from the blockchain. If the problem persists, contact our support."}}}}}}},"summary":"Change Liquidity","tags":["Liquidity Pools"]}},"/api/v1/liquidity/add":{"post":{"description":"This endpoint adds liquidity to an existing position by swapping a single input token into the two pool tokens and increasing the position.","operationId":"ChangeSwapLpController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeSwapLiquidityDTO"}}}},"responses":{"200":{"description":"Data about the liquidity addition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapLiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The amount does not cover the fees and the network gas. Increase the amount and try again."}}},{"type":"object","description":"LIQUIDITY_PROVIDER_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_PROVIDER_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidityProvider does not match the provider of the position manager given in nftAddress"}}},{"type":"object","description":"UNKNOWN_POSITION_MANAGER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNKNOWN_POSITION_MANAGER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The nftAddress is not a supported liquidity position manager on this chain"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}},{"type":"object","description":"POSITION_NOT_OWNED_BY_WALLET","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_OWNED_BY_WALLET"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position NFT does not belong to the provided wallet address"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}}}}}},"summary":"Add Liquidity via Swap","tags":["Liquidity Pools"]}},"/api/v1/liquidity/collect":{"post":{"description":"Collects the fees received by the liquidity NFT. This will both create a user operation to be executed and will show how much will be collected, so you can choose if you really want to collect it or not. Always collects the full amount.","operationId":"CollectFeesController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectFeesDTO"}}}},"responses":{"200":{"description":"The amounts of tokens needed to provide liquidity.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"LIQUIDITY_PROVIDER_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_PROVIDER_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidityProvider does not match the provider of the position manager given in nftAddress"}}},{"type":"object","description":"UNKNOWN_POSITION_MANAGER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNKNOWN_POSITION_MANAGER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The nftAddress is not a supported liquidity position manager on this chain"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}},{"type":"object","description":"POSITION_NOT_OWNED_BY_WALLET","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_OWNED_BY_WALLET"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position NFT does not belong to the provided wallet address"}}}]}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"BLOCKCHAIN_ERROR","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"BLOCKCHAIN_ERROR"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"We had a problem fetching the data from the blockchain. If the problem persists, contact our support."}}}}}}},"summary":"Collect fees from liquidity","tags":["Liquidity Pools"]}},"/api/v1/liquidity/create":{"post":{"description":"This endpoint creates liquidity for a liquidity pool","operationId":"CreateLiquidityController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLiquidityDTO"}}}},"responses":{"200":{"description":"Data about the creation of the liquidity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"BAD_DEDUCT_FEE_TOKEN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_DEDUCT_FEE_TOKEN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"You requested to deduct the gas fee from the amounts, but the token given \"0x82af49447d8a07e3bd95bd0d56f35241523fbab1\" is not one of tokens of the pool 0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0xaf88d065e77c8cc2239327c5edb3a432268e5831."}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"BAD_FEE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_FEE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Wrong fee given."}}},{"type":"object","description":"BAD_AMOUNTS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_AMOUNTS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The amounts given to change the liquidity can't have one positive and another negative, nor can they be zero."}}},{"type":"object","description":"TICK_OUT_OF_RANGE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"TICK_OUT_OF_RANGE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided value in `minPrice` is too high."}}},{"type":"object","description":"PRICE_RANGE_TOO_NARROW","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"PRICE_RANGE_TOO_NARROW"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The price range between `minPrice` and `maxPrice` does not cover a full tick-spacing step of this pool (10 ticks, about 0.1%); widen it."}}},{"type":"object","description":"NOT_SUPPORTED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Uniswap V3 does not support these tokens (0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee)."}}},{"type":"object","description":"POOL_ID_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"POOL_ID_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The poolId does not match the pool the request resolves to"}}},{"type":"object","description":"INVALID_ADDRESS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INVALID_ADDRESS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The address '0x556B9306565093C855AEA9AE92A594704c2Cd59e' is not valid for chain '56'"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}},{"type":"object","description":"POOL_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"POOL_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This pool was not found in our systems (pool: 42161-0x864abca0a6202dba5b8868772308da953ff125b0f95015adbf89aaf579e903a8). Make sure you are passing the right 'poolId'."}}}]}}}}},"summary":"Create Liquidity","tags":["Liquidity Pools"]}},"/api/v1/liquidity/estimate-apr":{"post":{"description":"Estimates APR for a future position in a Uniswap V3, Uniswap V4 or PancakeSwap V3 pool using provided amounts, prices, and pool/range inputs.","operationId":"EstimateAprController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EstimateAprDTO"}}}},"responses":{"200":{"description":"Estimated APR for the provided position parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EstimateAprResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"POOL_ID_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"POOL_ID_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The poolId does not match the pool the request resolves to"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}}},"summary":"Estimate Future Position APR","tags":["Liquidity Pools"]}},"/api/v1/liquidity/amounts":{"get":{"description":"Get the amounts of tokens needed to provide liquidity to a pool based on the maximum you want to spend in one token. You can pass the max amount for both tokens and receive quotes for the two possible scenarios, this way you can check in a single call what option works based on the amounts your user has. E.g. your user wants to provide liquidity to the ETH-USDC pool, and they have 100 USDC and 100 ETH in their wallet. By passing both as the max amounts in `tokenXMaxAmount` you'll get two quotes. One telling how much ETH you need to provided if you send 100 USDC and another telling how much USDC you need to provide given 100 ETH. Then you can choose which one actually fits the liquidity your user has. **Note**: If only one of them is returned it means the price range is outside the current price, so only one token can be provided to create liquidity, the other will always be zero.","operationId":"GetAmountsController_handle_v1","parameters":[{"name":"liquidityProvider","required":false,"in":"query","description":"Optional provider for entering a liquidity pool. If not provided, Uniswap v3 will be used.","schema":{"example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]}},{"name":"chainId","required":true,"in":"query","description":"The blockchain network where the liquidity will be provided. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","schema":{"example":42161,"type":"number"}},{"name":"token0","required":true,"in":"query","description":"The address (in hexadecimal format) of one of the tokens of the pool. Use `0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee` for the native token (POL, ETH...); the pool is the one holding its wrapped token (WPOL, WETH...).","schema":{"example":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","type":"string"}},{"name":"token1","required":true,"in":"query","description":"The address (in hexadecimal format) of the other token of the pool. Use `0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee` for the native token (POL, ETH...).","schema":{"example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","type":"string"}},{"name":"poolFeePercent","required":true,"in":"query","description":"Defines the fee earned by providing liquidity. Lower values are recommended for more stable tokens, while higher values are better suited for volatile assets. The values allowed depend on the provider, so check the provider docs too to know which fee tiers are allowed.","schema":{"maximum":100,"exclusiveMinimum":true,"example":1,"type":"number","minimum":0}},{"name":"tickSpacing","required":false,"in":"query","description":"Tick spacing of the pool (`tickSpacing` from the pool list). Part of the pool's identity where the fee alone does not fix it: required for UNISWAP_V4, ignored by the providers that read it from the pool.","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"example":60,"nullable":true}},{"name":"poolId","required":false,"in":"query","description":"Optional `id` of the pool from the pool list. When sent, the request fails with POOL_ID_MISMATCH unless the pool it resolves to is this one.","schema":{"type":"string","pattern":"^[0-9]+-0x([0-9a-fA-F]{40}|[0-9a-fA-F]{64})$","example":"137-0x5b5bf85e5dc1e76ff90025ac5d8e8595fb575443","nullable":true}},{"name":"token0MaxAmount","required":false,"in":"query","description":"The maximum amount of token0 to add to the liquidity pool, expressed as a decimal string.","schema":{"default":"1","example":"26.2345","type":"string"}},{"name":"token1MaxAmount","required":false,"in":"query","description":"The maximum amount of token1 to add to the liquidity pool, expressed as a decimal string.","schema":{"default":"1","example":"1823.2","type":"string"}},{"name":"minPrice","required":true,"in":"query","description":"Minimum price the liquidity will be active. If the price goes below this, the liquidity won't be active and will generate no revenues. This will allow to concentrate the liquidity to a price range, thus enhancing the gains. Price is always `p = token1 / token0`","schema":{"minimum":0,"maximum":3.4026e+38,"example":83475.12,"type":"number"}},{"name":"maxPrice","required":true,"in":"query","description":"Maximum price the liquidity will be active. If the price goes above this, the liquidity won't be active and will generate no revenues. This will allow to concentrate the liquidity to a price range, thus enhancing the gains. Price is always `p = token1 / token0`","schema":{"minimum":0,"maximum":3.4026e+38,"example":102300.5,"type":"number"}},{"name":"payGasFeeToken","required":true,"in":"query","description":"The token address (in hexadecimal format) used to pay the transaction fee.","schema":{"example":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","type":"string"}},{"name":"gasFeePaymentMethod","required":true,"in":"query","description":"Defines how the fee will be paid: \"ADD_TO_AMOUNT\" adds it to the input amount, while \"DEDUCT_FROM_AMOUNT\" subtracts it from the input amount.","schema":{"example":"ADD_TO_AMOUNT","type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"]}},{"name":"type","required":false,"in":"query","description":"Optional operation type to align the gas estimate with a future add or change liquidity transaction.","schema":{"default":"add-liquidity","example":"change-liquidity","type":"string","enum":["add-liquidity","change-liquidity"]}}],"responses":{"200":{"description":"The amounts of tokens needed to provide liquidity.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAmountsPresenterDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"BAD_DEDUCT_FEE_TOKEN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_DEDUCT_FEE_TOKEN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"You requested to deduct the gas fee from the amounts, but the token given \"0x82af49447d8a07e3bd95bd0d56f35241523fbab1\" is not one of tokens of the pool 0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0xaf88d065e77c8cc2239327c5edb3a432268e5831."}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"BAD_FEE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_FEE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Wrong fee given."}}},{"type":"object","description":"TICK_OUT_OF_RANGE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"TICK_OUT_OF_RANGE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided value in `minPrice` is too high."}}},{"type":"object","description":"PRICE_RANGE_TOO_NARROW","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"PRICE_RANGE_TOO_NARROW"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The price range between `minPrice` and `maxPrice` does not cover a full tick-spacing step of this pool (10 ticks, about 0.1%); widen it."}}},{"type":"object","description":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The amount does not cover the fees and the network gas. Increase the amount and try again."}}},{"type":"object","description":"NOT_SUPPORTED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Uniswap V3 does not support these tokens (0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee)."}}},{"type":"object","description":"POOL_ID_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"POOL_ID_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The poolId does not match the pool the request resolves to"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"POOL_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"POOL_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This pool was not found in our systems (pool: 42161-0x864abca0a6202dba5b8868772308da953ff125b0f95015adbf89aaf579e903a8). Make sure you are passing the right 'poolId'."}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"BLOCKCHAIN_ERROR","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"BLOCKCHAIN_ERROR"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"We had a problem fetching the data from the blockchain. If the problem persists, contact our support."}}}}}}},"summary":"Get Liquidity Amounts","tags":["Liquidity Pools"]}},"/api/v1/liquidity/pools":{"get":{"description":"List liquidity pools that exist on the blockchain. The pool can be in a broken state, like having nearly no liquidity. Use the data returned by this endpoint to asses if the pool is worth investing into. Choose the aggregation interval to control both granularity and time range: DAILY (last 30 days), WEEKLY (last 12 weeks), MONTHLY (last 12 months).","operationId":"ListPoolsController_transactionsApi_v1","parameters":[{"name":"take","required":false,"in":"query","description":"Maximum amount of pools per page.","schema":{"minimum":1,"maximum":50,"default":10,"example":10,"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"Number of pools to skip. Used for paging the results.","schema":{"minimum":0,"maximum":9007199254740991,"default":0,"example":150,"type":"integer"}},{"name":"chainIds","required":false,"in":"query","description":"Filter by chains. Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663\n- Solana: -501","schema":{"example":[42161,43114],"type":"array","items":{"type":"number"}}},{"name":"tokensAddresses","required":false,"in":"query","description":"Filter by tokens","schema":{"example":["0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"],"type":"array","items":{"type":"string"}}},{"name":"filterWhitelist","required":false,"in":"query","description":"Filter results by the project whitelist, setting to false returns all pools regardless of your whitelist. Solana pools are not filtered, since whitelists hold no Solana tokens.","schema":{"example":false,"type":"boolean"}},{"name":"rangeInDays","required":false,"in":"query","description":"Number of days to aggregate pool statistics for. Must be between 1 and 365 days. Default is 30 days.","schema":{"minimum":1,"maximum":365,"default":30,"example":30,"type":"integer"}},{"name":"ids","required":false,"in":"query","description":"Filter by pool ids","schema":{"example":["137-0x5b5bf85e5dc1e76ff90025ac5d8e8595fb575443"],"type":"array","items":{"type":"string"}}},{"name":"liquidityProvider","required":false,"in":"query","description":"Filter by liquidity providers (comma-separated). Without it, only Uniswap V3 pools are listed unless `ids` is sent, which lists the named pools whatever their provider.","schema":{"example":["UNISWAP_V3"],"type":"array","items":{"type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]}}}],"responses":{"200":{"description":"List of all liquidity pools that exist for each supported protocol","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPoolsDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"DB_API_FAILED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"DB_API_FAILED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"We had a problem fetching the data from our metadata servers. If the problem persists, contact our support."}}}}}}},"summary":"List Liquidity Pools","tags":["Liquidity Pools"]}},"/api/v1/liquidity/pools/{id}":{"get":{"description":"Get liquidity pool by pool ID with aggregated stats","operationId":"GetPoolController_transactionsApi_v1","parameters":[{"name":"id","required":true,"in":"path","description":"The unique identifier of the pool","schema":{"minLength":1,"example":"137-0x4CcD010148379ea531D6C587CfDd60180196F9b1","type":"string"}},{"name":"rangeInDays","required":false,"in":"query","description":"Number of days to aggregate pool statistics for. Must be between 1 and 365 days. Default is 30 days.","schema":{"minimum":1,"maximum":365,"default":30,"example":30,"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPoolResponseDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}}},"summary":"Get Liquidity Pool","tags":["Liquidity Pools"]}},"/api/v1/liquidity/pools/{id}/historical-data":{"get":{"description":"Get detailed historical data for a specific pool including volume and fees over time","operationId":"getPoolHistoricalData","parameters":[{"name":"id","required":true,"in":"path","description":"The unique identifier of the pool","schema":{"minLength":1,"example":"137-0x4CcD010148379ea531D6C587CfDd60180196F9b1","type":"string"}},{"name":"rangeInDays","required":false,"in":"query","description":"Number of days to look back for statistics (maximum 365 days)","schema":{"maximum":365,"exclusiveMinimum":true,"default":30,"example":30,"type":"integer","minimum":0}},{"name":"groupByInterval","required":false,"in":"query","description":"Interval for grouping pool statistics. HOURLY, DAILY, WEEKLY, MONTHLY or YEARLY","schema":{"default":"DAILY","example":"DAILY","type":"string","enum":["HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"]}}],"responses":{"200":{"description":"Pool historical data retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPoolStatisticsResponseDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}}},"summary":"Get Pool Historical Data","tags":["Liquidity Pools"]}},"/api/v1/liquidity":{"post":{"description":"This endpoint creates liquidity for a swap liquidity pool","operationId":"CreateSwapLpController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLiquidityDTO"}}}},"responses":{"200":{"description":"Data about the creation of the liquidity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapLiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"BAD_DEDUCT_FEE_TOKEN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_DEDUCT_FEE_TOKEN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"You requested to deduct the gas fee from the amounts, but the token given \"0x82af49447d8a07e3bd95bd0d56f35241523fbab1\" is not one of tokens of the pool 0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0xaf88d065e77c8cc2239327c5edb3a432268e5831."}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"BAD_FEE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_FEE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Wrong fee given."}}},{"type":"object","description":"TICK_OUT_OF_RANGE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"TICK_OUT_OF_RANGE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided value in `minPrice` is too high."}}},{"type":"object","description":"PRICE_RANGE_TOO_NARROW","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"PRICE_RANGE_TOO_NARROW"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The price range between `minPrice` and `maxPrice` does not cover a full tick-spacing step of this pool (10 ticks, about 0.1%); widen it."}}},{"type":"object","description":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The amount does not cover the fees and the network gas. Increase the amount and try again."}}},{"type":"object","description":"POOL_ID_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"POOL_ID_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The poolId does not match the pool the request resolves to"}}},{"type":"object","description":"INVALID_ADDRESS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INVALID_ADDRESS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The address '0x556B9306565093C855AEA9AE92A594704c2Cd59e' is not valid for chain '56'"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}},{"type":"object","description":"POOL_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"POOL_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This pool was not found in our systems (pool: 42161-0x864abca0a6202dba5b8868772308da953ff125b0f95015adbf89aaf579e903a8). Make sure you are passing the right 'poolId'."}}}]}}}}},"summary":"Create Swap Liquidity","tags":["Liquidity Pools"]}},"/api/v1/liquidity/add/cross-chain":{"post":{"description":"Adds liquidity to a position that lives on a different chain than the funds, in a single signature. The user signs one operation on `chainId`; the bridge delivers `destinationToken` on `chainIdOut` and, in the same destination transaction, splits it at the position range ratio and grows the position. The destination side is atomic: if any part of it fails, nothing settles and the deposit is refunded on `chainId`. Platform fees and gas fees are always charged in `tokenIn`.","operationId":"ChangeSwapLpCrossChainController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeSwapLiquidityCrossChainDTO"}}}},"responses":{"200":{"description":"Data about the liquidity added to the position","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapLiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"UNSUPPORTED_CROSS_CHAIN_ROUTE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNSUPPORTED_CROSS_CHAIN_ROUTE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"There is no cross-chain liquidity route from chain 137 to chain 56."}}},{"type":"object","description":"NOT_SUPPORTED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Relay does not support these tokens ()."}}},{"type":"object","description":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The amount does not cover the fees and the network gas. Increase the amount and try again."}}},{"type":"object","description":"LIQUIDITY_PROVIDER_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_PROVIDER_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidityProvider does not match the provider of the position manager given in nftAddress"}}},{"type":"object","description":"UNKNOWN_POSITION_MANAGER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNKNOWN_POSITION_MANAGER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The nftAddress is not a supported liquidity position manager on this chain"}}},{"type":"object","description":"UNSUPPORTED_LIQUIDITY_OPERATION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNSUPPORTED_LIQUIDITY_OPERATION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This liquidity provider does not support the requested operation"}}},{"type":"object","description":"CROSS_CHAIN_LP_AMOUNT_TOO_LARGE_FOR_POOL","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"CROSS_CHAIN_LP_AMOUNT_TOO_LARGE_FOR_POOL"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This amount is too large for this pool's liquidity right now. Try a smaller amount."}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}},{"type":"object","description":"POSITION_NOT_OWNED_BY_WALLET","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_OWNED_BY_WALLET"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position NFT does not belong to the provided wallet address"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}}}}}},"summary":"Add Liquidity To An Existing Position On Another Chain","tags":["Liquidity Pools"]}},"/api/v1/liquidity/enso":{"post":{"description":"This endpoint creates liquidity for a swap liquidity pool through an Enso bundle: the swaps and the deposit are chained on-chain, so the deposit consumes the exact runtime swap outputs instead of worst-case estimates. Platform fees and gas fees are always charged in `tokenIn`.","operationId":"CreateSwapLpEnsoController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLiquidityEnsoDTO"}}}},"responses":{"200":{"description":"Data about the creation of the liquidity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapLiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"TICK_OUT_OF_RANGE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"TICK_OUT_OF_RANGE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided value in `minPrice` is too high."}}},{"type":"object","description":"PRICE_RANGE_TOO_NARROW","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"PRICE_RANGE_TOO_NARROW"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The price range between `minPrice` and `maxPrice` does not cover a full tick-spacing step of this pool (10 ticks, about 0.1%); widen it."}}},{"type":"object","description":"UNSUPPORTED_CROSS_CHAIN_ROUTE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNSUPPORTED_CROSS_CHAIN_ROUTE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"There is no cross-chain liquidity route from chain 137 to chain 56."}}},{"type":"object","description":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_AMOUNT_TOO_SMALL_FOR_FEES"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The amount does not cover the fees and the network gas. Increase the amount and try again."}}},{"type":"object","description":"POOL_ID_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"POOL_ID_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The poolId does not match the pool the request resolves to"}}},{"type":"object","description":"UNSUPPORTED_LIQUIDITY_OPERATION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNSUPPORTED_LIQUIDITY_OPERATION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This liquidity provider does not support the requested operation"}}},{"type":"object","description":"DESTINATION_TOKEN_REQUIRED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"DESTINATION_TOKEN_REQUIRED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"A cross-chain entry into this liquidity provider needs destinationToken: it has no route without it"}}},{"type":"object","description":"INVALID_ADDRESS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INVALID_ADDRESS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The address '0x556B9306565093C855AEA9AE92A594704c2Cd59e' is not valid for chain '56'"}}},{"type":"object","description":"SENDING_TO_TOKEN_CONTRACT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"SENDING_TO_TOKEN_CONTRACT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"You are sending tokens to a token contract"}}},{"type":"object","description":"CROSS_CHAIN_LP_AMOUNT_TOO_LARGE_FOR_POOL","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"CROSS_CHAIN_LP_AMOUNT_TOO_LARGE_FOR_POOL"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This amount is too large for this pool's liquidity right now. Try a smaller amount."}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}},{"type":"object","description":"POOL_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"POOL_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This pool was not found in our systems (pool: 42161-0x864abca0a6202dba5b8868772308da953ff125b0f95015adbf89aaf579e903a8). Make sure you are passing the right 'poolId'."}}}]}}}}},"summary":"Create Swap Liquidity (Enso)","tags":["Liquidity Pools"]}},"/api/v1/liquidity/withdraw/cross-chain":{"post":{"description":"Withdraws a liquidity position and delivers the proceeds on another network in a single signature: the position is redeemed and consolidated on its own network, then bridged, and the destination leg delivers `tokenOut` to `toAddress`. Platform fees and gas are charged on the position's network.","operationId":"WithdrawSwapLpCrossChainController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawSwapLiquidityCrossChainDTO"}}}},"responses":{"200":{"description":"Data about the cross-chain withdraw","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawSwapLiquidityCrossChainResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"UNSUPPORTED_CROSS_CHAIN_ROUTE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNSUPPORTED_CROSS_CHAIN_ROUTE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"There is no cross-chain liquidity route from chain 56 to chain 137."}}},{"type":"object","description":"LIQUIDITY_PROVIDER_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_PROVIDER_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidityProvider does not match the provider of the position manager given in nftAddress"}}},{"type":"object","description":"UNKNOWN_POSITION_MANAGER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNKNOWN_POSITION_MANAGER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The nftAddress is not a supported liquidity position manager on this chain"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}},{"type":"object","description":"POSITION_NOT_OWNED_BY_WALLET","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_OWNED_BY_WALLET"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position NFT does not belong to the provided wallet address"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}}}}}},"summary":"Withdraw Liquidity Cross-Chain (Enso)","tags":["Liquidity Pools"]}},"/api/v1/liquidity/rebalance":{"post":{"description":"Collects the entire position, swaps assets as needed, and mints a fresh position with the same provider in the requested range.","operationId":"RebalanceLiquidityController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RebalanceLiquidityDTO"}}}},"responses":{"200":{"description":"Quote information for the rebalance operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RebalanceLiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"BAD_PRICE_RANGE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_PRICE_RANGE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The price range is wrong, minimum price is equal or above maximum price. min: undefined >= undefined: max"}}},{"type":"object","description":"LIQUIDITY_PROVIDER_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_PROVIDER_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidityProvider does not match the provider of the position manager given in nftAddress"}}},{"type":"object","description":"UNKNOWN_POSITION_MANAGER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNKNOWN_POSITION_MANAGER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The nftAddress is not a supported liquidity position manager on this chain"}}},{"type":"object","description":"INVALID_ADDRESS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INVALID_ADDRESS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The address '0x556B9306565093C855AEA9AE92A594704c2Cd59e' is not valid for chain '56'"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}},{"type":"object","description":"POSITION_NOT_OWNED_BY_WALLET","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_OWNED_BY_WALLET"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position NFT does not belong to the provided wallet address"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}}}}},"422":{"description":"UNPROCESSABLE_ENTITY","content":{"application/json":{"schema":{"type":"object","description":"SWAP_ROUTES_COOLING_DOWN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":422},"id":{"type":"string","description":"Our ID of the problem","example":"SWAP_ROUTES_COOLING_DOWN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Every swap route for this rebalance failed on-chain recently. Try again later."}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"BLOCKCHAIN_ERROR","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"BLOCKCHAIN_ERROR"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"We had a problem fetching the data from the blockchain. If the problem persists, contact our support."}}}}}}},"summary":"Rebalance a liquidity position with a new price range","tags":["Liquidity Pools"]}},"/api/v1/liquidity/reinvest":{"post":{"description":"Collects the accumulated pool fees of the position, swaps the excess side to the exact token proportion the position range demands at the current pool price, and increases the liquidity of the same NFT — all in a single user operation.","operationId":"ReinvestFeesController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReinvestFeesDTO"}}}},"responses":{"200":{"description":"Quote information for the reinvest operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReinvestFeesOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"NO_FEES_TO_REINVEST","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NO_FEES_TO_REINVEST"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position has no accumulated fees available to reinvest"}}},{"type":"object","description":"LIQUIDITY_PROVIDER_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_PROVIDER_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidityProvider does not match the provider of the position manager given in nftAddress"}}},{"type":"object","description":"UNKNOWN_POSITION_MANAGER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNKNOWN_POSITION_MANAGER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The nftAddress is not a supported liquidity position manager on this chain"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}},{"type":"object","description":"POSITION_NOT_OWNED_BY_WALLET","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_OWNED_BY_WALLET"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position NFT does not belong to the provided wallet address"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"SWAP_QUOTE_UNAVAILABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"SWAP_QUOTE_UNAVAILABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"No swap provider was able to quote the proportion-adjustment swap for the reinvest operation. Try again in a few moments."}}},{"type":"object","description":"BLOCKCHAIN_ERROR","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"BLOCKCHAIN_ERROR"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"We had a problem fetching the data from the blockchain. If the problem persists, contact our support."}}}]}}}}},"summary":"Reinvest the accumulated fees of a liquidity position","tags":["Liquidity Pools"]}},"/api/v1/liquidity/stake":{"post":{"description":"Stakes a PancakeSwap V3 position in MasterChefV3 to earn CAKE: the wallet sends the position NFT to the farm. It is a separate user operation, signed after the entry (or after a rebalance), because the NFT id is only known once the position exists. Only pools whose farm is live (allocation points above zero) can be staked. Its network fee is taken out of the position, so the wallet needs no balance: see payGasFeeToken. Collects, removals and top-ups of a staked position keep working through the regular endpoints, and an exit of the whole position takes it out of the farm on its own. The response amounts are the position current amounts, for information; nothing is paid out.","operationId":"FarmPositionController_stake_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FarmPositionDTO"}}}},"responses":{"200":{"description":"The user operation that stakes the position.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"PANCAKESWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"SPONSORED_GAS_BILLING_NOT_CONFIGURED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"SPONSORED_GAS_BILLING_NOT_CONFIGURED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Sponsored gas requires an organization Stripe customer and a default card."}}},{"type":"object","description":"VALIDATION_FAILED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"VALIDATION_FAILED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"liquidityProvider or nftAddress is required"}}},{"type":"object","description":"LIQUIDITY_PROVIDER_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_PROVIDER_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidityProvider does not match the provider of the position manager given in nftAddress"}}},{"type":"object","description":"UNKNOWN_POSITION_MANAGER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNKNOWN_POSITION_MANAGER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The nftAddress is not a supported liquidity position manager on this chain"}}},{"type":"object","description":"BAD_DEDUCT_FEE_TOKEN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_DEDUCT_FEE_TOKEN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"You requested to deduct the gas fee from the amounts, but the token given \"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d\" is not one of tokens of the pool 0x55d398326f99059ff775485246999027b3197955,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c."}}},{"type":"object","description":"INSUFFICIENT_FUNDS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INSUFFICIENT_FUNDS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Insufficient funds for token 0x55d398326f99059ff775485246999027b3197955\n\tAmount: 1000000000000000\n\tReduce: 43750000000000000"}}},{"type":"object","description":"UNSUPPORTED_LIQUIDITY_OPERATION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNSUPPORTED_LIQUIDITY_OPERATION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This liquidity provider does not support the requested operation"}}},{"type":"object","description":"POSITION_ALREADY_STAKED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_ALREADY_STAKED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position is already staked in the farm"}}},{"type":"object","description":"POSITION_HAS_NO_LIQUIDITY","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_HAS_NO_LIQUIDITY"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position holds no liquidity, so the farm cannot take it"}}},{"type":"object","description":"FARM_NOT_ACTIVE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FARM_NOT_ACTIVE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The pool of this position has no active farm, so staking it earns no rewards"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}},{"type":"object","description":"POSITION_NOT_OWNED_BY_WALLET","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_OWNED_BY_WALLET"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position NFT does not belong to the provided wallet address"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet is not registered with the project"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"BLOCKCHAIN_ERROR","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"BLOCKCHAIN_ERROR"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"We had a problem fetching the data from the blockchain. If the problem persists, contact our support."}}}}}}},"summary":"Stake a liquidity position","tags":["Liquidity Pools"]}},"/api/v1/liquidity/unstake":{"post":{"description":"Takes a staked PancakeSwap V3 position out of MasterChefV3: the pending CAKE is paid to the wallet and the position NFT returns to it. Its network fee is taken out of the position, as a stake's is: see payGasFeeToken. An exit of the whole position does not need it first; it leaves the farm on its own. The response amounts are the position current amounts, for information.","operationId":"FarmPositionController_unstake_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FarmPositionDTO"}}}},"responses":{"200":{"description":"The user operation that unstakes the position.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"PANCAKESWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"SPONSORED_GAS_BILLING_NOT_CONFIGURED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"SPONSORED_GAS_BILLING_NOT_CONFIGURED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Sponsored gas requires an organization Stripe customer and a default card."}}},{"type":"object","description":"VALIDATION_FAILED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"VALIDATION_FAILED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"liquidityProvider or nftAddress is required"}}},{"type":"object","description":"LIQUIDITY_PROVIDER_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_PROVIDER_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidityProvider does not match the provider of the position manager given in nftAddress"}}},{"type":"object","description":"UNKNOWN_POSITION_MANAGER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNKNOWN_POSITION_MANAGER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The nftAddress is not a supported liquidity position manager on this chain"}}},{"type":"object","description":"BAD_DEDUCT_FEE_TOKEN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BAD_DEDUCT_FEE_TOKEN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"You requested to deduct the gas fee from the amounts, but the token given \"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d\" is not one of tokens of the pool 0x55d398326f99059ff775485246999027b3197955,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c."}}},{"type":"object","description":"INSUFFICIENT_FUNDS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INSUFFICIENT_FUNDS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Insufficient funds for token 0x55d398326f99059ff775485246999027b3197955\n\tAmount: 1000000000000000\n\tReduce: 43750000000000000"}}},{"type":"object","description":"UNSUPPORTED_LIQUIDITY_OPERATION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNSUPPORTED_LIQUIDITY_OPERATION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This liquidity provider does not support the requested operation"}}},{"type":"object","description":"POSITION_NOT_STAKED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_STAKED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position is not staked in the farm"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}},{"type":"object","description":"POSITION_NOT_OWNED_BY_WALLET","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_OWNED_BY_WALLET"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position NFT does not belong to the provided wallet address"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet is not registered with the project"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"BLOCKCHAIN_ERROR","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"BLOCKCHAIN_ERROR"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"We had a problem fetching the data from the blockchain. If the problem persists, contact our support."}}}}}}},"summary":"Unstake a liquidity position","tags":["Liquidity Pools"]}},"/api/v1/liquidity/withdraw":{"post":{"description":"This endpoint withdraws liquidity from a pool, swaps the received tokens to a single output token, and sends to the specified address.","operationId":"WithdrawSwapLpController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawSwapLiquidityDTO"}}}},"responses":{"200":{"description":"Data about the withdrawal operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawSwapLiquidityOperationResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"NOT_SUPPORTED_CHAIN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_SUPPORTED_CHAIN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"UNISWAP_V3 does not support this chain ([object Object])."}}},{"type":"object","description":"LIQUIDITY_PROVIDER_MISMATCH","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_PROVIDER_MISMATCH"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidityProvider does not match the provider of the position manager given in nftAddress"}}},{"type":"object","description":"UNKNOWN_POSITION_MANAGER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNKNOWN_POSITION_MANAGER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The nftAddress is not a supported liquidity position manager on this chain"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}},{"type":"object","description":"POSITION_NOT_OWNED_BY_WALLET","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"POSITION_NOT_OWNED_BY_WALLET"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The liquidity position NFT does not belong to the provided wallet address"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}}}}}},"summary":"Withdraw Swap Liquidity","tags":["Liquidity Pools"]}},"/api/v1/wallets/address":{"get":{"description":"This endpoint retrieves the details of a user's smart wallet, including the date the wallet was registered with this project, or _null_ if it's not registered yet.","operationId":"GetAccountAbstractionAddressController_handle_v1","parameters":[{"name":"externallyOwnedAccount","required":true,"in":"query","description":"Public address of the Externally Owned Account (EOA) that will sign the transactions, the owner of the account abstraction wallet.","schema":{"example":"0x133700000000000000000000000000000000c0de","type":"string"}},{"name":"factory","required":true,"in":"query","description":"The address of the factory contract that creates the account abstraction wallet contract.\n\nSee [Factory Compatibility](https://docs.notus.team/docs/guides/smart-wallets/factory-compatibility) for the supported `factory` values and their EIP-7702 support.","schema":{"example":"0x0000000000400cdfef5e2714e63d8040b700bc24","type":"string"}},{"name":"salt","required":false,"in":"query","description":"The salt number used to generate this wallet. If none is given the default is zero. Each salt generates a new smart wallet for the same user.\nThe salt can be used for the following purposes:\n- Generating multiple smart wallets for the same user  \nYou can use this to have different portfolios in different wallets or any other reason\n - Getting a specific address for the smart wallet  \nYou can create a script that will test multiple salt values until a certain sequence of numbers show up in the smart wallet contract address. This way you can use the salt to make all smart wallet addresses you generate start with the initials of your company. Though you are limited to Hexadecimal digits, so you'll have to use Hexspeak.","schema":{"example":"12345","type":"string"}},{"name":"eip7702","required":false,"in":"query","description":"Whether you want to deploy using the EIP7702 standard, that lets the EOA set a contract as its own contract code. The default value is False. See [Factory Compatibility](https://docs.notus.team/docs/guides/smart-wallets/factory-compatibility) to check which factories support EIP7702. Salt has no effect and having it is disallowed.","schema":{"example":false,"type":"boolean"}}],"responses":{"200":{"description":"Details about the wallet that the given parameters create","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleWalletDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FACTORY_NOT_SUPPORTED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FACTORY_NOT_SUPPORTED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This factory (0xd053b51a81b7306e7e2e34bfd4d51143da8dcdcc) is not yet supported, contact support to request its inclusion"}}},{"type":"object","description":"FACTORY_NOT_EIP7702_READY","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FACTORY_NOT_EIP7702_READY"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This factory does not support EIP7702. See https://docs.notus.team/docs/guides/smart-wallets/factory-compatibility"}}},{"type":"object","description":"EIP7702_REQUIRED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"EIP7702_REQUIRED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This factory requires EIP7702 to be enabled. See https://docs.notus.team/docs/guides/smart-wallets/factory-compatibility"}}},{"type":"object","description":"WALLET_IS_CONTRACT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"WALLET_IS_CONTRACT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This address is a contract and cannot be an EIP-7702 wallet: 0x133700000000000000000000000000000000c0de"}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"PROJECT_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"PROJECT_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided project does not exist"}}}}}}},"summary":"Get Smart Wallet","tags":["Smart Wallets"]}},"/api/v1/wallets/{walletAddress}":{"get":{"description":"This endpoint retrieves the details of a user's smart wallet, including the date the wallet was registered with this project, or _null_ if it's not registered yet.","operationId":"GetAccountAbstractionDetailsController_handle_v1","parameters":[{"name":"walletAddress","required":true,"in":"path","description":"Public address of the Smart Wallet. This is where the funds remain and not the Externally Owned Account (EOA) that is the owner of the smart wallet.","schema":{"example":"0x133700000000000000000000000000000000c0de","type":"string"}}],"responses":{"200":{"description":"Details about the wallet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleWalletDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"PROJECT_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"PROJECT_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided project does not exist"}}},{"type":"object","description":"WALLET_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"WALLET_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This wallet \"0x133700000000000000000000000000000000c0de\" is not registered with your project."}}}]}}}}},"summary":"Get Smart Wallet Details","tags":["Smart Wallets"]}},"/api/v1/wallets":{"get":{"description":"This endpoint lists all the smart wallets of the project.","operationId":"GetWalletsByProjectController_handle_v1","parameters":[],"responses":{"200":{"description":"List of wallets linked with this project","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipleWalletsDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}}},"summary":"Get Smart Wallets by Project","tags":["Smart Wallets"]}},"/api/v1/wallets/register":{"post":{"description":"This endpoint registers a new smart wallet for a user, linking this wallet with your project. You can check if the wallet was already registered by checking the _registeredAt_ value from the _Check Smart Wallet_ endpoint.","operationId":"RegisterWalletController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterWalletDTO"}}}},"responses":{"200":{"description":"Details about the registered wallet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleWalletDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FACTORY_NOT_SUPPORTED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FACTORY_NOT_SUPPORTED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This factory (0xd053b51a81b7306e7e2e34bfd4d51143da8dcdcc) is not yet supported, contact support to request its inclusion"}}},{"type":"object","description":"FACTORY_NOT_EIP7702_READY","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FACTORY_NOT_EIP7702_READY"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This factory does not support EIP7702. See https://docs.notus.team/docs/guides/smart-wallets/factory-compatibility"}}},{"type":"object","description":"EIP7702_REQUIRED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"EIP7702_REQUIRED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This factory requires EIP7702 to be enabled. See https://docs.notus.team/docs/guides/smart-wallets/factory-compatibility"}}},{"type":"object","description":"WALLET_IS_CONTRACT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"WALLET_IS_CONTRACT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This address is a contract and cannot be an EIP-7702 wallet: 0x133700000000000000000000000000000000c0de"}}},{"type":"object","description":"WALLET_ALREADY_REGISTERED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"WALLET_ALREADY_REGISTERED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This wallet \"0x1337133713371337133713371337133713371337\" is already registered with this project."}}}]}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"PROJECT_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"PROJECT_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The provided project does not exist"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"REGISTER_WALLET_TRACKING_FAILED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"REGISTER_WALLET_TRACKING_FAILED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to register wallet, an exception happened during registering wallet for event tracking"}}}}}}},"summary":"Register Smart Wallet","tags":["Smart Wallets"]}},"/api/v1/wallets/{walletId}/metadata":{"patch":{"description":"This endpoint updates the metadata for a specific wallet. The metadata is merged with existing metadata if present.","operationId":"UpdateWalletMetadataController_handle_v1","parameters":[{"name":"walletId","required":true,"in":"path","description":"Wallet address (in hexadecimal format)","schema":{"example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWalletMetadataDTO"}}}},"responses":{"200":{"description":"Updated wallet details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleWalletDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_ALLOWED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_ALLOWED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"You're not allowed to do this action"}}},{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"WALLET_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"WALLET_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with your project."}}}}}}},"summary":"Update Wallet Metadata","tags":["Smart Wallets"]}},"/api/v1/wallets/{walletAddress}/portfolio":{"get":{"description":"Get the portfolio of a smart wallet by its account abstraction address. The portfolio is a list of the user's balances in different tokens.","operationId":"GetPortfolioByAddressController_getPortfolioByAddress_v1","parameters":[{"name":"walletAddress","required":true,"in":"path","description":"Wallet address that you want to see the portfolio of\nAccepted formats:\n\n- **EVM**\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0xa7a9dcfcb65ed67e05d9c7eb49d2d74ce1f5f4f1`\n- **Bitcoin**\n  - pattern: `^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$`\n  - example: `bc1qgv5fuheq50ghnju8lafqvps7h96ztfjtcvmsnd`\n- **Stellar**\n  - pattern: `^G[A-Z2-7]{55}$`\n  - example: `GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA`\n- **Solana**\n  - pattern: `^[1-9A-HJ-NP-Za-km-z]{32,44}$`\n  - example: `HAgk14JpMQLgt6rVgv7cBQFJWFto5Dqxi472uT3DKpqk`","schema":{"oneOf":[{"title":"EVM Address","type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0xa7a9dcfcb65ed67e05d9c7eb49d2d74ce1f5f4f1"},{"title":"Bitcoin Address","type":"string","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$","example":"bc1qgv5fuheq50ghnju8lafqvps7h96ztfjtcvmsnd"},{"title":"Stellar Address","type":"string","pattern":"^G[A-Z2-7]{55}$","example":"GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA"},{"title":"Solana Address","type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","example":"HAgk14JpMQLgt6rVgv7cBQFJWFto5Dqxi472uT3DKpqk"}]}},{"name":"includeTokens","required":false,"in":"query","description":"Include ERC20 tokens balances in the output","schema":{"example":true,"type":"boolean"}},{"name":"includeNFTs","required":false,"in":"query","description":"Include NFTs in the output","schema":{"example":true,"type":"boolean"}},{"name":"includePnL","required":false,"in":"query","description":"Include profit and loss data in the output","schema":{"example":true,"type":"boolean"}},{"name":"includeLendingPositions","required":false,"in":"query","description":"Include DeFi borrow / debt positions (lending) in the output","schema":{"example":false,"type":"boolean"}},{"name":"timerange","required":false,"in":"query","description":"Timerange used to calculate profit and loss values. Only applies when `includePnL` is true.","schema":{"default":"1d","example":"1d","type":"string","enum":["1d","7d","1m","1a","all"]}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortfolioResponseDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"TOKENS_NOT_SUPPORTED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"TOKENS_NOT_SUPPORTED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"These tokens are not supported by the API:\n- 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee on Stellar"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NFT_METADATA_DECODE_FAILED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"NFT_METADATA_DECODE_FAILED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"An error occurred when trying to decode the metadata for an NFT."}}},{"type":"object","description":"FAILED_TO_GET_BALANCES","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FAILED_TO_GET_BALANCES"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to get balances. Please try again later."}}},{"type":"object","description":"FAILED_TO_GET_LENDING_POSITIONS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FAILED_TO_GET_LENDING_POSITIONS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to get lending positions. Please try again later."}}}]}}}}},"summary":"Get Smart Wallet Portfolio","tags":["Smart Wallets"]}},"/api/v1/wallets/{walletAddress}/portfolio/history":{"get":{"description":"The wallet's value at each day's close over a period, the last point now, and the account that explains it: started with + deposits − withdrawals + result = ended with. Built from every on-chain movement of the wallet, so it covers pools, lending and every supported chain. Days close at 00:00 America/Sao_Paulo; `1d`, and a history that started yesterday or today, go by the hour. A smart wallet the indexer never read is registered on the first call and returns INDEXING with its progress. Pass `chainId` and `token` for a single token's history.","operationId":"GetPortfolioHistoryController_getPortfolioHistory_v1","parameters":[{"name":"walletAddress","required":true,"in":"path","description":"Wallet address whose portfolio history you want\nAccepted formats:\n\n- **EVM**\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0xa7a9dcfcb65ed67e05d9c7eb49d2d74ce1f5f4f1`\n- **Bitcoin**\n  - pattern: `^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$`\n  - example: `bc1qgv5fuheq50ghnju8lafqvps7h96ztfjtcvmsnd`\n- **Stellar**\n  - pattern: `^G[A-Z2-7]{55}$`\n  - example: `GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA`","schema":{"oneOf":[{"title":"EVM Address","type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0xa7a9dcfcb65ed67e05d9c7eb49d2d74ce1f5f4f1"},{"title":"Bitcoin Address","type":"string","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$","example":"bc1qgv5fuheq50ghnju8lafqvps7h96ztfjtcvmsnd"},{"title":"Stellar Address","type":"string","pattern":"^G[A-Z2-7]{55}$","example":"GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA"}]}},{"name":"timerange","required":false,"in":"query","description":"Period ending now. `1a` is one year, `all` starts the day before the wallet first moved.","schema":{"default":"1m","example":"1m","type":"string","enum":["1d","7d","1m","3m","6m","1a","all"]}},{"name":"currency","required":false,"in":"query","description":"Currency of every value, converted at each day close rate","schema":{"default":"USD","example":"BRL","type":"string","enum":["USD","BRL"]}},{"name":"chainId","required":false,"in":"query","description":"Chain of `token`. Send both or neither.","schema":{"example":8453,"type":"number"}},{"name":"token","required":false,"in":"query","description":"Only this token (`0xeeee…eeee` for the native coin): its own history, where every movement of it is a deposit or a withdrawal and the result is what it earned by itself, e.g. a yield token interest.","schema":{"example":"0x4e65fe4dba92790696d040ac24aa414708f5c0ab","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortfolioHistoryResponseDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet is not registered with the project"}}}}}}},"summary":"Get Smart Wallet Portfolio History","tags":["Smart Wallets"]}},"/api/v1/wallets/{walletAddress}/liquidity-positions/{chainId}/{tokenId}/history":{"get":{"description":"A V3-style pool position's result since its first deposit and its daily value: current value + fees collected − fees charged − deposits + withdrawals. Positions linked by rebalances are one history, with each rebalance marked. Days close at 00:00 America/Sao_Paulo.","operationId":"GetLiquidityPositionHistoryController_getLiquidityPositionHistory_v1","parameters":[{"name":"walletAddress","required":true,"in":"path","description":"Smart wallet that holds the position","schema":{"example":"0xa7a9dcfcb65ed67e05d9c7eb49d2d74ce1f5f4f1","type":"string"}},{"name":"chainId","required":true,"in":"path","description":"Chain of the position","schema":{"example":137,"type":"number"}},{"name":"tokenId","required":true,"in":"path","description":"Position NFT id","schema":{"pattern":"^\\d+$","example":"2971077","type":"string"}},{"name":"timerange","required":false,"in":"query","description":"Period of the points. The summary is always since the start.","schema":{"default":"all","example":"1m","type":"string","enum":["1d","7d","1m","3m","6m","1a","all"]}},{"name":"currency","required":false,"in":"query","description":"Currency of every value, converted at each day close rate","schema":{"default":"USD","example":"BRL","type":"string","enum":["USD","BRL"]}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiquidityPositionHistoryResponseDTO"}}}},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"type":"object","description":"UNAVAILABLE_COMPUTE_UNITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403},"id":{"type":"string","description":"Our ID of the problem","example":"UNAVAILABLE_COMPUTE_UNITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The project doesn't have enough compute units to perform this action. Please upgrade your plan."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet is not registered with the project"}}},{"type":"object","description":"LIQUIDITY_POSITION_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"LIQUIDITY_POSITION_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The wallet never held liquidity position undefined on chain undefined."}}}]}}}}},"summary":"Get Liquidity Position History","tags":["Liquidity Pools"]}},"/api/v1/lending/quote":{"post":{"description":"Creates a lending quote using a unified payload. Supported now: LENDING_SUPPLY, LENDING_SUPPLY_BORROW, LENDING_BORROW, LENDING_REPAY, LENDING_WITHDRAW and LENDING_REPAY_WITHDRAW.","operationId":"CreateLendingQuoteController_handle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLendingQuoteDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LendingQuoteResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The tokens '[0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48]' are not supported by Notus API. "}}},{"type":"object","description":"MARKET_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"MARKET_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Market was not found for the supplied asset"}}},{"type":"object","description":"SUPPLY_QUOTE_EXCEPTION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"SUPPLY_QUOTE_EXCEPTION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to create supply quote"}}},{"type":"object","description":"BORROW_QUOTE_EXCEPTION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BORROW_QUOTE_EXCEPTION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to create borrow quote"}}},{"type":"object","description":"AMOUNT_TOO_LOW","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"AMOUNT_TOO_LOW"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Input amount is too low"}}},{"type":"object","description":"INSUFFICIENT_BALANCE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"INSUFFICIENT_BALANCE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Insufficient balance to create quote"}}},{"type":"object","description":"UNSUPPORTED_LENDING_OPERATION_EXCEPTION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"UNSUPPORTED_LENDING_OPERATION_EXCEPTION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Unsupported lending operation combination"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464\" is not registered with the project"}}}}}}},"summary":"Create Aave lending quote","tags":["Lending"]}},"/api/v1/fund/catalog":{"get":{"description":"Returns active curated Enzyme Blue and Onyx funds with editorial metadata, cached vault metrics (including investor count, top depositor percent, net deposits 30d), and the fund chain.","operationId":"ListFundsCatalogController_handle_v1","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListFundsCatalogResponseDTO"}}}}},"summary":"List curated fund catalog","tags":["Funds"]}},"/api/v1/fund/positions":{"get":{"description":"Returns curated fund positions for a smart wallet, including share balance, estimated USD value, approximate PnL, and pending deposit or redeem operations (including Enzyme Onyx requests awaiting the manager).","operationId":"GetFundPositionsController_handle_v1","parameters":[{"name":"walletAddress","required":true,"in":"query","description":"Smart wallet whose fund positions will be returned.","schema":{"example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListFundPositionsResponseDTO"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet is not registered with the project"}}}}}}},"summary":"List fund positions","tags":["Funds"]}},"/api/v1/fund/{fundId}/composition":{"get":{"description":"Returns the vault's current ERC-20 holdings with balances, CoinGecko prices, and allocation. Cached for 10 minutes.","operationId":"GetFundCompositionController_handle_v1","parameters":[{"name":"fundId","required":true,"in":"path","description":"Fund UUID or slug","schema":{"minLength":1,"example":"targen-vertex","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundCompositionResponseDTO"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"FUND_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund not found (id: undefined)."}}}}}},"502":{"description":"BAD_GATEWAY","content":{"application/json":{"schema":{"type":"object","description":"FUND_COMPOSITION_UNAVAILABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":502},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_COMPOSITION_UNAVAILABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Could not load live vault composition (id: undefined)."}}}}}}},"summary":"Get live fund vault composition","tags":["Funds"]}},"/api/v1/fund/{fundId}/performance-chart":{"get":{"description":"Returns period-aware aggregated share-price history for charting. Cached for 5 minutes.","operationId":"GetFundPerformanceChartController_handle_v1","parameters":[{"name":"fundId","required":true,"in":"path","description":"Fund UUID or slug","schema":{"minLength":1,"example":"targen-vertex","type":"string"}},{"name":"period","required":false,"in":"query","schema":{"default":"1m","type":"string","enum":["1d","7d","1m","3m","1y","all"]}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundPerformanceChartResponseDTO"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"FUND_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund not found (id: undefined)."}}}}}},"503":{"description":"SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"type":"object","description":"FUND_PERFORMANCE_HISTORY_UNAVAILABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":503},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_PERFORMANCE_HISTORY_UNAVAILABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund performance history is temporarily unavailable (id: undefined)."}}}}}}},"summary":"Get fund performance chart series","tags":["Funds"]}},"/api/v1/fund/{fundId}/results":{"get":{"description":"Returns computed returns, monthly grid, and 30d risk indicators from daily history since inception. Cached for 15 minutes.","operationId":"GetFundResultsController_handle_v1","parameters":[{"name":"fundId","required":true,"in":"path","description":"Fund UUID or slug","schema":{"minLength":1,"example":"targen-vertex","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundResultsResponseDTO"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"FUND_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund not found (id: undefined)."}}}}}},"503":{"description":"SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"type":"object","description":"FUND_PERFORMANCE_HISTORY_UNAVAILABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":503},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_PERFORMANCE_HISTORY_UNAVAILABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund performance history is temporarily unavailable (id: undefined)."}}}}}}},"summary":"Get fund performance results","tags":["Funds"]}},"/api/v1/fund/{fundId}/shares-lock":{"get":{"description":"Returns when this account can redeem or transfer shares again. Enzyme Blue reads the vault timelock and the account last-purchase time. Does not create a redeem quote.","operationId":"GetFundSharesLockController_handle_v1","parameters":[{"name":"fundId","required":true,"in":"path","description":"Fund UUID or slug","schema":{"minLength":1,"example":"targen-vertex","type":"string"}},{"name":"walletAddress","required":true,"in":"query","description":"Smart wallet whose shares lock-up will be read.","schema":{"example":"0x6E397DDf51D9f15DbE0414538e7529f51f2E5464","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFundSharesLockResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"type":"object","description":"FUND_CHAIN_NOT_SUPPORTED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_CHAIN_NOT_SUPPORTED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Chain 137 is not enabled for Enzyme Onyx funds."}}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund not found (id: undefined)."}}},{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet is not registered with the project"}}}]}}}}},"summary":"Read the shares lock-up for a wallet","tags":["Funds"]}},"/api/v1/fund/{fundId}":{"get":{"description":"Returns curated fund detail enriched with Enzyme Blue or Onyx vault metrics (AUM, share price, fees, performance, investor count, top depositor percent, net deposits 30d).","operationId":"GetFundDetailController_handle_v1","parameters":[{"name":"fundId","required":true,"in":"path","description":"Fund UUID or slug","schema":{"minLength":1,"example":"targen-vertex","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundDetailDTO"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"FUND_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund not found (id: undefined)."}}}}}}},"summary":"Get fund detail","tags":["Funds"]}},"/api/v1/fund/{fundId}/deposit/quote":{"post":{"description":"Creates a UserOperation to deposit into a curated Enzyme vault. Enzyme Blue settles immediately (approve + buyShares). Enzyme Onyx async settles as queued (approve + requestDeposit). Cross-chain deposits (chainIdIn different from the fund chain) are supported for Enzyme Onyx via Relay. The FUND_DEPOSIT fee is taken from the denomination asset. When tokenIn is swapped or bridged first, a SWAP fee is also taken from tokenIn. Optional gasFeePaymentMethod controls whether gas is added on top of or deducted from the matching asset. Execute with the existing crypto execute-user-op endpoint.","operationId":"CreateFundDepositQuoteController_handle_v1","parameters":[{"name":"fundId","required":true,"in":"path","description":"Fund UUID or slug","schema":{"minLength":1,"example":"targen-vertex","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFundDepositQuoteBodyDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundDepositQuoteResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_NOT_ACTIVE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_NOT_ACTIVE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund is not accepting deposits (id: undefined)."}}},{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"FUND_DEPOSIT_AMOUNT_TOO_LOW","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_DEPOSIT_AMOUNT_TOO_LOW"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Deposit amount is below the minimum."}}},{"type":"object","description":"FUND_CROSS_CHAIN_DEPOSIT_NOT_SUPPORTED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_CROSS_CHAIN_DEPOSIT_NOT_SUPPORTED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Cross-chain fund deposits are only supported for Enzyme Onyx funds."}}},{"type":"object","description":"FUND_DEPOSIT_SWAP_ROUTE_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_DEPOSIT_SWAP_ROUTE_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"No acceptable swap route was found to convert the input token into the fund denomination asset."}}},{"type":"object","description":"FUND_DEPOSIT_MIN_SHARES_TOO_LOW","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_DEPOSIT_MIN_SHARES_TOO_LOW"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Calculated minShares is too low for this deposit amount."}}},{"type":"object","description":"FUND_CHAIN_NOT_SUPPORTED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_CHAIN_NOT_SUPPORTED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Chain 137 is not enabled for Enzyme Onyx funds."}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund not found (id: undefined)."}}},{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet is not registered with the project"}}}]}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_COMPTROLLER_NOT_CONFIGURED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_COMPTROLLER_NOT_CONFIGURED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Vault comptroller address is not configured."}}},{"type":"object","description":"FUND_QUEUE_NOT_CONFIGURED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_QUEUE_NOT_CONFIGURED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Vault deposit or redeem queue address is not configured."}}}]}}}},"503":{"description":"SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_SHARE_PRICE_UNAVAILABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":503},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_SHARE_PRICE_UNAVAILABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Vault share price is unavailable; cannot quote the deposit."}}},{"type":"object","description":"FUND_COMPTROLLER_LOOKUP_FAILED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":503},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_COMPTROLLER_LOOKUP_FAILED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to resolve the Enzyme comptroller from the vault."}}}]}}}}},"summary":"Quote a fund deposit","tags":["Funds"]}},"/api/v1/fund/{fundId}/redeem/quote":{"post":{"description":"Creates a UserOperation to redeem shares from a curated Enzyme vault. Enzyme Blue first redeems into the denomination asset with redeemSharesForSpecificAssets. If that call reverts because the vault does not hold enough of the denomination asset, it redeems in kind with redeemSharesInKind and swaps every received asset into the denomination asset, charging no Notus fee on those swaps. The FUND_REDEEM fee is still taken from the denomination asset. Enzyme Onyx async settles as queued (approve + requestRedeem) and takes the fee from vault shares. Optional gasFeePaymentMethod controls whether gas is added on top of or deducted from the matching asset. Execute with the existing crypto execute-user-op endpoint.","operationId":"CreateFundRedeemQuoteController_handle_v1","parameters":[{"name":"fundId","required":true,"in":"path","description":"Fund UUID or slug","schema":{"minLength":1,"example":"targen-vertex","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFundRedeemQuoteBodyDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundRedeemQuoteResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_REDEEM_NOT_AVAILABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_REDEEM_NOT_AVAILABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund is not accepting redemptions (id: undefined)."}}},{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}},{"type":"object","description":"FUND_REDEEM_AMOUNT_TOO_LOW","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_REDEEM_AMOUNT_TOO_LOW"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Redeem amount after fees is too low."}}},{"type":"object","description":"FUND_REDEEM_INSUFFICIENT_SHARES","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_REDEEM_INSUFFICIENT_SHARES"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Wallet does not hold enough vault shares to redeem."}}},{"type":"object","description":"FUND_REDEEM_SHARES_LOCKED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_REDEEM_SHARES_LOCKED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"These shares are still in the lock-up period and cannot be redeemed yet."}}},{"type":"object","description":"FUND_REDEEM_SWAP_ROUTE_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_REDEEM_SWAP_ROUTE_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"No acceptable swap route was found to convert the redeemed assets into the fund denomination asset."}}},{"type":"object","description":"FUND_CHAIN_NOT_SUPPORTED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_CHAIN_NOT_SUPPORTED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Chain 137 is not enabled for Enzyme Onyx funds."}}},{"type":"object","description":"FUND_GAS_DEDUCT_FROM_AMOUNT_NOT_SUPPORTED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_GAS_DEDUCT_FROM_AMOUNT_NOT_SUPPORTED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"DEDUCT_FROM_AMOUNT is only supported on Enzyme Onyx when payGasFeeToken is the vault share token."}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund not found (id: undefined)."}}},{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet is not registered with the project"}}}]}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_COMPTROLLER_NOT_CONFIGURED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_COMPTROLLER_NOT_CONFIGURED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Vault comptroller address is not configured."}}},{"type":"object","description":"FUND_QUEUE_NOT_CONFIGURED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_QUEUE_NOT_CONFIGURED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Vault deposit or redeem queue address is not configured."}}}]}}}},"503":{"description":"SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_REDEEM_IN_KIND_UNAVAILABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":503},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_REDEEM_IN_KIND_UNAVAILABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Could not quote an in-kind redemption for this vault."}}},{"type":"object","description":"FUND_SHARE_PRICE_UNAVAILABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":503},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_SHARE_PRICE_UNAVAILABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Vault share price is unavailable; cannot quote the deposit."}}},{"type":"object","description":"FUND_COMPTROLLER_LOOKUP_FAILED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":503},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_COMPTROLLER_LOOKUP_FAILED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to resolve the Enzyme comptroller from the vault."}}}]}}}}},"summary":"Quote a fund redeem","tags":["Funds"]}},"/api/v1/fund/operations/{userOperationHash}/cancel":{"post":{"description":"Creates a UserOperation to cancel an Enzyme Onyx deposit or redeem request after canCancelAt. The original operation must be awaiting the manager. Execute with the existing crypto execute-user-op endpoint.","operationId":"CreateFundCancelQuoteController_handle_v1","parameters":[{"name":"userOperationHash","required":true,"in":"path","description":"User operation hash of the queued Enzyme Onyx deposit or redeem awaiting the manager.","schema":{"pattern":"^0x[a-fA-F0-9]{64}$","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFundCancelQuoteBodyDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundCancelQuoteResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_OPERATION_NOT_CANCELLABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_OPERATION_NOT_CANCELLABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This fund operation cannot be cancelled. Only Enzyme Onyx requests awaiting the manager can be cancelled."}}},{"type":"object","description":"FUND_CANCEL_NOT_YET_AVAILABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_CANCEL_NOT_YET_AVAILABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This request cannot be cancelled until 2026-08-04T16:30:00.000Z (vault min request duration)."}}},{"type":"object","description":"NOT_AUTHORIZED_TOKENS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"NOT_AUTHORIZED_TOKENS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":""}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FUND_OPERATION_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"FUND_OPERATION_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fund operation not found (id: 0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1)."}}},{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet is not registered with the project"}}}]}}}}},"summary":"Quote a cancel of a queued fund request","tags":["Funds"]}},"/api/v2/fiat/quote":{"post":{"description":"This endpoint creates a fiat quote for both deposit and withdrawal operations.","operationId":"createFiatQuote","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteFiatDTO"}}}},"responses":{"201":{"description":"The fiat quote has been created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiatQuoteV2ResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"CRYPTO_TOKEN_NOT_SUPPORTED_ON_CHAIN_WITH_ALTERNATIVES","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"CRYPTO_TOKEN_NOT_SUPPORTED_ON_CHAIN_WITH_ALTERNATIVES"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The token 'undefined' is not supported on any fiat chains"}}},{"type":"object","description":"FEES_NOT_AVAILABLE_FOR_DEPOSITS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FEES_NOT_AVAILABLE_FOR_DEPOSITS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fees are only available for withdrawals, not deposits"}}},{"type":"object","description":"FIAT_PROVIDER_NOT_SUPPORTED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FIAT_PROVIDER_NOT_SUPPORTED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested fiat provider does not support this operation"}}},{"type":"object","description":"COULD_NOT_DECODE_BRCODE_EXCEPTION","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"COULD_NOT_DECODE_BRCODE_EXCEPTION"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Could not decode BRCode"}}},{"type":"object","description":"BR_CODE_AMOUNT_REQUIRED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BR_CODE_AMOUNT_REQUIRED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This BR Code has no amount written in it: send the amount to pay in `to.amount`"}}},{"type":"object","description":"BR_CODE_NOT_PAYABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BR_CODE_NOT_PAYABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This Pix charge can no longer be paid: it was already paid or has expired"}}},{"type":"object","description":"PIX_QR_CODE_RECEIVER_NOT_COMPANY","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"PIX_QR_CODE_RECEIVER_NOT_COMPANY"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"A Pix QR code can only pay a company (CNPJ)"}}},{"type":"object","description":"PIX_QR_CODE_RECEIVER_UNKNOWN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"PIX_QR_CODE_RECEIVER_UNKNOWN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Nobody confirmed who this Pix QR code pays, so it cannot be paid: a code is paid only when the provider looks up its payee and finds a company (CNPJ)"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet is not registered with the project"}}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"FAILED_TO_GET_FIAT_QUOTE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FAILED_TO_GET_FIAT_QUOTE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to get fiat quote"}}}}}}},"summary":"Create Fiat Quote","tags":["Fiat"]}},"/api/v2/fiat/deposit":{"post":{"description":"This endpoint creates a fiat deposit order for a given quote id.","operationId":"createFiatDepositOrder","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiatDepositOrderDTO"}}}},"responses":{"201":{"description":"The fiat deposit order has been created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiatDepositOrderV2ResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FIAT_QUOTE_EXPIRED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FIAT_QUOTE_EXPIRED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fiat quote expired"}}},{"type":"object","description":"FIAT_ORDER_ALREADY_EXISTS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FIAT_ORDER_ALREADY_EXISTS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fiat order already exists"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FIAT_QUOTE_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"FIAT_QUOTE_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fiat quote not found"}}},{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x335e110f9aa64deef43b646b4bdf90aac3c7844c\" is not registered with the project"}}}]}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"FAILED_TO_CREATE_FIAT_DEPOSIT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FAILED_TO_CREATE_FIAT_DEPOSIT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to create fiat deposit"}}}}}}},"summary":"Create Fiat Deposit Order","tags":["Fiat"]}},"/api/v2/fiat/withdrawal":{"post":{"description":"This endpoint creates a fiat withdrawal order for a given quote id with enhanced payment method options.","operationId":"createFiatWithdrawalOrder","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiatWithdrawalOrderDTO"}}}},"responses":{"201":{"description":"The fiat withdrawal order has been created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiatWithdrawalOrderV2ResponseDTO"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FIAT_QUOTE_EXPIRED","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FIAT_QUOTE_EXPIRED"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fiat quote expired"}}},{"type":"object","description":"FIAT_ORDER_ALREADY_EXISTS","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"FIAT_ORDER_ALREADY_EXISTS"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fiat order already exists"}}},{"type":"object","description":"PIX_KEY_NOT_HOLDER","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"PIX_KEY_NOT_HOLDER"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This Pix key is registered to another document: withdrawals only pay keys in your own CPF"}}},{"type":"object","description":"PIX_QR_CODE_RECEIVER_NOT_COMPANY","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"PIX_QR_CODE_RECEIVER_NOT_COMPANY"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"A Pix QR code can only pay a company (CNPJ)"}}},{"type":"object","description":"PIX_QR_CODE_RECEIVER_UNKNOWN","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"PIX_QR_CODE_RECEIVER_UNKNOWN"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Nobody confirmed who this Pix QR code pays, so it cannot be paid: a code is paid only when the provider looks up its payee and finds a company (CNPJ)"}}},{"type":"object","description":"BR_CODE_NOT_PAYABLE","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400},"id":{"type":"string","description":"Our ID of the problem","example":"BR_CODE_NOT_PAYABLE"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"This Pix charge can no longer be paid: it was already paid or has expired"}}}]}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"FIAT_QUOTE_NOT_FOUND","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"FIAT_QUOTE_NOT_FOUND"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Fiat quote not found"}}},{"type":"object","description":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404},"id":{"type":"string","description":"Our ID of the problem","example":"ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"The requested wallet \"0x335e110f9aa64deef43b646b4bdf90aac3c7844c\" is not registered with the project"}}}]}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"type":"object","description":"FAILED_TO_CREATE_FIAT_WITHDRAW","required":["statusCode","id","message"],"properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500},"id":{"type":"string","description":"Our ID of the problem","example":"FAILED_TO_CREATE_FIAT_WITHDRAW"},"message":{"type":"string","description":"A human readable message that explains the problem","example":"Failed to create fiat withdrawal"}}}}}}},"summary":"Create Fiat Withdrawal Order","tags":["Fiat"]}},"/api/v1/fiat/brcode/preview":{"get":{"deprecated":true,"description":"**DEPRECATED**: Removed in API version `2026-11-27`. Send `brCode` on the fiat quote instead: it answers what is written in the code, who the Pix network says the code pays and the price of paying it.\n\nDecodes a PIX BRCode string and returns the extracted information such as merchant name, PIX key, amount, etc.","operationId":"PreviewBRCodeController_handle_v1","parameters":[{"name":"brCode","required":true,"in":"query","schema":{"minLength":1,"type":"string"}}],"responses":{"200":{"description":"The decoded BRCode information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecodedBRCodeDTO"}}}}},"summary":"Preview a PIX BRCode (QR Code)","tags":["Fiat"]}},"/api/v1/kyc/identities/{identityId}/providers":{"get":{"description":"Lists each ramp provider with its KYC status for the individual or business, what it has to do next (`action`), the retries left and what the provider unlocks (assets, chains, payment methods and operations).","operationId":"getIdentityProviders","parameters":[{"name":"identityId","required":true,"in":"path","description":"The ID of an individual or a business","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIdentityProvidersResponseDTO"}}}}},"summary":"Get the ramp providers of an individual or a business","tags":["Know Your Customer"]}},"/api/v1/kyc/individuals/{individualId}/verification-sessions":{"post":{"description":"Creates a new standard verification session for an individual that already passed KYC, when a provider needs new data or rejected it with a retry (see `GET /kyc/identities/{identityId}/providers`). Name, birth date and document default to the approved verification; the session always requires liveness. Upload the documents, run the liveness and process the session as with a standard session. A pending session whose liveness has not started is expired and replaced, so the individual can pick another document. Returns 409 when no provider needs it, the retries are exhausted, or a session is in progress (liveness started or processing) or waiting for manual review.","operationId":"createIndividualReverification","parameters":[{"name":"individualId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIndividualReverificationDTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStandardIndividualVerificationResponseDTO"}}}}},"summary":"Verify an existing individual again","tags":["Know Your Customer"]}}},"info":{"title":"Notus API","description":"\n- The **Notus API** offers functionalities related to the creation and management of smart wallets in the **ERC-4337** standard, facilitating the implementation of **UserOperations** and **Paymaster Data**.\n- It enables fintechs and other services to integrate crypto assets into their offerings in a simple and flexible way, while managing wallets according to the specific needs of their customers.\n- It provides routes for **swap** and **cross-swap**.\n- It offers direct access to **wallet indexing**.\n- It facilitates the collection of wallet data and on-chain interactions, seamlessly integrating crypto into existing products.","version":"1.0","contact":{}},"tags":[{"name":"Swaps","description":"Endpoints for executing token swaps."},{"name":"Transfers","description":"Endpoints for executing token transfers."},{"name":"User Operations","description":"Endpoints for managing and executing user operations."},{"name":"Blockchain","description":"Endpoints for retrieving blockchain-related information like chains and tokens."},{"name":"Smart Wallets","description":"Endpoints for managing smart wallets, including registration, retrieval, portfolio management, and transaction history."},{"name":"Liquidity Pools","description":"Endpoints for managing liquidity pools, including creation, modification, and amount retrieval."},{"name":"Lending","description":"Endpoints for lending operations with Aave V3."},{"name":"Funds","description":"Endpoints for curated onchain investment funds (Enzyme Blue catalog)."},{"name":"Know Your Customer","description":"Endpoints for managing Know Your Customer (KYC) data."},{"name":"Fiat","description":"Endpoints to create off-ramp and on-ramp transactions."}],"servers":[{"url":"https://api.notus.team"}],"components":{"securitySchemes":{"x-api-key":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"CreateStandardIndividualVerificationDTO":{"type":"object","properties":{"firstName":{"type":"string","description":"The first name of the individual"},"lastName":{"type":"string","description":"The last name of the individual"},"birthDate":{"type":"string","description":"The birth date of the individual in DD/MM/YYYY format."},"documentCategory":{"type":"string","enum":["PASSPORT","DRIVERS_LICENSE","IDENTITY_CARD"],"description":"The category of the identity document."},"documentCountry":{"type":"string","enum":["BRAZIL","AFGHANISTAN","ALBANIA","ALGERIA","AMERICAN_SAMOA","ANDORRA","ANGOLA","ANGUILLA","ANTARCTICA","ANTIGUA_AND_BARBUDA","ARGENTINA","ARMENIA","ARUBA","AUSTRALIA","AUSTRIA","AZERBAIJAN","BAHAMAS","BAHRAIN","BANGLADESH","BARBADOS","BELARUS","BELGIUM","BELIZE","BENIN","BERMUDA","BHUTAN","BOLIVIA","BONAIRE_SINT_EUSTATIUS_AND_SABA","BOSNIA_AND_HERZEGOVINA","BOTSWANA","BOUVET_ISLAND","BRITISH_INDIAN_OCEAN_TERRITORY","BRUNEI_DARUSSALAM","BULGARIA","BURKINA_FASO","BURUNDI","CABO_VERDE","CAMBODIA","CAMEROON","CANADA","CAYMAN_ISLANDS","CENTRAL_AFRICAN_REPUBLIC","CHAD","CHILE","CHINA","CHRISTMAS_ISLAND","COCOS_KEELING_ISLANDS","COLOMBIA","COMOROS","CONGO_DEMOCRATIC_REPUBLIC","CONGO_REPUBLIC","COOK_ISLANDS","COSTA_RICA","CROATIA","CUBA","CURACAO","CYPRUS","CZECH_REPUBLIC","COTE_DIVOIRE","DENMARK","DJIBOUTI","DOMINICA","DOMINICAN_REPUBLIC","ECUADOR","EGYPT","EL_SALVADOR","EQUATORIAL_GUINEA","ERITREA","ESTONIA","ESWATINI","ETHIOPIA","FALKLAND_ISLANDS","FAROE_ISLANDS","FIJI","FINLAND","FRANCE","FRENCH_GUIANA","FRENCH_POLYNESIA","FRENCH_SOUTHERN_TERRITORIES","GABON","GAMBIA","GEORGIA","GERMANY","GHANA","GIBRALTAR","GREECE","GREENLAND","GRENADA","GUADELOUPE","GUAM","GUATEMALA","GUERNSEY","GUINEA","GUINEA_BISSAU","GUYANA","HAITI","HEARD_ISLAND_AND_MCDONALD_ISLANDS","HOLY_SEE","HONDURAS","HONG_KONG","HUNGARY","ICELAND","INDIA","INDONESIA","IRAN","IRAQ","IRELAND","ISLE_OF_MAN","ISRAEL","ITALY","JAMAICA","JAPAN","JERSEY","JORDAN","KAZAKHSTAN","KENYA","KIRIBATI","NORTH_KOREA","SOUTH_KOREA","KUWAIT","KYRGYZSTAN","LAOS","LATVIA","LEBANON","LESOTHO","LIBERIA","LIBYA","LIECHTENSTEIN","LITHUANIA","LUXEMBOURG","MACAO","MADAGASCAR","MALAWI","MALAYSIA","MALDIVES","MALI","MALTA","MARSHALL_ISLANDS","MARTINIQUE","MAURITANIA","MAURITIUS","MAYOTTE","MEXICO","MICRONESIA","MOLDOVA","MONACO","MONGOLIA","MONTENEGRO","MONTSERRAT","MOROCCO","MOZAMBIQUE","MYANMAR","NAMIBIA","NAURU","NEPAL","NETHERLANDS","NEW_CALEDONIA","NEW_ZEALAND","NICARAGUA","NIGER","NIGERIA","NIUE","NORFOLK_ISLAND","NORTHERN_MARIANA_ISLANDS","NORWAY","OMAN","PAKISTAN","PALAU","PALESTINE","PANAMA","PAPUA_NEW_GUINEA","PARAGUAY","PERU","PHILIPPINES","PITCAIRN","POLAND","PORTUGAL","PUERTO_RICO","QATAR","NORTH_MACEDONIA","ROMANIA","RUSSIA","RWANDA","REUNION","SAINT_BARTHELEMY","SAINT_HELENA_ASCENSION_AND_TRISTAN_DA_CUNHA","SAINT_KITTS_AND_NEVIS","SAINT_LUCIA","SAINT_MARTIN","SAINT_PIERRE_AND_MIQUELON","SAINT_VINCENT_AND_THE_GRENADINES","SAMOA","SAN_MARINO","SAO_TOME_AND_PRINCIPE","SAUDI_ARABIA","SENEGAL","SERBIA","SEYCHELLES","SIERRA_LEONE","SINGAPORE","SINT_MAARTEN","SLOVAKIA","SLOVENIA","SOLOMON_ISLANDS","SOMALIA","SOUTH_AFRICA","SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS","SOUTH_SUDAN","SPAIN","SRI_LANKA","SUDAN","SURINAME","SVALBARD_AND_JAN_MAYEN","SWEDEN","SWITZERLAND","SYRIAN_ARAB_REPUBLIC","TAIWAN","TAJIKISTAN","TANZANIA","THAILAND","TIMOR_LESTE","TOGO","TOKELAU","TONGA","TRINIDAD_AND_TOBAGO","TUNISIA","TURKEY","TURKMENISTAN","TURKS_AND_CAICOS_ISLANDS","TUVALU","UGANDA","UKRAINE","UNITED_ARAB_EMIRATES","UNITED_KINGDOM","UNITED_STATES_MINOR_OUTLYING_ISLANDS","UNITED_STATES","URUGUAY","UZBEKISTAN","VANUATU","VENEZUELA","VIETNAM","BRITISH_VIRGIN_ISLANDS","US_VIRGIN_ISLANDS","WALLIS_AND_FUTUNA","WESTERN_SAHARA","YEMEN","ZAMBIA","ZIMBABWE"],"description":"The country that issued the document"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}},"documentId":{"type":"string","pattern":"^\\d+$","description":"The document ID is the CPF (Cadastro de Pessoas Físicas) of the individual"},"nationality":{"description":"The nationality of the individual","type":"string","enum":["AFGHAN","ALBANIAN","ALGERIAN","AMERICAN","AMERICANSAMOAN","ANDORRAN","ANGOLAN","ANGUILLIAN","ANTIGUANS","ANTARCTICAN","ARGENTINEAN","ARUBAN","ARMENIAN","AUSTRALIAN","AUSTRIAN","AZERBAIJANI","BAHAMIAN","BAHRAINI","BANGLADESHI","BARBADIAN","BARBUDANS","BATSWANA","BELARUSIAN","BELGIAN","BELIZEAN","BENINESE","BERMUDIAN","BHUTANESE","BOLIVIAN","BOSNIAN","BRAZILIAN","BRITISH","BRITISHINDIANOCEANTERRITORY","BRUNEIAN","BULGARIAN","BURKINABE","BURMESE","BURUNDIAN","CAMBODIAN","CAMEROONIAN","CANADIAN","CAPEVERDEAN","CAYMANISLANDER","CENTRALAFRICAN","CHADIAN","CHILEAN","CHINESE","CHRISTMASISLANDER","COCOSKEELINGISLANDER","COLOMBIAN","COMORAN","CONGOLESE","CONGOLESEREPUBLIC","COOKISLANDER","COSTARICAN","CROATIAN","CUBAN","CYPRIOT","CZECH","DANISH","DJIBOUTI","DOMINICAN","DOMINICANREPUBLIC","DUTCH","EASTTIMORESE","ECUADOREAN","EGYPTIAN","EMIRIAN","EQUATORIALGUINEAN","ERITREAN","ESTONIAN","ETHIOPIAN","FALKLANDISLANDER","FAROEISLANDER","FIJIAN","FILIPINO","FINNISH","FRENCH","FRENCHGUIANESE","FRENCHPOLYNESIAN","FRENCHSOUTHERNTERRITORIES","GABONESE","GAMBIAN","GEORGIAN","GERMAN","GHANAIAN","GIBRALTARIAN","GREEK","GREENLANDER","GRENADIAN","GUADELOUPEAN","GUAMANIAN","GUATEMALAN","GUERNSEYAN","GUINEABISSAUAN","GUINEAN","GUYANESE","HAITIAN","HEARDISLANDER","HERZEGOVINIAN","HONGKONGER","HONDURAN","HUNGARIAN","ICELANDER","INDIAN","INDONESIAN","IRANIAN","IRAQI","IRISH","ISLEOFMAN","ISRAELI","ITALIAN","IVORIAN","JAMAICAN","JAPANESE","JERSEYAN","JORDANIAN","KAZAKHSTANI","KENYAN","KIRIBATI","KITTIAN","KUWAITI","KYRGYZ","LAOTIAN","LATVIAN","LEBANESE","LIBERIAN","LIBYAN","LIECHTENSTEINER","LITHUANIAN","LUXEMBOURGER","MACANESE","MACEDONIAN","MALAGASY","MALAWIAN","MALAYSIAN","MALDIVIAN","MALIAN","MALTESE","MARSHALLESE","MARTINIQUAIS","MAURITANIAN","MAURITIAN","MAYOTTEAN","MEXICAN","MICRONESIAN","MOLDOVAN","MONACAN","MONGOLIAN","MONTENEGRIN","MONTSERRATIAN","MOROCCAN","MOSOTHO","MOTSWANA","MOZAMBICAN","MYANMARESE","NAMIBIAN","NAURUAN","NEPALESE","NEWCALEDONIAN","NEWZEALANDER","NICARAGUAN","NIGERIAN","NIGERIEN","NIUEAN","NORFOLKISLANDER","NORTHERNMARIANA","NORTHKOREAN","NORTHERNIRISH","NORWEGIAN","OMANI","PAKISTANI","PALAUAN","PALESTINIAN","PANAMANIAN","PAPUANEWGUINEAN","PARAGUAYAN","PERUVIAN","PITCAIRNISLANDER","POLISH","PORTUGUESE","PUERTORICAN","QATARI","REUNIONESE","ROMANIAN","RUSSIAN","RWANDAN","SAINTBARTHELEMIAN","SAINTHELENIAN","SAINTKITTIAN","SAINTLUCIAN","SAINTMARTINOIS","SAINTPIERREAN","SAINTVINCENTIAN","SALVADORAN","SAMOAN","SANMARINESE","SAOTOMEAN","SAUDI","SCOTTISH","SENEGALESE","SERBIAN","SEYCHELLOIS","SIERRALEONEAN","SINGAPOREAN","SINTMAARTENER","SLOVAKIAN","SLOVENIAN","SOLOMONISLANDER","SOMALI","SOUTHAFRICAN","SOUTHGEORGIAN","SOUTHKOREAN","SOUTHSUDANESE","SPANISH","SRILANKAN","SUDANESE","SURINAMER","SVALBARDER","SWAZI","SWEDISH","SWISS","SYRIAN","TAIWANESE","TAJIK","TANZANIAN","THAI","TOGOLESE","TOKELAUAN","TONGAN","TRINIDADIAN","TUNISIAN","TURKISH","TURKMEN","TURKSANDCAICOSISLANDER","TUVALUAN","UGANDAN","UKRAINIAN","URUGUAYAN","UZBEKISTANI","VANUATUAN","VENEZUELAN","VIETNAMESE","WELSH","WALLISANDFUTUNAN","WESTERNSAHARAN","YEMENITE","ZAMBIAN","ZIMBABWEAN"]},"livenessRequired":{"type":"boolean","description":"Whether liveness detection is required for this verification session"},"preFlight":{"default":false,"description":"When enabled, performs an identity database screening before creating the session. This validates the provided information (name and birth date) against official records using the document ID. If the data does not match, the session will be created with a FAILED status. This check only runs for Brazilian documents (CPF); for other countries it is skipped. Defaults to false.","type":"boolean"},"email":{"description":"The email address of the individual.","type":"string"},"address":{"description":"The street address of the individual.","type":"string"},"city":{"description":"The city of residence.","type":"string"},"state":{"description":"The state or province of residence.","type":"string"},"postalCode":{"description":"The postal code.","type":"string"},"phoneNumber":{"description":"The phone number of the individual.","type":"string"},"limits":{"type":"object","properties":{"monthlyLimit":{"type":"number"},"dailyLimit":{"type":"number"},"quarterlyLimit":{"type":"number"}},"description":"Sets a custom financial limit for the individual. If not provided, the default limit will be used."}},"required":["firstName","lastName","birthDate","documentCategory","documentCountry","documentId","livenessRequired"]},"CreateStandardIndividualVerificationResponseDTO":{"type":"object","properties":{"session":{"type":"object","properties":{"id":{"type":"string"},"individualId":{"type":"string","nullable":true},"status":{"type":"string","enum":["PENDING","PROCESSING","VERIFYING","COMPLETED","FAILED","EXPIRED","PENDING_MANUAL_REVIEW"]},"livenessRequired":{"type":"boolean"},"preFlight":{"type":"boolean"},"failureReason":{"type":"string","nullable":true},"firstName":{"type":"string"},"lastName":{"type":"string"},"birthDate":{"type":"string"},"document":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","nullable":true},"category":{"type":"string"}},"required":["id","type","category"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true}},"required":["id","individualId","status","livenessRequired","preFlight","failureReason","firstName","lastName","birthDate","document","createdAt","updatedAt"]},"backDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}},"required":["url","fields"],"description":"Upload details for the back of the document.\n\nAccepted formats: PNG (.png) or JPEG (.jpg, .jpeg).\nMaximum file size: 25 MB","nullable":true},"frontDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}},"required":["url","fields"],"description":"Upload details for the front of the document.\n\nAccepted formats: PNG (.png) or JPEG (.jpg, .jpeg).\nMaximum file size: 25 MB"}},"required":["session","backDocumentUpload","frontDocumentUpload"]},"GetStandardIndividualVerificationSessionResultResponseDTO":{"type":"object","properties":{"session":{"type":"object","properties":{"id":{"type":"string"},"individualId":{"type":"string","nullable":true},"status":{"type":"string","enum":["PENDING","PROCESSING","VERIFYING","COMPLETED","FAILED","EXPIRED","PENDING_MANUAL_REVIEW"]},"livenessRequired":{"type":"boolean"},"preFlight":{"type":"boolean"},"failureReason":{"type":"string","nullable":true},"firstName":{"type":"string"},"lastName":{"type":"string"},"birthDate":{"type":"string"},"document":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","nullable":true},"category":{"type":"string"}},"required":["id","type","category"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true}},"required":["id","individualId","status","livenessRequired","preFlight","failureReason","firstName","lastName","birthDate","document","createdAt","updatedAt"]}},"required":["session"]},"CreateEnhancedIndividualVerificationDTO":{"type":"object","properties":{"documentId":{"type":"string","pattern":"^\\d+$","description":"The document ID is the CPF (Cadastro de Pessoas Físicas) of the individual"},"sourceOfFundsDocType":{"type":"string","enum":["BUSINESS_INCOME","GAMBLING_PROCEEDS","GIFTS","GOVERNMENT_BENEFITS","INHERITANCE","INVESTMENT_LOANS","PENSION_RETIREMENT","SALARY","SALE_OF_ASSETS_REAL_ESTATE","SAVINGS","ESOPs","INVESTMENT_PROCEEDS","SOMEONE_ELSE_FUNDS"],"description":"The type of document that proves the source of funds (e.g., SALARY_SLIP, BANK_STATEMENT, INVESTMENT_INCOME)"},"purposeOfTransactions":{"type":"string","enum":["BUSINESS_TRANSACTIONS","CHARITABLE_DONATIONS","INVESTMENT_PURPOSES","PAYMENTS_TO_FRIENDS_OR_FAMILY_ABROAD","PERSONAL_OR_LIVING_EXPENSES","PROTECT_WEALTH","PURCHASE_GOOD_AND_SERVICES","RECEIVE_PAYMENT_FOR_FREELANCING","RECEIVE_SALARY","OTHER"],"description":"The intended purpose for using the platform (e.g., INVESTMENT, TRADING, SAVINGS)"},"proofOfAddressDocType":{"type":"string","enum":["UTILITY_BILL","BANK_STATEMENT","RENTAL_AGREEMENT","TAX_DOCUMENT","GOVERNMENT_CORRESPONDENCE"],"description":"The type of document that proves the residential address (e.g., UTILITY_BILL, BANK_STATEMENT, GOVERNMENT_LETTER)"},"purposeOfTransactionsExplanation":{"type":"string","description":"A detailed explanation of the purpose of transactions on the platform"},"documentCategory":{"description":"The category of the identity document.","type":"string","enum":["PASSPORT","DRIVERS_LICENSE","IDENTITY_CARD"]},"documentCountry":{"description":"The country that issued the document.","type":"string","enum":["BRAZIL","AFGHANISTAN","ALBANIA","ALGERIA","AMERICAN_SAMOA","ANDORRA","ANGOLA","ANGUILLA","ANTARCTICA","ANTIGUA_AND_BARBUDA","ARGENTINA","ARMENIA","ARUBA","AUSTRALIA","AUSTRIA","AZERBAIJAN","BAHAMAS","BAHRAIN","BANGLADESH","BARBADOS","BELARUS","BELGIUM","BELIZE","BENIN","BERMUDA","BHUTAN","BOLIVIA","BONAIRE_SINT_EUSTATIUS_AND_SABA","BOSNIA_AND_HERZEGOVINA","BOTSWANA","BOUVET_ISLAND","BRITISH_INDIAN_OCEAN_TERRITORY","BRUNEI_DARUSSALAM","BULGARIA","BURKINA_FASO","BURUNDI","CABO_VERDE","CAMBODIA","CAMEROON","CANADA","CAYMAN_ISLANDS","CENTRAL_AFRICAN_REPUBLIC","CHAD","CHILE","CHINA","CHRISTMAS_ISLAND","COCOS_KEELING_ISLANDS","COLOMBIA","COMOROS","CONGO_DEMOCRATIC_REPUBLIC","CONGO_REPUBLIC","COOK_ISLANDS","COSTA_RICA","CROATIA","CUBA","CURACAO","CYPRUS","CZECH_REPUBLIC","COTE_DIVOIRE","DENMARK","DJIBOUTI","DOMINICA","DOMINICAN_REPUBLIC","ECUADOR","EGYPT","EL_SALVADOR","EQUATORIAL_GUINEA","ERITREA","ESTONIA","ESWATINI","ETHIOPIA","FALKLAND_ISLANDS","FAROE_ISLANDS","FIJI","FINLAND","FRANCE","FRENCH_GUIANA","FRENCH_POLYNESIA","FRENCH_SOUTHERN_TERRITORIES","GABON","GAMBIA","GEORGIA","GERMANY","GHANA","GIBRALTAR","GREECE","GREENLAND","GRENADA","GUADELOUPE","GUAM","GUATEMALA","GUERNSEY","GUINEA","GUINEA_BISSAU","GUYANA","HAITI","HEARD_ISLAND_AND_MCDONALD_ISLANDS","HOLY_SEE","HONDURAS","HONG_KONG","HUNGARY","ICELAND","INDIA","INDONESIA","IRAN","IRAQ","IRELAND","ISLE_OF_MAN","ISRAEL","ITALY","JAMAICA","JAPAN","JERSEY","JORDAN","KAZAKHSTAN","KENYA","KIRIBATI","NORTH_KOREA","SOUTH_KOREA","KUWAIT","KYRGYZSTAN","LAOS","LATVIA","LEBANON","LESOTHO","LIBERIA","LIBYA","LIECHTENSTEIN","LITHUANIA","LUXEMBOURG","MACAO","MADAGASCAR","MALAWI","MALAYSIA","MALDIVES","MALI","MALTA","MARSHALL_ISLANDS","MARTINIQUE","MAURITANIA","MAURITIUS","MAYOTTE","MEXICO","MICRONESIA","MOLDOVA","MONACO","MONGOLIA","MONTENEGRO","MONTSERRAT","MOROCCO","MOZAMBIQUE","MYANMAR","NAMIBIA","NAURU","NEPAL","NETHERLANDS","NEW_CALEDONIA","NEW_ZEALAND","NICARAGUA","NIGER","NIGERIA","NIUE","NORFOLK_ISLAND","NORTHERN_MARIANA_ISLANDS","NORWAY","OMAN","PAKISTAN","PALAU","PALESTINE","PANAMA","PAPUA_NEW_GUINEA","PARAGUAY","PERU","PHILIPPINES","PITCAIRN","POLAND","PORTUGAL","PUERTO_RICO","QATAR","NORTH_MACEDONIA","ROMANIA","RUSSIA","RWANDA","REUNION","SAINT_BARTHELEMY","SAINT_HELENA_ASCENSION_AND_TRISTAN_DA_CUNHA","SAINT_KITTS_AND_NEVIS","SAINT_LUCIA","SAINT_MARTIN","SAINT_PIERRE_AND_MIQUELON","SAINT_VINCENT_AND_THE_GRENADINES","SAMOA","SAN_MARINO","SAO_TOME_AND_PRINCIPE","SAUDI_ARABIA","SENEGAL","SERBIA","SEYCHELLES","SIERRA_LEONE","SINGAPORE","SINT_MAARTEN","SLOVAKIA","SLOVENIA","SOLOMON_ISLANDS","SOMALIA","SOUTH_AFRICA","SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS","SOUTH_SUDAN","SPAIN","SRI_LANKA","SUDAN","SURINAME","SVALBARD_AND_JAN_MAYEN","SWEDEN","SWITZERLAND","SYRIAN_ARAB_REPUBLIC","TAIWAN","TAJIKISTAN","TANZANIA","THAILAND","TIMOR_LESTE","TOGO","TOKELAU","TONGA","TRINIDAD_AND_TOBAGO","TUNISIA","TURKEY","TURKMENISTAN","TURKS_AND_CAICOS_ISLANDS","TUVALU","UGANDA","UKRAINE","UNITED_ARAB_EMIRATES","UNITED_KINGDOM","UNITED_STATES_MINOR_OUTLYING_ISLANDS","UNITED_STATES","URUGUAY","UZBEKISTAN","VANUATU","VENEZUELA","VIETNAM","BRITISH_VIRGIN_ISLANDS","US_VIRGIN_ISLANDS","WALLIS_AND_FUTUNA","WESTERN_SAHARA","YEMEN","ZAMBIA","ZIMBABWE"]},"firstName":{"description":"The first name of the individual.","type":"string"},"lastName":{"description":"The last name of the individual.","type":"string"},"birthDate":{"description":"The birth date of the individual in DD/MM/YYYY format.","type":"string"},"nationality":{"description":"The nationality of the individual.","type":"string","enum":["AFGHAN","ALBANIAN","ALGERIAN","AMERICAN","AMERICANSAMOAN","ANDORRAN","ANGOLAN","ANGUILLIAN","ANTIGUANS","ANTARCTICAN","ARGENTINEAN","ARUBAN","ARMENIAN","AUSTRALIAN","AUSTRIAN","AZERBAIJANI","BAHAMIAN","BAHRAINI","BANGLADESHI","BARBADIAN","BARBUDANS","BATSWANA","BELARUSIAN","BELGIAN","BELIZEAN","BENINESE","BERMUDIAN","BHUTANESE","BOLIVIAN","BOSNIAN","BRAZILIAN","BRITISH","BRITISHINDIANOCEANTERRITORY","BRUNEIAN","BULGARIAN","BURKINABE","BURMESE","BURUNDIAN","CAMBODIAN","CAMEROONIAN","CANADIAN","CAPEVERDEAN","CAYMANISLANDER","CENTRALAFRICAN","CHADIAN","CHILEAN","CHINESE","CHRISTMASISLANDER","COCOSKEELINGISLANDER","COLOMBIAN","COMORAN","CONGOLESE","CONGOLESEREPUBLIC","COOKISLANDER","COSTARICAN","CROATIAN","CUBAN","CYPRIOT","CZECH","DANISH","DJIBOUTI","DOMINICAN","DOMINICANREPUBLIC","DUTCH","EASTTIMORESE","ECUADOREAN","EGYPTIAN","EMIRIAN","EQUATORIALGUINEAN","ERITREAN","ESTONIAN","ETHIOPIAN","FALKLANDISLANDER","FAROEISLANDER","FIJIAN","FILIPINO","FINNISH","FRENCH","FRENCHGUIANESE","FRENCHPOLYNESIAN","FRENCHSOUTHERNTERRITORIES","GABONESE","GAMBIAN","GEORGIAN","GERMAN","GHANAIAN","GIBRALTARIAN","GREEK","GREENLANDER","GRENADIAN","GUADELOUPEAN","GUAMANIAN","GUATEMALAN","GUERNSEYAN","GUINEABISSAUAN","GUINEAN","GUYANESE","HAITIAN","HEARDISLANDER","HERZEGOVINIAN","HONGKONGER","HONDURAN","HUNGARIAN","ICELANDER","INDIAN","INDONESIAN","IRANIAN","IRAQI","IRISH","ISLEOFMAN","ISRAELI","ITALIAN","IVORIAN","JAMAICAN","JAPANESE","JERSEYAN","JORDANIAN","KAZAKHSTANI","KENYAN","KIRIBATI","KITTIAN","KUWAITI","KYRGYZ","LAOTIAN","LATVIAN","LEBANESE","LIBERIAN","LIBYAN","LIECHTENSTEINER","LITHUANIAN","LUXEMBOURGER","MACANESE","MACEDONIAN","MALAGASY","MALAWIAN","MALAYSIAN","MALDIVIAN","MALIAN","MALTESE","MARSHALLESE","MARTINIQUAIS","MAURITANIAN","MAURITIAN","MAYOTTEAN","MEXICAN","MICRONESIAN","MOLDOVAN","MONACAN","MONGOLIAN","MONTENEGRIN","MONTSERRATIAN","MOROCCAN","MOSOTHO","MOTSWANA","MOZAMBICAN","MYANMARESE","NAMIBIAN","NAURUAN","NEPALESE","NEWCALEDONIAN","NEWZEALANDER","NICARAGUAN","NIGERIAN","NIGERIEN","NIUEAN","NORFOLKISLANDER","NORTHERNMARIANA","NORTHKOREAN","NORTHERNIRISH","NORWEGIAN","OMANI","PAKISTANI","PALAUAN","PALESTINIAN","PANAMANIAN","PAPUANEWGUINEAN","PARAGUAYAN","PERUVIAN","PITCAIRNISLANDER","POLISH","PORTUGUESE","PUERTORICAN","QATARI","REUNIONESE","ROMANIAN","RUSSIAN","RWANDAN","SAINTBARTHELEMIAN","SAINTHELENIAN","SAINTKITTIAN","SAINTLUCIAN","SAINTMARTINOIS","SAINTPIERREAN","SAINTVINCENTIAN","SALVADORAN","SAMOAN","SANMARINESE","SAOTOMEAN","SAUDI","SCOTTISH","SENEGALESE","SERBIAN","SEYCHELLOIS","SIERRALEONEAN","SINGAPOREAN","SINTMAARTENER","SLOVAKIAN","SLOVENIAN","SOLOMONISLANDER","SOMALI","SOUTHAFRICAN","SOUTHGEORGIAN","SOUTHKOREAN","SOUTHSUDANESE","SPANISH","SRILANKAN","SUDANESE","SURINAMER","SVALBARDER","SWAZI","SWEDISH","SWISS","SYRIAN","TAIWANESE","TAJIK","TANZANIAN","THAI","TOGOLESE","TOKELAUAN","TONGAN","TRINIDADIAN","TUNISIAN","TURKISH","TURKMEN","TURKSANDCAICOSISLANDER","TUVALUAN","UGANDAN","UKRAINIAN","URUGUAYAN","UZBEKISTANI","VANUATUAN","VENEZUELAN","VIETNAMESE","WELSH","WALLISANDFUTUNAN","WESTERNSAHARAN","YEMENITE","ZAMBIAN","ZIMBABWEAN"]},"livenessRequired":{"description":"Whether liveness detection is required for this verification session.","type":"boolean"},"email":{"description":"The email address of the individual.","type":"string"},"address":{"description":"The street address of the individual.","type":"string"},"city":{"description":"The city of residence.","type":"string"},"state":{"description":"The state or province of residence.","type":"string"},"postalCode":{"description":"The postal code.","type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["documentId","sourceOfFundsDocType","purposeOfTransactions","proofOfAddressDocType","purposeOfTransactionsExplanation"]},"CreateEnhancedIndividualVerificationResponseDTO":{"type":"object","properties":{"session":{"type":"object","properties":{"id":{"type":"string"},"individualId":{"type":"string","nullable":true},"status":{"type":"string","enum":["PENDING","PROCESSING","VERIFYING","COMPLETED","FAILED","EXPIRED","PENDING_MANUAL_REVIEW"]},"firstName":{"type":"string"},"lastName":{"type":"string"},"birthDate":{"type":"string"},"document":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","nullable":true},"category":{"type":"string"}},"required":["id","type","category"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true}},"required":["id","individualId","status","firstName","lastName","birthDate","document","createdAt","updatedAt"]},"frontDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"],"description":"Accepted formats: PNG (.png) or JPEG (.jpg, .jpeg).\nMaximum file size: 25 MB","nullable":true},"backDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"],"description":"Accepted formats: PNG (.png) or JPEG (.jpg, .jpeg).\nMaximum file size: 25 MB","nullable":true},"sourceOfFundsDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"]},"proofOfOwnershipDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"]},"incomeTaxDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"],"nullable":true},"individualHoldingDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"]},"proofOfAddressDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"]}},"required":["session","frontDocumentUpload","backDocumentUpload","sourceOfFundsDocumentUpload","proofOfOwnershipDocumentUpload","incomeTaxDocumentUpload","individualHoldingDocumentUpload","proofOfAddressDocumentUpload"]},"GetEnhancedIndividualVerificationSessionResultResponseDTO":{"type":"object","properties":{"session":{"type":"object","properties":{"id":{"type":"string"},"individualId":{"type":"string","nullable":true},"status":{"type":"string","enum":["PENDING","PROCESSING","VERIFYING","COMPLETED","FAILED","EXPIRED","PENDING_MANUAL_REVIEW"]},"firstName":{"type":"string"},"lastName":{"type":"string"},"birthDate":{"type":"string"},"document":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","nullable":true},"category":{"type":"string"}},"required":["id","type","category"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true}},"required":["id","individualId","status","firstName","lastName","birthDate","document","createdAt","updatedAt"]}},"required":["session"]},"CreateStandardBusinessVerificationDTO":{"type":"object","properties":{"legalName":{"type":"string"},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"documentId":{"type":"string","pattern":"^\\d+$"},"legalNature":{"type":"string"},"phoneNumber":{"type":"string","pattern":"^\\d+$"},"website":{"type":"string","format":"uri"},"city":{"type":"string"},"country":{"type":"string","enum":["BRAZIL","AFGHANISTAN","ALBANIA","ALGERIA","AMERICAN_SAMOA","ANDORRA","ANGOLA","ANGUILLA","ANTARCTICA","ANTIGUA_AND_BARBUDA","ARGENTINA","ARMENIA","ARUBA","AUSTRALIA","AUSTRIA","AZERBAIJAN","BAHAMAS","BAHRAIN","BANGLADESH","BARBADOS","BELARUS","BELGIUM","BELIZE","BENIN","BERMUDA","BHUTAN","BOLIVIA","BONAIRE_SINT_EUSTATIUS_AND_SABA","BOSNIA_AND_HERZEGOVINA","BOTSWANA","BOUVET_ISLAND","BRITISH_INDIAN_OCEAN_TERRITORY","BRUNEI_DARUSSALAM","BULGARIA","BURKINA_FASO","BURUNDI","CABO_VERDE","CAMBODIA","CAMEROON","CANADA","CAYMAN_ISLANDS","CENTRAL_AFRICAN_REPUBLIC","CHAD","CHILE","CHINA","CHRISTMAS_ISLAND","COCOS_KEELING_ISLANDS","COLOMBIA","COMOROS","CONGO_DEMOCRATIC_REPUBLIC","CONGO_REPUBLIC","COOK_ISLANDS","COSTA_RICA","CROATIA","CUBA","CURACAO","CYPRUS","CZECH_REPUBLIC","COTE_DIVOIRE","DENMARK","DJIBOUTI","DOMINICA","DOMINICAN_REPUBLIC","ECUADOR","EGYPT","EL_SALVADOR","EQUATORIAL_GUINEA","ERITREA","ESTONIA","ESWATINI","ETHIOPIA","FALKLAND_ISLANDS","FAROE_ISLANDS","FIJI","FINLAND","FRANCE","FRENCH_GUIANA","FRENCH_POLYNESIA","FRENCH_SOUTHERN_TERRITORIES","GABON","GAMBIA","GEORGIA","GERMANY","GHANA","GIBRALTAR","GREECE","GREENLAND","GRENADA","GUADELOUPE","GUAM","GUATEMALA","GUERNSEY","GUINEA","GUINEA_BISSAU","GUYANA","HAITI","HEARD_ISLAND_AND_MCDONALD_ISLANDS","HOLY_SEE","HONDURAS","HONG_KONG","HUNGARY","ICELAND","INDIA","INDONESIA","IRAN","IRAQ","IRELAND","ISLE_OF_MAN","ISRAEL","ITALY","JAMAICA","JAPAN","JERSEY","JORDAN","KAZAKHSTAN","KENYA","KIRIBATI","NORTH_KOREA","SOUTH_KOREA","KUWAIT","KYRGYZSTAN","LAOS","LATVIA","LEBANON","LESOTHO","LIBERIA","LIBYA","LIECHTENSTEIN","LITHUANIA","LUXEMBOURG","MACAO","MADAGASCAR","MALAWI","MALAYSIA","MALDIVES","MALI","MALTA","MARSHALL_ISLANDS","MARTINIQUE","MAURITANIA","MAURITIUS","MAYOTTE","MEXICO","MICRONESIA","MOLDOVA","MONACO","MONGOLIA","MONTENEGRO","MONTSERRAT","MOROCCO","MOZAMBIQUE","MYANMAR","NAMIBIA","NAURU","NEPAL","NETHERLANDS","NEW_CALEDONIA","NEW_ZEALAND","NICARAGUA","NIGER","NIGERIA","NIUE","NORFOLK_ISLAND","NORTHERN_MARIANA_ISLANDS","NORWAY","OMAN","PAKISTAN","PALAU","PALESTINE","PANAMA","PAPUA_NEW_GUINEA","PARAGUAY","PERU","PHILIPPINES","PITCAIRN","POLAND","PORTUGAL","PUERTO_RICO","QATAR","NORTH_MACEDONIA","ROMANIA","RUSSIA","RWANDA","REUNION","SAINT_BARTHELEMY","SAINT_HELENA_ASCENSION_AND_TRISTAN_DA_CUNHA","SAINT_KITTS_AND_NEVIS","SAINT_LUCIA","SAINT_MARTIN","SAINT_PIERRE_AND_MIQUELON","SAINT_VINCENT_AND_THE_GRENADINES","SAMOA","SAN_MARINO","SAO_TOME_AND_PRINCIPE","SAUDI_ARABIA","SENEGAL","SERBIA","SEYCHELLES","SIERRA_LEONE","SINGAPORE","SINT_MAARTEN","SLOVAKIA","SLOVENIA","SOLOMON_ISLANDS","SOMALIA","SOUTH_AFRICA","SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS","SOUTH_SUDAN","SPAIN","SRI_LANKA","SUDAN","SURINAME","SVALBARD_AND_JAN_MAYEN","SWEDEN","SWITZERLAND","SYRIAN_ARAB_REPUBLIC","TAIWAN","TAJIKISTAN","TANZANIA","THAILAND","TIMOR_LESTE","TOGO","TOKELAU","TONGA","TRINIDAD_AND_TOBAGO","TUNISIA","TURKEY","TURKMENISTAN","TURKS_AND_CAICOS_ISLANDS","TUVALU","UGANDA","UKRAINE","UNITED_ARAB_EMIRATES","UNITED_KINGDOM","UNITED_STATES_MINOR_OUTLYING_ISLANDS","UNITED_STATES","URUGUAY","UZBEKISTAN","VANUATU","VENEZUELA","VIETNAM","BRITISH_VIRGIN_ISLANDS","US_VIRGIN_ISLANDS","WALLIS_AND_FUTUNA","WESTERN_SAHARA","YEMEN","ZAMBIA","ZIMBABWE"]},"postalCode":{"type":"string"},"state":{"type":"string"},"streetLine1":{"type":"string"},"streetLine2":{"type":"string"},"owners":{"minItems":1,"type":"array","items":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"documentId":{"type":"string","pattern":"^\\d+$"},"documentCategory":{"type":"string","enum":["PASSPORT","DRIVERS_LICENSE","IDENTITY_CARD"]},"documentCountry":{"type":"string","enum":["BRAZIL","AFGHANISTAN","ALBANIA","ALGERIA","AMERICAN_SAMOA","ANDORRA","ANGOLA","ANGUILLA","ANTARCTICA","ANTIGUA_AND_BARBUDA","ARGENTINA","ARMENIA","ARUBA","AUSTRALIA","AUSTRIA","AZERBAIJAN","BAHAMAS","BAHRAIN","BANGLADESH","BARBADOS","BELARUS","BELGIUM","BELIZE","BENIN","BERMUDA","BHUTAN","BOLIVIA","BONAIRE_SINT_EUSTATIUS_AND_SABA","BOSNIA_AND_HERZEGOVINA","BOTSWANA","BOUVET_ISLAND","BRITISH_INDIAN_OCEAN_TERRITORY","BRUNEI_DARUSSALAM","BULGARIA","BURKINA_FASO","BURUNDI","CABO_VERDE","CAMBODIA","CAMEROON","CANADA","CAYMAN_ISLANDS","CENTRAL_AFRICAN_REPUBLIC","CHAD","CHILE","CHINA","CHRISTMAS_ISLAND","COCOS_KEELING_ISLANDS","COLOMBIA","COMOROS","CONGO_DEMOCRATIC_REPUBLIC","CONGO_REPUBLIC","COOK_ISLANDS","COSTA_RICA","CROATIA","CUBA","CURACAO","CYPRUS","CZECH_REPUBLIC","COTE_DIVOIRE","DENMARK","DJIBOUTI","DOMINICA","DOMINICAN_REPUBLIC","ECUADOR","EGYPT","EL_SALVADOR","EQUATORIAL_GUINEA","ERITREA","ESTONIA","ESWATINI","ETHIOPIA","FALKLAND_ISLANDS","FAROE_ISLANDS","FIJI","FINLAND","FRANCE","FRENCH_GUIANA","FRENCH_POLYNESIA","FRENCH_SOUTHERN_TERRITORIES","GABON","GAMBIA","GEORGIA","GERMANY","GHANA","GIBRALTAR","GREECE","GREENLAND","GRENADA","GUADELOUPE","GUAM","GUATEMALA","GUERNSEY","GUINEA","GUINEA_BISSAU","GUYANA","HAITI","HEARD_ISLAND_AND_MCDONALD_ISLANDS","HOLY_SEE","HONDURAS","HONG_KONG","HUNGARY","ICELAND","INDIA","INDONESIA","IRAN","IRAQ","IRELAND","ISLE_OF_MAN","ISRAEL","ITALY","JAMAICA","JAPAN","JERSEY","JORDAN","KAZAKHSTAN","KENYA","KIRIBATI","NORTH_KOREA","SOUTH_KOREA","KUWAIT","KYRGYZSTAN","LAOS","LATVIA","LEBANON","LESOTHO","LIBERIA","LIBYA","LIECHTENSTEIN","LITHUANIA","LUXEMBOURG","MACAO","MADAGASCAR","MALAWI","MALAYSIA","MALDIVES","MALI","MALTA","MARSHALL_ISLANDS","MARTINIQUE","MAURITANIA","MAURITIUS","MAYOTTE","MEXICO","MICRONESIA","MOLDOVA","MONACO","MONGOLIA","MONTENEGRO","MONTSERRAT","MOROCCO","MOZAMBIQUE","MYANMAR","NAMIBIA","NAURU","NEPAL","NETHERLANDS","NEW_CALEDONIA","NEW_ZEALAND","NICARAGUA","NIGER","NIGERIA","NIUE","NORFOLK_ISLAND","NORTHERN_MARIANA_ISLANDS","NORWAY","OMAN","PAKISTAN","PALAU","PALESTINE","PANAMA","PAPUA_NEW_GUINEA","PARAGUAY","PERU","PHILIPPINES","PITCAIRN","POLAND","PORTUGAL","PUERTO_RICO","QATAR","NORTH_MACEDONIA","ROMANIA","RUSSIA","RWANDA","REUNION","SAINT_BARTHELEMY","SAINT_HELENA_ASCENSION_AND_TRISTAN_DA_CUNHA","SAINT_KITTS_AND_NEVIS","SAINT_LUCIA","SAINT_MARTIN","SAINT_PIERRE_AND_MIQUELON","SAINT_VINCENT_AND_THE_GRENADINES","SAMOA","SAN_MARINO","SAO_TOME_AND_PRINCIPE","SAUDI_ARABIA","SENEGAL","SERBIA","SEYCHELLES","SIERRA_LEONE","SINGAPORE","SINT_MAARTEN","SLOVAKIA","SLOVENIA","SOLOMON_ISLANDS","SOMALIA","SOUTH_AFRICA","SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS","SOUTH_SUDAN","SPAIN","SRI_LANKA","SUDAN","SURINAME","SVALBARD_AND_JAN_MAYEN","SWEDEN","SWITZERLAND","SYRIAN_ARAB_REPUBLIC","TAIWAN","TAJIKISTAN","TANZANIA","THAILAND","TIMOR_LESTE","TOGO","TOKELAU","TONGA","TRINIDAD_AND_TOBAGO","TUNISIA","TURKEY","TURKMENISTAN","TURKS_AND_CAICOS_ISLANDS","TUVALU","UGANDA","UKRAINE","UNITED_ARAB_EMIRATES","UNITED_KINGDOM","UNITED_STATES_MINOR_OUTLYING_ISLANDS","UNITED_STATES","URUGUAY","UZBEKISTAN","VANUATU","VENEZUELA","VIETNAM","BRITISH_VIRGIN_ISLANDS","US_VIRGIN_ISLANDS","WALLIS_AND_FUTUNA","WESTERN_SAHARA","YEMEN","ZAMBIA","ZIMBABWE"]},"birthDate":{"type":"string"},"nationality":{"type":"string","enum":["AFGHAN","ALBANIAN","ALGERIAN","AMERICAN","AMERICANSAMOAN","ANDORRAN","ANGOLAN","ANGUILLIAN","ANTIGUANS","ANTARCTICAN","ARGENTINEAN","ARUBAN","ARMENIAN","AUSTRALIAN","AUSTRIAN","AZERBAIJANI","BAHAMIAN","BAHRAINI","BANGLADESHI","BARBADIAN","BARBUDANS","BATSWANA","BELARUSIAN","BELGIAN","BELIZEAN","BENINESE","BERMUDIAN","BHUTANESE","BOLIVIAN","BOSNIAN","BRAZILIAN","BRITISH","BRITISHINDIANOCEANTERRITORY","BRUNEIAN","BULGARIAN","BURKINABE","BURMESE","BURUNDIAN","CAMBODIAN","CAMEROONIAN","CANADIAN","CAPEVERDEAN","CAYMANISLANDER","CENTRALAFRICAN","CHADIAN","CHILEAN","CHINESE","CHRISTMASISLANDER","COCOSKEELINGISLANDER","COLOMBIAN","COMORAN","CONGOLESE","CONGOLESEREPUBLIC","COOKISLANDER","COSTARICAN","CROATIAN","CUBAN","CYPRIOT","CZECH","DANISH","DJIBOUTI","DOMINICAN","DOMINICANREPUBLIC","DUTCH","EASTTIMORESE","ECUADOREAN","EGYPTIAN","EMIRIAN","EQUATORIALGUINEAN","ERITREAN","ESTONIAN","ETHIOPIAN","FALKLANDISLANDER","FAROEISLANDER","FIJIAN","FILIPINO","FINNISH","FRENCH","FRENCHGUIANESE","FRENCHPOLYNESIAN","FRENCHSOUTHERNTERRITORIES","GABONESE","GAMBIAN","GEORGIAN","GERMAN","GHANAIAN","GIBRALTARIAN","GREEK","GREENLANDER","GRENADIAN","GUADELOUPEAN","GUAMANIAN","GUATEMALAN","GUERNSEYAN","GUINEABISSAUAN","GUINEAN","GUYANESE","HAITIAN","HEARDISLANDER","HERZEGOVINIAN","HONGKONGER","HONDURAN","HUNGARIAN","ICELANDER","INDIAN","INDONESIAN","IRANIAN","IRAQI","IRISH","ISLEOFMAN","ISRAELI","ITALIAN","IVORIAN","JAMAICAN","JAPANESE","JERSEYAN","JORDANIAN","KAZAKHSTANI","KENYAN","KIRIBATI","KITTIAN","KUWAITI","KYRGYZ","LAOTIAN","LATVIAN","LEBANESE","LIBERIAN","LIBYAN","LIECHTENSTEINER","LITHUANIAN","LUXEMBOURGER","MACANESE","MACEDONIAN","MALAGASY","MALAWIAN","MALAYSIAN","MALDIVIAN","MALIAN","MALTESE","MARSHALLESE","MARTINIQUAIS","MAURITANIAN","MAURITIAN","MAYOTTEAN","MEXICAN","MICRONESIAN","MOLDOVAN","MONACAN","MONGOLIAN","MONTENEGRIN","MONTSERRATIAN","MOROCCAN","MOSOTHO","MOTSWANA","MOZAMBICAN","MYANMARESE","NAMIBIAN","NAURUAN","NEPALESE","NEWCALEDONIAN","NEWZEALANDER","NICARAGUAN","NIGERIAN","NIGERIEN","NIUEAN","NORFOLKISLANDER","NORTHERNMARIANA","NORTHKOREAN","NORTHERNIRISH","NORWEGIAN","OMANI","PAKISTANI","PALAUAN","PALESTINIAN","PANAMANIAN","PAPUANEWGUINEAN","PARAGUAYAN","PERUVIAN","PITCAIRNISLANDER","POLISH","PORTUGUESE","PUERTORICAN","QATARI","REUNIONESE","ROMANIAN","RUSSIAN","RWANDAN","SAINTBARTHELEMIAN","SAINTHELENIAN","SAINTKITTIAN","SAINTLUCIAN","SAINTMARTINOIS","SAINTPIERREAN","SAINTVINCENTIAN","SALVADORAN","SAMOAN","SANMARINESE","SAOTOMEAN","SAUDI","SCOTTISH","SENEGALESE","SERBIAN","SEYCHELLOIS","SIERRALEONEAN","SINGAPOREAN","SINTMAARTENER","SLOVAKIAN","SLOVENIAN","SOLOMONISLANDER","SOMALI","SOUTHAFRICAN","SOUTHGEORGIAN","SOUTHKOREAN","SOUTHSUDANESE","SPANISH","SRILANKAN","SUDANESE","SURINAMER","SVALBARDER","SWAZI","SWEDISH","SWISS","SYRIAN","TAIWANESE","TAJIK","TANZANIAN","THAI","TOGOLESE","TOKELAUAN","TONGAN","TRINIDADIAN","TUNISIAN","TURKISH","TURKMEN","TURKSANDCAICOSISLANDER","TUVALUAN","UGANDAN","UKRAINIAN","URUGUAYAN","UZBEKISTANI","VANUATUAN","VENEZUELAN","VIETNAMESE","WELSH","WALLISANDFUTUNAN","WESTERNSAHARAN","YEMENITE","ZAMBIAN","ZIMBABWEAN"]},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"address":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"}},"required":["firstName","lastName","documentId","documentCategory","documentCountry","birthDate","nationality","address","city","state","postalCode"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["legalName","email","documentId","legalNature","phoneNumber","city","country","postalCode","state","streetLine1","owners"]},"CreateStandardBusinessVerificationResponseDTO":{"type":"object","properties":{"session":{"type":"object","properties":{"id":{"type":"string"},"businessId":{"type":"string","nullable":true},"status":{"type":"string","enum":["PENDING","PROCESSING","VERIFYING","COMPLETED","FAILED","EXPIRED","PENDING_MANUAL_REVIEW"]},"legalName":{"type":"string"},"email":{"type":"string"},"legalNature":{"type":"string"},"phoneNumber":{"type":"string"},"website":{"type":"string","nullable":true},"country":{"type":"string"},"address":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"document":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","nullable":true},"category":{"type":"string"}},"required":["id","type","category"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true}},"required":["id","businessId","status","legalName","email","legalNature","phoneNumber","website","country","address","city","state","postalCode","document","createdAt","updatedAt"]},"proofOfAddressDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"]},"socialContractDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"]},"ownersDocuments":{"type":"array","items":{"type":"object","properties":{"ownerId":{"type":"string"},"ownerDocumentId":{"type":"string"},"frontDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"],"description":"Upload details for the front of the owner document.\n\nAccepted formats: PNG (.png) or JPEG (.jpg, .jpeg).\nMaximum file size: 25 MB"},"backDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"],"description":"Upload details for the back of the owner document.\n\nAccepted formats: PNG (.png) or JPEG (.jpg, .jpeg).\nMaximum file size: 25 MB","nullable":true},"proofOfAddressDocumentUpload":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","properties":{"bucket":{"type":"string"},"X-Amz-Algorithm":{"type":"string"},"X-Amz-Credential":{"type":"string"},"X-Amz-Date":{"type":"string"},"key":{"type":"string"},"Policy":{"type":"string"},"X-Amz-Signature":{"type":"string"}},"required":["bucket","X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","key","Policy","X-Amz-Signature"]}},"required":["url","fields"]}},"required":["ownerId","ownerDocumentId","frontDocumentUpload","backDocumentUpload","proofOfAddressDocumentUpload"]}}},"required":["session","proofOfAddressDocumentUpload","socialContractDocumentUpload","ownersDocuments"]},"GetStandardBusinessVerificationSessionResultResponseDTO":{"type":"object","properties":{"session":{"type":"object","properties":{"id":{"type":"string"},"businessId":{"type":"string","nullable":true},"status":{"type":"string","enum":["PENDING","PROCESSING","VERIFYING","COMPLETED","FAILED","EXPIRED","PENDING_MANUAL_REVIEW"]},"legalName":{"type":"string"},"email":{"type":"string"},"legalNature":{"type":"string"},"phoneNumber":{"type":"string"},"website":{"type":"string","nullable":true},"country":{"type":"string"},"address":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"document":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","nullable":true},"category":{"type":"string"}},"required":["id","type","category"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true}},"required":["id","businessId","status","legalName","email","legalNature","phoneNumber","website","country","address","city","state","postalCode","document","createdAt","updatedAt"]}},"required":["session"]},"GetIdentityFinancialLimitsResponseDTO":{"type":"object","properties":{"identityId":{"type":"string"},"identityType":{"type":"string","enum":["individual","business"]},"projectId":{"type":"string"},"limits":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["PIX_DEPOSIT","PIX_WITHDRAWAL","PIX_QR_CODE"]},"currency":{"type":"string"},"limits":{"type":"object","properties":{"monthly":{"type":"object","properties":{"limit":{"type":"number","nullable":true},"used":{"type":"number"},"remaining":{"type":"number","nullable":true}},"required":["limit","used","remaining"]},"daily":{"type":"object","properties":{"limit":{"type":"number","nullable":true},"used":{"type":"number","nullable":true},"remaining":{"type":"number","nullable":true}},"required":["limit","used","remaining"]},"quarterly":{"type":"object","properties":{"limit":{"type":"number","nullable":true},"used":{"type":"number","nullable":true},"remaining":{"type":"number","nullable":true}},"required":["limit","used","remaining"]},"perTransaction":{"type":"object","properties":{"limit":{"type":"number","nullable":true}},"required":["limit"]}},"required":["monthly","daily","quarterly"]}},"required":["type","currency","limits"]}}},"required":["identityId","identityType","projectId","limits"]},"GetVerificationSessionResultResponseDTO":{"type":"object","properties":{"session":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"individualId":{"type":"string","nullable":true},"status":{"type":"string","enum":["PENDING","PROCESSING","VERIFYING","COMPLETED","FAILED","EXPIRED","PENDING_MANUAL_REVIEW"]},"livenessRequired":{"type":"boolean"},"preFlight":{"type":"boolean"},"failureReason":{"type":"string","nullable":true},"firstName":{"type":"string"},"lastName":{"type":"string"},"birthDate":{"type":"string"},"document":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","nullable":true},"category":{"type":"string"}},"required":["id","type","category"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"type":{"type":"string","enum":["STANDARD_INDIVIDUAL"]}},"required":["id","individualId","status","livenessRequired","preFlight","failureReason","firstName","lastName","birthDate","document","createdAt","updatedAt","type"]},{"type":"object","properties":{"id":{"type":"string"},"individualId":{"type":"string","nullable":true},"status":{"type":"string","enum":["PENDING","PROCESSING","VERIFYING","COMPLETED","FAILED","EXPIRED","PENDING_MANUAL_REVIEW"]},"firstName":{"type":"string"},"lastName":{"type":"string"},"birthDate":{"type":"string"},"document":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","nullable":true},"category":{"type":"string"}},"required":["id","type","category"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"type":{"type":"string","enum":["ENHANCED_INDIVIDUAL"]}},"required":["id","individualId","status","firstName","lastName","birthDate","document","createdAt","updatedAt","type"]},{"type":"object","properties":{"id":{"type":"string"},"businessId":{"type":"string","nullable":true},"status":{"type":"string","enum":["PENDING","PROCESSING","VERIFYING","COMPLETED","FAILED","EXPIRED","PENDING_MANUAL_REVIEW"]},"legalName":{"type":"string"},"email":{"type":"string"},"legalNature":{"type":"string"},"phoneNumber":{"type":"string"},"website":{"type":"string","nullable":true},"country":{"type":"string"},"address":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"document":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","nullable":true},"category":{"type":"string"}},"required":["id","type","category"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"type":{"type":"string","enum":["STANDARD_BUSINESS"]}},"required":["id","businessId","status","legalName","email","legalNature","phoneNumber","website","country","address","city","state","postalCode","document","createdAt","updatedAt","type"]}]}},"required":["session"]},"CreateSwapDTO":{"type":"object","properties":{"amountIn":{"type":"string","description":"The amount to be swapped, expressed as a decimal string.","example":"1.2"},"chainIdIn":{"description":"The blockchain network where the swap originates. \n Supported chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663\n- Bitcoin: 0\n- Stellar: -1","example":42161,"type":"number"},"chainIdOut":{"description":"The blockchain network where the swapped asset will be sent to. \n Supported chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663\n- Bitcoin: 0\n- Stellar: -1\n- Solana: -501 (as the destination of a swap from an EVM chain)","example":43114,"type":"number"},"routeProfile":{"default":"QUICKEST_QUOTE","description":"Route profiles define the order and which quotes are returned in the array. The order is always from the \"best\" to the \"worst\". The following profiles are available:\n- **QUICKEST_QUOTE**: Returns a quote as soon as one that works is found. This is the quickest endpoint as it returns the first that can be executed, if none can be executed it returns all of them to show the reason they could not execute.\n- **FASTEST_BRIDGE**: Useful only for cross-chain swaps. Returns the cross-chain route that should execute on all chains at the fastest time possible. This is a slow query, refrain from calling it too frequently.\n- **BEST_OUTPUT**: Aggregates multiple swap providers to find the optimal path, that maximizes the returns by considering the guaranteed minimum output and deducting execution fees. This is a slow query, refrain from calling it too frequently.","example":"QUICKEST_QUOTE","type":"string","enum":["QUICKEST_QUOTE","FASTEST_BRIDGE","BEST_OUTPUT"]},"gasFeePaymentMethod":{"type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"],"description":"Defines how the fee will be paid: \"ADD_TO_AMOUNT\" adds it to the input amount, while \"DEDUCT_FROM_AMOUNT\" subtracts it from the input amount."},"payGasFeeToken":{"description":"The address of the token used to pay the transaction fee, an EVM address.\nAccepted formats:\n\n- **EVM** (EVM chains, and the native marker on any chain)\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0xc2132d05d31c914a87c6611c10748aeb04b58e8f`","example":"0xc2132d05d31c914a87c6611c10748aeb04b58e8f","type":"string"},"tokenIn":{"description":"The address of the token being swapped from, on `chainIdIn`: a `C…` contract on Stellar (chain -1), an EVM address on every other chain, and the native marker for the native coin.\nAccepted formats:\n\n- **EVM** (EVM chains, and the native marker on any chain)\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0x2791bca1f2de4661ed88a30c99a7a9449aa84174`\n- **Stellar contract** (only on chain -1)\n  - pattern: `^C[A-Z2-7]{55}$`\n  - example: `CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75`","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","type":"string"},"tokenOut":{"description":"The address of the token being swapped to, on `chainIdOut`: a `C…` contract on Stellar (chain -1), a base58 mint, exactly as the network writes it, on Solana (chain -501), an EVM address on every other chain, and the native marker for the native coin.\nAccepted formats:\n\n- **EVM** (EVM chains, and the native marker on any chain)\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6`\n- **Stellar contract** (only on chain -1)\n  - pattern: `^C[A-Z2-7]{55}$`\n  - example: `CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75`\n- **Solana mint** (only on chain -501)\n  - pattern: `^[1-9A-HJ-NP-Za-km-z]{32,44}$`\n  - example: `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v`","example":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","type":"string"},"walletAddress":{"description":"The wallet address (EVM or Bitcoin) initiating the swap.\nAccepted formats:\n\n- **EVM**\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0x6e397ddf51d9f15dbe0414538e7529f51f2e5464`\n- **Bitcoin**\n  - pattern: `^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$`\n  - example: `bc1ql3s9y4gyvlgardeklm9e4d8n83ytyzgwgh88tk`","oneOf":[{"title":"EVM Address","type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464"},{"title":"Bitcoin Address","type":"string","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$","example":"bc1ql3s9y4gyvlgardeklm9e4d8n83ytyzgwgh88tk"}]},"toAddress":{"description":"The address (EVM, Bitcoin, Stellar or Solana) receiving the swap. Generally equal to the `walletAddress`, but can be another address. A Stellar account is only accepted for a USDC transfer to `chainIdOut` -1, settled through Circle CCTP, and it must already be active and hold an authorized USDC trustline. A Solana account is only accepted for `chainIdOut` -501, written in base58 exactly as the network does.\nAccepted formats:\n\n- **EVM**\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0x6e397ddf51d9f15dbe0414538e7529f51f2e5464`\n- **Bitcoin**\n  - pattern: `^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$`\n  - example: `bc1ql3s9y4gyvlgardeklm9e4d8n83ytyzgwgh88tk`\n- **Stellar**\n  - pattern: `^G[A-Z2-7]{55}$`\n  - example: `GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA`\n- **Solana**\n  - pattern: `^[1-9A-HJ-NP-Za-km-z]{32,44}$`\n  - example: `9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM`","oneOf":[{"title":"EVM Address","type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464"},{"title":"Bitcoin Address","type":"string","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$","example":"bc1ql3s9y4gyvlgardeklm9e4d8n83ytyzgwgh88tk"},{"title":"Stellar Address","type":"string","pattern":"^G[A-Z2-7]{55}$","example":"GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA"},{"title":"Solana Address","type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","example":"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"}]},"transactionFeePercent":{"description":"Percentage fee to be charged (0 to 99%). The fee is deducted from the input token and sent to the treasuryAddress if configured. If not configured the value is zero.","example":1.5,"type":"number","minimum":0,"maximum":99.99},"slippage":{"default":0.5,"description":"Optional parameter controlling the maximum deviation allowed of the expected price of a trade and the actual price at which the trade is executed, with a minimum value of 0.5 and a maximum value of 99, default is 0.5, where 1 unit equals 1%.","example":0.5,"type":"number","minimum":0.5,"maximum":99},"extraFee":{"description":"Optional extra fee that can be charged in addition to the transaction fee (configured in the dashboard or via `transactionFeePercent`). This extra fee is deducted from the input token and sent to the specified `toAddress`, allowing you to define a custom recipient for this additional charge.","type":"object","properties":{"percentage":{"type":"number","minimum":0,"maximum":99.99,"description":"The percentage of the extra fee to be charged","example":1.5},"toAddress":{"description":"The address (in hexadecimal format) receiving the extra fee.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["percentage","toAddress"]},"minAmountOut":{"description":"Optional minimum output amount as a decimal string. When provided, the current swap endpoint returns a limit-order quote instead of a market quote.","example":"0.95","type":"string"},"expiration":{"description":"Optional limit-order expiration time in seconds from quote creation.","example":2592000,"type":"integer","exclusiveMinimum":true,"maximum":9007199254740991,"minimum":0},"partialFillable":{"default":true,"description":"Optional flag for limit orders. Defaults to true. When true, the order may be filled in multiple partial executions instead of a single all-or-nothing fill.","example":true,"type":"boolean"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["amountIn","chainIdIn","chainIdOut","gasFeePaymentMethod","payGasFeeToken","tokenIn","tokenOut","walletAddress","toAddress"]},"RevertReasonDTO":{"type":"object","properties":{"decoded":{"type":"string","nullable":true,"description":"The decoded, human-readable, error message. We try to support as many error messages as possible, but if we can't decode the message, then this will be `null`.","example":"ERC-20 insufficient balance. Address 0xf12534a4939c7fbda50f893774a9525265fe1a9a has 120. The operation requested 200."},"raw":{"type":"string","description":"The raw bytes value of the error we received from the blockchain, including the error function signature. You can use https://www.4byte.directory/ to find the function to further decode it.","example":"0xe450d38c000000000000000000000000f12534a4939c7fbda50f893774a9525265fe1a9a0000000000000000000000000000000000000000000000068155a43676e0000000000000000000000000000000000000000000000000000ad78ebc5ac6200000","pattern":"^0x([a-fA-F0-9]{2})*$"},"utf8":{"type":"string","description":"The error message converted to UTF-8. This is a direct transformation, we do not check if it even makes sense, if the error message does not contain strings this will return garbage on those parts. This already excludes the function signature.","example":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�%4�����\u000f�7t�RRe�\u001a�\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0006�U�6v�\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\n׎�Z� \u0000\u0000"}},"required":["decoded","raw","utf8"]},"RecipientAccountOpeningDTO":{"type":"object","properties":{"tokenAmount":{"type":"string","description":"The account's rent in the token sent, converted as the network fee is.","example":"0.157"},"tokenAmountUSD":{"type":"string","description":"`tokenAmount` in USD, a conversion done at the time the quote was created.","example":"0.157"},"nativeAmount":{"type":"string","description":"The account's rent in SOL.","example":"0.00203928"}},"required":["tokenAmount","tokenAmountUSD","nativeAmount"]},"EstimatedGasFees":{"type":"object","properties":{"payGasFeeToken":{"type":"string","description":"Address of the token used to pay the fee. On a Stellar CCTP redeem, the USDC contract (`C…`) on Stellar.","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$","example":"0xc2132d05d31c914a87c6611c10748aeb04b58e8f"},"maxGasFeeToken":{"type":"string","deprecated":true,"description":"**DEPRECATED**: Use `gasFeeTokenAmount` instead.","example":"12.345"},"gasFeeTokenAmount":{"type":"string","description":"Amount paid to cover gas fees in the token itself, this is how much really left the user wallet.","example":"12.345"},"gasFeeTokenAmountUSD":{"type":"string","description":"Amount paid to cover gas fees in USD, this is a conversion done at the time the quote was created..","example":"0.321"},"maxGasFeeNative":{"type":"string","description":"Maximum cost, in the native chain currency, of each unit of gas that this transaction will accept. This value is constantly updated based on the state of the blockchain. This value is multiplied by the amount of gas the transaction uses to set a cost of the transaction."},"recipientAccountOpening":{"nullable":true,"description":"Kept for the clients that still read it: null or absent.","type":"object","allOf":[{"$ref":"#/components/schemas/RecipientAccountOpeningDTO"}]}},"required":["payGasFeeToken","maxGasFeeToken","gasFeeTokenAmount","gasFeeTokenAmountUSD","maxGasFeeNative"]},"EstimatedCollectedFeeDto":{"type":"object","properties":{"collectedFeeToken":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$","example":"0xc2132d05d31c914a87c6611c10748aeb04b58e8f","description":"The address of the token being used to pay the operation fee: hexadecimal on EVM chains, the USDC contract (`C…`) on a Stellar CCTP redeem, the base58 mint on a swap from Solana."},"collectedFee":{"type":"string","description":"The amount of the operation fee."},"collectedFeePercent":{"type":"string","description":"The percentage of the operation fee."},"notusCollectedFee":{"type":"string","description":"The amount of the notus operation fee."},"notusCollectedFeePercent":{"type":"string","description":"The percentage of the notus operation fee."}},"required":["collectedFeeToken","collectedFee","collectedFeePercent","notusCollectedFee","notusCollectedFeePercent"]},"FeeDTO":{"type":"object","properties":{"amount":{"type":"string","description":"The calculated amount of the fee deducted from the input token, expressed as a decimal string.","example":"100.5"},"token":{"type":"string","description":"The token address from which the fee is deducted: hexadecimal on EVM chains, the USDC contract (`C…`) on Stellar, the base58 mint on Solana. This is always the input token of the swap.","example":"0x1234567890123456789012345678901234567890","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$"},"toAddress":{"type":"string","description":"The address receiving the fee. For NOTUS fees, this is an internal API address. For CLIENT fees, this can be either the treasury address configured in the dashboard (for transaction fees) or the custom address specified in the extraFee parameter (for extra fees). On a swap from Solana, the Solana treasury.","example":"0x1234567890123456789012345678901234567890","pattern":"^0x[a-fA-F0-9]{40}$|^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$|^[1-9A-HJ-NP-Za-km-z]{32,44}$"},"type":{"type":"string","description":"The type of the fee. NOTUS: internal API fee that is automatically charged and cannot be modified. CLIENT: includes both the transaction fee (configured in the dashboard or via transactionFeePercent parameter) and the optional extra fee (specified via the extraFee parameter).","example":"NOTUS","enum":["NOTUS","CLIENT"]},"percentage":{"type":"string","description":"The percentage rate of the fee applied to the input amount, expressed as a decimal string (e.g., \"2\" represents 2%).","example":"2"}},"required":["amount","token","toAddress","type","percentage"]},"WrappedTypedDataDomainDTO":{"type":"object","properties":{"name":{"type":"string","enum":["LightAccount","Kernel","Portikus"],"example":"Portikus"},"version":{"type":"string","enum":["1","2","0.3.3","2.0.0"],"example":"2.0.0"},"chainId":{"type":"number","example":137},"verifyingContract":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464"}},"required":["name","version","chainId","verifyingContract"]},"WrappedTypedDataDTO":{"type":"object","properties":{"domain":{"$ref":"#/components/schemas/WrappedTypedDataDomainDTO"},"types":{"type":"object","example":{"Kernel":[{"name":"hash","type":"bytes32"}]}},"primaryType":{"type":"string","enum":["LightAccountMessage","Kernel","Order","FillableOrder"],"example":"Order"},"message":{"type":"object","example":{"owner":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","srcAmount":"1000000000000000000"}}},"required":["domain","types","primaryType","message"]},"AuthorizationDTO":{"type":"object","properties":{"chainId":{"type":"number","description":"The Chain ID where the authorization is being made. Meaning this authorization will only work on this blockchain.","example":42161},"address":{"type":"string","description":"The contract that the EOA will delegate to. Once allowed the EOA \"becomes\" this contract.","example":"0xd6cedde84be40893d153be9d467cd6ad37875b28","pattern":"^0x[a-fA-F0-9]{40}$"},"nonce":{"type":"number","description":"The nonce value of the EOA, the authorization will only work if the next nonce of the EOA is this one. If the EOA executes another transaction before this authorization the user operation will revert.","example":10},"hash":{"type":"string","description":"The hash that must be signed that includes the information of the other fields as defined by EIP-7702. This is useful if using a language without a web3 library and you need to use the signing primitives. Or you can also call viem's sign with this as `signAuthorization` will simply re-generate this hash.","example":"0x777811ae5d51875409b9978ddc1b40a9da1bbe9570040bdd7c5f186d70ceceba","pattern":"^0x[a-fA-F0-9]{64}$"}},"required":["chainId","address","nonce","hash"]},"UserOperationTypedDataDomainDTO":{"type":"object","properties":{"name":{"type":"string","example":"ERC4337"},"version":{"type":"string","example":"1"},"chainId":{"type":"number","example":42161},"verifyingContract":{"type":"string","description":"The EntryPoint v0.8 address.","example":"0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["name","version","chainId","verifyingContract"]},"TypedDataFieldDTO":{"type":"object","properties":{"name":{"type":"string","example":"sender"},"type":{"type":"string","example":"address"}},"required":["name","type"]},"UserOperationTypedDataTypesDTO":{"type":"object","properties":{"EIP712Domain":{"type":"array","items":{"$ref":"#/components/schemas/TypedDataFieldDTO"}},"PackedUserOperation":{"type":"array","items":{"$ref":"#/components/schemas/TypedDataFieldDTO"}}},"required":["EIP712Domain","PackedUserOperation"]},"PackedUserOperationDTO":{"type":"object","properties":{"sender":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"nonce":{"type":"string","description":"uint256 as a decimal string."},"initCode":{"type":"string","description":"The EIP-7702 delegate address while the EOA is not delegated yet, as the EntryPoint hashes it.","pattern":"^0x([a-fA-F0-9]{2})*$"},"callData":{"type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"},"accountGasLimits":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"preVerificationGas":{"type":"string","description":"uint256 as a decimal string."},"gasFees":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"paymasterAndData":{"type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"}},"required":["sender","nonce","initCode","callData","accountGasLimits","preVerificationGas","gasFees","paymasterAndData"]},"UserOperationTypedDataDTO":{"type":"object","properties":{"domain":{"$ref":"#/components/schemas/UserOperationTypedDataDomainDTO"},"types":{"$ref":"#/components/schemas/UserOperationTypedDataTypesDTO"},"primaryType":{"type":"string","example":"PackedUserOperation"},"message":{"$ref":"#/components/schemas/PackedUserOperationDTO"}},"required":["domain","types","primaryType","message"]},"RwaApproveUserOperationDTO":{"type":"object","properties":{"userOperationHash":{"type":"string","description":"Hash of the sponsored destination-chain approve operation."},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]}},"required":["userOperationHash","authorization"]},"EvmSwapDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"revertReason":{"nullable":true,"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.","type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"tokenIn":{"type":"string","description":"The address of the token being swapped from: hexadecimal on EVM chains, the USDC contract (`C…`) on a Stellar CCTP redeem.","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174"},"amountIn":{"type":"string","description":"The amount to be swapped, expressed as a string.","example":"1.26"},"tokenOut":{"type":"string","description":"The address of the token being swapped to: hexadecimal on EVM chains, the USDC contract (`C…`) on a Stellar CCTP funding, the base58 mint on a swap into Solana.","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$","example":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6"},"chainIn":{"type":"number","description":"The blockchain network where the swap originates.","example":42161},"chainOut":{"type":"number","description":"The blockchain network where the swapped asset will be sent to.","example":43114},"minAmountOut":{"type":"string","description":"The minimum acceptable output amount for the swap.","example":"23.48"},"amountOut":{"type":"string","description":"The output amount for the swap.","example":"23.48"},"estimatedExecutionTime":{"format":"date-time","type":"string","description":"Estimated time the transaction will execute","example":"2026-04-12T14:49:12.762Z"},"estimatedGasFees":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedGasFees"}]},"estimatedCollectedFee":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedCollectedFeeDto"}]},"amountInUSD":{"type":"string","description":"The amount in USD of the token being swapped from.","example":"23.4921"},"amountOutUSD":{"type":"string","description":"The amount in USD of the token being swapped to.","example":"23.502"},"tokenInPrice":{"type":"string","description":"The price of the token being swapped from in USD.","example":"1.736"},"swapProvider":{"type":"string","description":"The provider handling the execution of the swap.","enum":["CCTP","CHANGENOW","ENSO","ENSO_1INCH","LIFI","PARASWAP","PODS","PODS_ONDO","RANGO","RELAY","SQUID","UNISWAP"]},"expiresAt":{"type":"number","description":"The expiration date of the quote.","example":1751469204210},"fees":{"description":"The fees collected for the swap.","type":"array","items":{"$ref":"#/components/schemas/FeeDTO"}},"typedData":{"description":"Smart-wallet-compatible typed data to sign when the quote is a limit order.","allOf":[{"$ref":"#/components/schemas/WrappedTypedDataDTO"}]},"userOperationHash":{"type":"string","nullable":true,"description":"Unique identifier for the swap quote, required to execute the transaction.","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"quoteId":{"type":"string","nullable":true,"deprecated":true,"description":"**DEPRECATED**: Use `userOperationHash` instead.","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]},"userOperationTypedData":{"description":"EIP-712 typed data of the user operation, only present for wallets whose user operations run on EntryPoint v0.8 (EIP-7702 Simple7702Account). Its EIP-712 hash is exactly `userOperationHash`, so a hardware wallet can sign it with `eth_signTypedData_v4` and show what is being signed. Send that raw signature as the user operation signature, without the EIP-191 prefix of `signMessage`.","allOf":[{"$ref":"#/components/schemas/UserOperationTypedDataDTO"}]},"rwaApproveUserOperation":{"nullable":true,"description":"Every RWA buy: a second, sponsored user operation on the destination chain (an exact stable approve to the order router, consumed by this order's fill). Sign its userOperationHash (and authorization, when present) in the same batch as the swap and send them on execute-user-op as `rwaApproveSignature`/`rwaApproveAuthorization` together with `rwaApproveUserOperationHash`.","type":"object","allOf":[{"$ref":"#/components/schemas/RwaApproveUserOperationDTO"}]},"walletAddress":{"type":"string","description":"The wallet address (in hexadecimal format) initiating the swap.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","pattern":"^0x[a-fA-F0-9]{40}$"},"toAddress":{"type":"string","description":"The wallet address (Hexadecimal, Bitcoin, Stellar or Solana format) receiving the swap.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$|^0x[a-fA-F0-9]{40}$|^G[A-Z2-7]{55}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$"}},"required":["metadata","revertReason","tokenIn","amountIn","tokenOut","chainIn","chainOut","minAmountOut","amountOut","estimatedExecutionTime","estimatedGasFees","estimatedCollectedFee","amountInUSD","amountOutUSD","tokenInPrice","swapProvider","expiresAt","fees","userOperationHash","quoteId","authorization","walletAddress","toAddress"]},"BitcoinSwapDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"revertReason":{"nullable":true,"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.","type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"tokenIn":{"type":"string","description":"The address of the token being swapped from: hexadecimal on EVM chains, the USDC contract (`C…`) on a Stellar CCTP redeem.","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174"},"amountIn":{"type":"string","description":"The amount to be swapped, expressed as a string.","example":"1.26"},"tokenOut":{"type":"string","description":"The address of the token being swapped to: hexadecimal on EVM chains, the USDC contract (`C…`) on a Stellar CCTP funding, the base58 mint on a swap into Solana.","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$","example":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6"},"chainIn":{"type":"number","description":"The blockchain network where the swap originates.","example":42161},"chainOut":{"type":"number","description":"The blockchain network where the swapped asset will be sent to.","example":43114},"minAmountOut":{"type":"string","description":"The minimum acceptable output amount for the swap.","example":"23.48"},"amountOut":{"type":"string","description":"The output amount for the swap.","example":"23.48"},"estimatedExecutionTime":{"format":"date-time","type":"string","description":"Estimated time the transaction will execute","example":"2026-04-12T14:49:12.762Z"},"estimatedGasFees":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedGasFees"}]},"estimatedCollectedFee":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedCollectedFeeDto"}]},"amountInUSD":{"type":"string","description":"The amount in USD of the token being swapped from.","example":"23.4921"},"amountOutUSD":{"type":"string","description":"The amount in USD of the token being swapped to.","example":"23.502"},"tokenInPrice":{"type":"string","description":"The price of the token being swapped from in USD.","example":"1.736"},"swapProvider":{"type":"string","description":"The provider handling the execution of the swap.","enum":["CCTP","CHANGENOW","ENSO","ENSO_1INCH","LIFI","PARASWAP","PODS","PODS_ONDO","RANGO","RELAY","SQUID","UNISWAP"]},"expiresAt":{"type":"number","description":"The expiration date of the quote.","example":1751469204210},"fees":{"description":"The fees collected for the swap.","type":"array","items":{"$ref":"#/components/schemas/FeeDTO"}},"typedData":{"description":"Smart-wallet-compatible typed data to sign when the quote is a limit order.","allOf":[{"$ref":"#/components/schemas/WrappedTypedDataDTO"}]},"quoteId":{"type":"string","nullable":true,"description":"Unique identifier for the Bitcoin cross-swap quote, required to broadcast the signed transaction.","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"walletAddress":{"type":"string","description":"The wallet address (Bitcoin format) initiating the swap.","example":"bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$"},"toAddress":{"type":"string","description":"The wallet address (hexadecimal format) receiving the swap.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","pattern":"^0x[a-fA-F0-9]{40}$"},"psbt":{"type":"string","description":"Partially signed Bitcoin transaction (PSBT) to sign when executing a Bitcoin transaction.","example":"0x70736274ff0100530200000001eef2af595c311fea74bb46fb43276eeb291e0945ecd1a897e5c4e020b86c66c76901000000ffffffff01306c3ba40b00000017a914cd49d5f5215aaaa0fdbf1bd2e454250edf8a54e287000000000001012b00743ba40b000000225120d6d8a6c4614dfabb33de1eafce706801096f98309ba2f2beca049c05b75875b0011720d6d8a6c4614dfabb33de1eafce706801096f98309ba2f2beca049c05b75875b00000","pattern":"^0x([a-fA-F0-9]{2})*$"},"effectiveAmountIn":{"type":"string","description":"The amount the quote was actually built on, expressed as a string. When the fee is deducted from the amount and the requested amount is more than the UTXOs the providers spend (those worth at least about US$1) add up to, the quote is built on that sum and this is lower than `amountIn`. Otherwise it equals `amountIn`. Absent on a failed quote.","example":"0.00044755"}},"required":["metadata","revertReason","tokenIn","amountIn","tokenOut","chainIn","chainOut","minAmountOut","amountOut","estimatedExecutionTime","estimatedGasFees","estimatedCollectedFee","amountInUSD","amountOutUSD","tokenInPrice","swapProvider","expiresAt","fees","quoteId","walletAddress","toAddress","psbt"]},"CreateSwapOperationResponseDTO":{"type":"object","properties":{"quotes":{"type":"array","description":"Array of quotes, one for each provider that was requested.","items":{"oneOf":[{"$ref":"#/components/schemas/EvmSwapDTO","title":"EVM swap quote","description":"EVM swap quote"},{"$ref":"#/components/schemas/BitcoinSwapDTO","title":"Bitcoin swap quote","description":"Bitcoin swap quote"}]}}},"required":["quotes"]},"ExecuteUserOpDTO":{"type":"object","properties":{"userOperationHash":{"description":"Unique identifier for the swap quote, required to execute the transaction.","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"quoteId":{"description":"**DEPRECATED**: Use `userOperationHash` instead. Will be ignored if `userOperationHash` is used.","deprecated":true,"example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"signature":{"description":"The signature of the transaction, required to execute the transaction.","example":"0xeecdd469465113db97d2d57949c581a080a4e7d7c528187ffc80e4f55ca68e083dcda2338666db182417608b971f5237c5807d67c7515e52f9ffe045e775ec791b","type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"},"authorization":{"description":"The signature of the authorization, required to execute the first transaction of an EIP-7702 wallet. If the authorization field was null in the operation you requested, then you don't have to send this.\n\n**ATTENTION**: viem's `signAuthorization()` returns the signature as `{r, s, yParity}` values. Use plain `sign()` with the returned `hash` field instead that already returns the signature in the expected format. Or call `serializeSignature()` after `signAuthorization()` to serialize it for this endpoint.","example":"0xc19ceec7f841a06957bf908a60cf9d06b2622405fedd7874fa74dcf75eccfe14550c9458709df67200a05e0aa5617efdd931166e90d774b916c6676b2719c65f1b","type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"},"limitOrderSignature":{"description":"Optional signature for limit orders. Required only when the quote response included `typedData`.","example":"0xeecdd469465113db97d2d57949c581a080a4e7d7c528187ffc80e4f55ca68e083dcda2338666db182417608b971f5237c5807d67c7515e52f9ffe045e775ec791b","type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"},"rwaOrderSignature":{"description":"Signature over the RWA order typed data. Required when the quote came from an RWA cross-chain provider whose response included `typedData`. The order is submitted to the destination order book before the user operation executes.","example":"0xeecdd469465113db97d2d57949c581a080a4e7d7c528187ffc80e4f55ca68e083dcda2338666db182417608b971f5237c5807d67c7515e52f9ffe045e775ec791b","type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"},"rwaApproveUserOperationHash":{"description":"Every RWA buy: hash of the sponsored destination-chain approve operation returned by the quote as `rwaApproveUserOperation.userOperationHash`. Each buy grants an exact allowance for that order, consumed by its fill — omitting this leaves the order unfillable.","type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"rwaApproveSignature":{"description":"Every RWA buy: signature over `rwaApproveUserOperationHash`. The approve operation is submitted before the swap user operation executes.","type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"},"rwaApproveAuthorization":{"description":"EIP-7702 authorization signature for the approve operation. Required when the quote response included `rwaApproveUserOperation.authorization`.","type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"},"stakeApprovalUserOperationHash":{"description":"Cross-chain liquidity entries that stake the new position: hash of the sponsored approval operation returned by the quote as `stakeApprovalUserOperation.userOperationHash`. It is submitted before the entry; omitting it leaves the position unstaked.","type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"stakeApprovalSignature":{"description":"Signature over `stakeApprovalUserOperationHash`.","type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"},"stakeApprovalAuthorization":{"description":"EIP-7702 authorization signature for the approval operation. Required when the quote response included `stakeApprovalUserOperation.authorization`.","type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"},"stellarDepositQuoteId":{"description":"Stellar savings funding: `deposit.quoteId` from `/crypto/stellar/defindex/funding-quote`. The API parks the signed authorization and submits the deposit once the bridged USDC lands on Stellar.","type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"stellarDepositSignedXdr":{"description":"Stellar savings funding: the Soroban authorization entry from `deposit.xdr`, signed by the Stellar account and base64 encoded. Only the signature may be added — the invocation, nonce and expiration must stay exactly as quoted.","type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"}},"required":["signature"]},"ExecuteUserOperationResponseDTO":{"type":"object","properties":{"userOperationHash":{"type":"string","description":"The hash of the executed user operation, represented in hexadecimal format. This serves as a unique identifier for the operation in the blockchain.","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"userOpHash":{"type":"string","deprecated":true,"description":"**DEPRECATED**: Use `userOperationHash` instead.","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"estimatedExecutionTime":{"format":"date-time","type":"string","description":"Estimated time the transaction will execute","example":"2026-04-12T14:49:12.762Z"}},"required":["userOperationHash","userOpHash","estimatedExecutionTime"]},"CreateTransferDTO":{"type":"object","properties":{"amount":{"type":"string","description":"The amount to be transferred, expressed as a decimal string.","example":"101.25"},"chainId":{"description":"The blockchain network where the transfer executes. \n Supported chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663\n- Bitcoin: 0\n- Stellar: -1","example":42161,"type":"number"},"gasFeePaymentMethod":{"type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"],"description":"Defines how the fee will be paid: `ADD_TO_AMOUNT` adds it to the input amount, while `DEDUCT_FROM_AMOUNT` subtracts it from the input amount.","example":"ADD_TO_AMOUNT"},"payGasFeeToken":{"description":"The token address (in hexadecimal format) used to pay the transaction fee.","example":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","type":"string"},"token":{"description":"The address of the token being transferred: a `C…` contract on Stellar (chain -1), an EVM address on every other chain, and the native marker for the native coin.\nAccepted formats:\n\n- **EVM** (EVM chains, and the native marker on any chain)\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0xaf88d065e77c8cc2239327c5edb3a432268e5831`\n- **Stellar contract** (only on chain -1)\n  - pattern: `^C[A-Z2-7]{55}$`\n  - example: `CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75`","example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","type":"string"},"walletAddress":{"description":"The wallet address (EVM, Bitcoin or Stellar) initiating the transfer.\nAccepted formats:\n\n- **EVM**\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0x6e397ddf51d9f15dbe0414538e7529f51f2e5464`\n- **Bitcoin**\n  - pattern: `^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$`\n  - example: `bc1ql3s9y4gyvlgardeklm9e4d8n83ytyzgwgh88tk`\n- **Stellar**\n  - pattern: `^G[A-Z2-7]{55}$`\n  - example: `GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA`","oneOf":[{"title":"EVM Address","type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464"},{"title":"Bitcoin Address","type":"string","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$","example":"bc1ql3s9y4gyvlgardeklm9e4d8n83ytyzgwgh88tk"},{"title":"Stellar Address","type":"string","pattern":"^G[A-Z2-7]{55}$","example":"GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA"}]},"toAddress":{"description":"The wallet address (EVM, Bitcoin or Stellar) receiving the transfer.\nAccepted formats:\n\n- **EVM**\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0xa7a9dcfcb65ed67e05d9c7eb49d2d74ce1f5f4f1`\n- **Bitcoin**\n  - pattern: `^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$`\n  - example: `bc1qgv5fuheq50ghnju8lafqvps7h96ztfjtcvmsnd`\n- **Stellar**\n  - pattern: `^G[A-Z2-7]{55}$`\n  - example: `GDWPYMC3PZTMGLOUAKMXRWE2BN4OMQUN6EORBE7VFYLGP6MPDBDMCPUM`","oneOf":[{"title":"EVM Address","type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0xa7a9dcfcb65ed67e05d9c7eb49d2d74ce1f5f4f1"},{"title":"Bitcoin Address","type":"string","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$","example":"bc1qgv5fuheq50ghnju8lafqvps7h96ztfjtcvmsnd"},{"title":"Stellar Address","type":"string","pattern":"^G[A-Z2-7]{55}$","example":"GDWPYMC3PZTMGLOUAKMXRWE2BN4OMQUN6EORBE7VFYLGP6MPDBDMCPUM"}]},"transactionFeePercent":{"description":"Percentage fee to be charged (0 to 99%). The fee is deducted from the input token and sent to the treasuryAddress if configured.","example":0.5,"type":"number","minimum":0,"maximum":99.99},"confirmationTarget":{"default":1,"description":"The number of blocks to wait for the transaction to be confirmed. This is only used for Bitcoin transfers. Each block is roughly 10 minutes. The smaller the number, the faster the transaction will be confirmed, but the higher the fee will be.","example":1,"type":"number","minimum":1,"maximum":100},"memo":{"description":"Optional Stellar text memo (MEMO_TEXT), included in the transaction envelope. Maximum of 28 UTF-8 bytes. Only supported for Stellar transfers.","example":"1234567890","type":"string","minLength":1},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["amount","chainId","gasFeePaymentMethod","payGasFeeToken","token","walletAddress","toAddress"]},"EvmTransferDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"token":{"type":"string","description":"The address of the token being transferred: hexadecimal on EVM chains, the asset contract (`C…`) on Stellar, the native marker for XLM and BTC.","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174"},"amountToSend":{"type":"string","description":"The amount to be transfered, expressed as a decimal string.","example":"1.26"},"amountToSendUSD":{"type":"string","description":"The amount to be transfered in USD, expressed as a decimal string.","example":"23.48"},"amountToBeReceived":{"type":"string","description":"The amount to be received, expressed as a decimal string. Example: \"1.2\".","example":"1.255"},"amountToBeReceivedUSD":{"type":"string","description":"The amount to be received in USD, expressed as a decimal string. Example: \"1.2\".","example":"23.386825396825396825"},"chain":{"type":"number","description":"The blockchain network where the transfer executes.","example":43114},"estimatedExecutionTime":{"format":"date-time","type":"string","description":"Estimated time the transaction will execute","example":"2026-04-12T14:49:12.762Z"},"estimatedGasFees":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedGasFees"}]},"estimatedCollectedFee":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedCollectedFeeDto"}]},"expiresAt":{"type":"number","description":"The expiration date of the quote.","example":1751469204210},"userOperationHash":{"type":"string","nullable":true,"description":"Unique identifier for the transfer quote, required to execute the transaction.","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"quoteId":{"type":"string","nullable":true,"deprecated":true,"description":"**DEPRECATED**: use `userOperationHash` instead.","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"revertReason":{"nullable":true,"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.","type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]},"userOperationTypedData":{"description":"EIP-712 typed data of the user operation, only present for wallets whose user operations run on EntryPoint v0.8 (EIP-7702 Simple7702Account). Its EIP-712 hash is exactly `userOperationHash`, so a hardware wallet can sign it with `eth_signTypedData_v4` and show what is being signed. Send that raw signature as the user operation signature, without the EIP-191 prefix of `signMessage`.","allOf":[{"$ref":"#/components/schemas/UserOperationTypedDataDTO"}]},"walletAddress":{"type":"string","description":"The wallet address (in hexadecimal format) initiating the transfer.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","pattern":"^0x[a-fA-F0-9]{40}$"},"toAddress":{"type":"string","description":"The wallet address (in hexadecimal format) receiving the transfer.","example":"0x89c9da1cc13daebe9caca2418c1028253636b163","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["metadata","token","amountToSend","amountToSendUSD","amountToBeReceived","amountToBeReceivedUSD","chain","estimatedExecutionTime","estimatedGasFees","estimatedCollectedFee","expiresAt","userOperationHash","quoteId","revertReason","authorization","walletAddress","toAddress"]},"BitcoinTransferDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"token":{"type":"string","description":"The address of the token being transferred: hexadecimal on EVM chains, the asset contract (`C…`) on Stellar, the native marker for XLM and BTC.","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174"},"amountToSend":{"type":"string","description":"The amount to be transfered, expressed as a decimal string.","example":"1.26"},"amountToSendUSD":{"type":"string","description":"The amount to be transfered in USD, expressed as a decimal string.","example":"23.48"},"amountToBeReceived":{"type":"string","description":"The amount to be received, expressed as a decimal string. Example: \"1.2\".","example":"1.255"},"amountToBeReceivedUSD":{"type":"string","description":"The amount to be received in USD, expressed as a decimal string. Example: \"1.2\".","example":"23.386825396825396825"},"chain":{"type":"number","description":"The blockchain network where the transfer executes.","example":43114},"estimatedExecutionTime":{"format":"date-time","type":"string","description":"Estimated time the transaction will execute","example":"2026-04-12T14:49:12.762Z"},"estimatedGasFees":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedGasFees"}]},"estimatedCollectedFee":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedCollectedFeeDto"}]},"expiresAt":{"type":"number","description":"The expiration date of the quote.","example":1751469204210},"quoteId":{"type":"string","nullable":true,"description":"Unique identifier for the Bitcoin transfer quote, required to broadcast the signed transaction.","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"walletAddress":{"type":"string","description":"The wallet address (Bitcoin format) initiating the transfer.","example":"bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$"},"toAddress":{"type":"string","description":"The wallet address (Bitcoin format) receiving the transfer.","example":"bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$"},"psbt":{"type":"string","description":"Partially signed Bitcoin transaction (PSBT) to sign when executing a Bitcoin transaction.","example":"0x70736274ff0100530200000001eef2af595c311fea74bb46fb43276eeb291e0945ecd1a897e5c4e020b86c66c76901000000ffffffff01306c3ba40b00000017a914cd49d5f5215aaaa0fdbf1bd2e454250edf8a54e287000000000001012b00743ba40b000000225120d6d8a6c4614dfabb33de1eafce706801096f98309ba2f2beca049c05b75875b0011720d6d8a6c4614dfabb33de1eafce706801096f98309ba2f2beca049c05b75875b00000","pattern":"^0x([a-fA-F0-9]{2})*$"}},"required":["metadata","token","amountToSend","amountToSendUSD","amountToBeReceived","amountToBeReceivedUSD","chain","estimatedExecutionTime","estimatedGasFees","estimatedCollectedFee","expiresAt","quoteId","walletAddress","toAddress","psbt"]},"StellarTransferDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"token":{"type":"string","description":"The address of the token being transferred: hexadecimal on EVM chains, the asset contract (`C…`) on Stellar, the native marker for XLM and BTC.","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174"},"amountToSend":{"type":"string","description":"The amount to be transfered, expressed as a decimal string.","example":"1.26"},"amountToSendUSD":{"type":"string","description":"The amount to be transfered in USD, expressed as a decimal string.","example":"23.48"},"amountToBeReceived":{"type":"string","description":"The amount to be received, expressed as a decimal string. Example: \"1.2\".","example":"1.255"},"amountToBeReceivedUSD":{"type":"string","description":"The amount to be received in USD, expressed as a decimal string. Example: \"1.2\".","example":"23.386825396825396825"},"chain":{"type":"number","description":"The blockchain network where the transfer executes.","example":43114},"estimatedExecutionTime":{"format":"date-time","type":"string","description":"Estimated time the transaction will execute","example":"2026-04-12T14:49:12.762Z"},"estimatedGasFees":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedGasFees"}]},"estimatedCollectedFee":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedCollectedFeeDto"}]},"expiresAt":{"type":"number","description":"The expiration date of the quote.","example":1751469204210},"quoteId":{"type":"string","nullable":true,"description":"Unique identifier for the Stellar transfer quote, required to broadcast the signed transaction. It is the hash of the unsigned transaction, which signing does not change, so it also identifies the transaction on chain as the `inner_transaction_hash` of the broadcast fee-bump.","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"walletAddress":{"type":"string","description":"The wallet address (Stellar format) initiating the transfer.","example":"GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA","pattern":"^G[A-Z2-7]{55}$"},"toAddress":{"type":"string","description":"The wallet address (Stellar format) receiving the transfer.","example":"GDWPYMC3PZTMGLOUAKMXRWE2BN4OMQUN6EORBE7VFYLGP6MPDBDMCPUM","pattern":"^G[A-Z2-7]{55}$"},"xdr":{"type":"string","description":"Unsigned Stellar transaction envelope, base64 encoded (XDR). Sign it with the wallet key and post it to `/crypto/stellar/broadcast`.","example":"AAAAAgAAAACacWlY3BacXSKePcnYZT5sx1MRH4BmWpl0laqdXx9ZigAAAGQDcl3UAAAAAQAAAAEAAAAAAAAAAAAAAABpKqLLAAAAAAAAAAEAAAAAAAAAAQAAAADs/DBbfmbDLdQCmXjYmgt45kKN8R0Qk/UuFmf5jxhGwQAAAAAAAAAAAJiWgAAAAAAAAAAA"},"createsDestinationAccount":{"type":"boolean","description":"Whether this transaction creates the destination account instead of paying an existing one. Only ever true for native XLM: the transferred amount is what funds the new account, so it has to cover the minimum balance.","example":false},"memo":{"type":"string","nullable":true,"description":"Text memo (MEMO_TEXT) embedded in the transaction envelope, or null when the transfer has no memo.","example":"1234567890"}},"required":["metadata","token","amountToSend","amountToSendUSD","amountToBeReceived","amountToBeReceivedUSD","chain","estimatedExecutionTime","estimatedGasFees","estimatedCollectedFee","expiresAt","quoteId","walletAddress","toAddress","xdr","createsDestinationAccount","memo"]},"CreateTransferOperationResponseDTO":{"type":"object","properties":{"transfer":{"description":"Details about the transfer","oneOf":[{"$ref":"#/components/schemas/EvmTransferDTO","description":"EVM Transfer Operation"},{"$ref":"#/components/schemas/BitcoinTransferDTO","description":"Bitcoin Transfer Operation"},{"$ref":"#/components/schemas/StellarTransferDTO","description":"Stellar Transfer Operation"}]}},"description":"Transfer Operation","required":["transfer"]},"ChainDTO":{"type":"object","properties":{"id":{"type":"number","description":"EVM ID of the blockchain","example":137},"name":{"type":"string","description":"Name of the blockchain","example":"POLYGON"},"logo":{"type":"string","description":"URL for a logo of the blockchain","example":"https://logopolygon.com"}},"description":"Basic information about a blockchain","required":["id","name","logo"]},"ListChainsDTO":{"type":"object","properties":{"chains":{"description":"List of chains supported by Notus","type":"array","items":{"$ref":"#/components/schemas/ChainDTO"}}},"required":["chains"]},"TokenDTO":{"type":"object","properties":{"id":{"type":"string","description":"Our internal ID for the token","example":"1370x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6"},"address":{"type":"string","description":"The address of the token as its blockchain writes it: a checksummed `0x` address on EVM chains, a base58 mint on Solana, a `C…` contract on Stellar, and `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE` for the native coin of any chain","example":"0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6"},"name":{"type":"string","description":"Full name of the token","example":"Wrapped Bitcoin"},"symbol":{"type":"string","description":"Ticker symbol of the token","example":"WBTC"},"coingeckoId":{"type":"object","description":"The CoinGecko ID of the token, if available","example":"wrapped-bitcoin","nullable":true},"decimals":{"type":"number","description":"Maximum amount of decimals this token supports","example":8},"logo":{"type":"object","description":"URL to an image of the logo of the token","example":"https://wbtclogo.com","nullable":true},"marketCap":{"type":"number","description":"Current estimated market capitalization of this token in US dollars across all chains","example":45445843627},"chain":{"description":"Details about the chain this token is available","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"isWhitelistedInProject":{"type":"boolean","description":"Whether this token is whitelisted in the project","example":true},"rwaProvider":{"type":"object","description":"RWA provider for tokenized real-world assets","example":"ONDO","nullable":true}},"required":["id","address","name","symbol","coingeckoId","decimals","logo","marketCap","chain"]},"ListTokensOutputDTO":{"type":"object","properties":{"tokens":{"description":"The list of whitelisted tokens","type":"array","items":{"$ref":"#/components/schemas/TokenDTO"}},"page":{"type":"number","description":"The current page","example":5},"totalPerPage":{"type":"number","description":"Amount of tokens on this page","example":25},"total":{"type":"number","description":"Total amount of tokens in the whitelist","example":482}},"required":["tokens","page","totalPerPage","total"]},"CreateEoaTransferDTO":{"type":"object","properties":{"amount":{"type":"string","description":"The amount to be transferred, expressed as a decimal string.","example":"101.25"},"chainId":{"description":"The blockchain network where the transfer executes. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"token":{"description":"The address (in hexadecimal format) of the token being transferred. If you want to deposit native tokens, set this value to `0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee`.","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","type":"string"},"fromAddress":{"description":"The wallet address (in hexadecimal format) initiating the transfer.","example":"0x6648e365a1b072797ee871d45691aead31b9d016","type":"string"}},"required":["amount","chainId","token","fromAddress"]},"EoaTransferDTO":{"type":"object","properties":{"from":{"type":"string","description":"The wallet address (in hexadecimal format) initiating the transfer.","example":"0x6648e365a1b072797ee871d45691aead31b9d016","pattern":"^0x[a-fA-F0-9]{40}$"},"to":{"type":"string","description":"The transaction recipient. On ERC-20 transfers, this will be the token address. With native token transfers, it will be the wallet address.","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string","description":"The amount to be transferred, expressed as a BigNumber string. With ERC-20 transfers this value is 0, if it's a native token transfer this value is the amount to be transferred.","example":"101250000000000000000"},"data":{"type":"string","description":"The calldata of the transaction.","example":"0xa9059cbb000000000000000000000000a2acc967a9fc4fd5d18351d06deb9b8718c183330000000000000000000000000000000000000000000000000E0D1F62B3154000","pattern":"^0x([a-fA-F0-9]{2})*$"},"estimateGasCost":{"type":"string","description":"The estimated gas cost of the transaction in native currency.","example":"0.452"}},"required":["from","to","value","data","estimateGasCost"]},"CreateEoaTransferOperationResponseDTO":{"type":"object","properties":{"transfer":{"description":"Transfer operation data and details","allOf":[{"$ref":"#/components/schemas/EoaTransferDTO"}]}},"required":["transfer"]},"CreateCustomUserOperationDTO":{"type":"object","properties":{"chainId":{"description":"Chain where the operation is to be started. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663{","example":42161,"type":"number"},"operations":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"address":{"description":"Address of the smart contract whose function will be executed, or a destination address if sending native tokens.","example":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","type":"string"},"methodSignature":{"nullable":true,"type":"string","description":"The function in the smart contract to execute.","example":"function approve(address, amount)"},"arguments":{"nullable":true,"type":"array","items":{},"description":"List of arguments to be given to the function parameters, same order as defined in the function.","example":["0xb33eaad8d922b1083446dc23f610c2567fb5180f","10000000000000000000"]},"value":{"description":"Amount of native token this operation needs to send. Do not get confused with their wrapped counterparts that generally start with **W**, those are ERC-20 tokens.","example":"10000000000000000000","type":"string"}},"required":["address","value"],"description":"An operation with its execution data more human readable. This is the recommended way, as it reduces the risk of sending malformed data.","title":"Decoded Operation"},{"type":"object","properties":{"address":{"description":"Address of the smart contract whose function will be executed, or a destination address if sending native tokens.","example":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","type":"string"},"data":{"description":"The data to execute in its encoded form, must have method signature and aligned calldata. To be sure, the first 4 bytes (first 8 hexadecimals) should not be zero, as that's the method to be called, and the length of the string should be even and a multiple of 64 plus 10. (8 characters for method signature + 2 for the 0x that identifies a hexadecimal notation number) This rule is enforced by our endpoint.","example":"0xa9059cbb000000000000000000000000016606acc6b0cfe537acc221e3bf1bb44b4049ee0000000000000000000000000000000000000000000000000000000005f5e100","type":"string","pattern":"^0x[a-fA-F0-9]{8}([a-fA-F0-9]{64})*$"},"value":{"description":"Amount of native token this operation needs to send. Do not get confused with their wrapped counterparts that generally start with **W**, those are ERC-20 tokens.","example":"10000000000000000000","type":"string"}},"required":["address","data","value"],"description":"An operation with its execution data already encoded. We do not recommend using this, instead use the decoded form as it's easier to debug. This option is meant for APIs or SDKs that return the data already encoded, so you don't have to decode it.","title":"Encoded Operation"}]},"description":"List of operations to execute, the order here is the order of execution."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}},"payGasFeeToken":{"description":"Token that will be used to cover gas fees. This is required, the optional is only to support the deprecated field.","example":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","type":"string"},"payGasFeeTokenAddress":{"description":"**DEPRECATED**: use `payGasFeeToken` instead.","example":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","deprecated":true,"type":"string"},"walletAddress":{"description":"Smart wallet that will be executing these operations","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["chainId","operations","walletAddress"]},"UserOperationSenderDTO":{"type":"object","properties":{"walletAddress":{"type":"string","description":"Smart wallet address","example":"0x1234567890abcdef1234567890abcdef12345678","pattern":"^0x[a-fA-F0-9]{40}$"},"accountAbstraction":{"type":"string","description":"**DEPRECATED**: use `walletAddress` instead","example":"0x1234567890abcdef1234567890abcdef12345678","pattern":"^0x[a-fA-F0-9]{40}$","deprecated":true},"externallyOwnedAccount":{"type":"string","description":"Externally owned account address","example":"0x1234567890abcdef1234567890abcdef12345678","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["walletAddress","accountAbstraction","externallyOwnedAccount"]},"UserOperationFactoryDTO":{"type":"object","properties":{"data":{"type":"string","description":"Factory data","example":"0x1234567890abcdef","nullable":true,"pattern":"^0x([a-fA-F0-9]{2})*$"},"address":{"type":"string","description":"Factory address","example":"0x1234567890abcdef1234567890abcdef12345678","pattern":"^0x[a-fA-F0-9]{40}$"},"entryPointVersion":{"type":"string","description":"Entry point version","example":"v0.6"}},"required":["data","address","entryPointVersion"]},"CustomUserOperationDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"revertReason":{"nullable":true,"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.","type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]},"userOperationTypedData":{"description":"EIP-712 typed data of the user operation, only present for wallets whose user operations run on EntryPoint v0.8 (EIP-7702 Simple7702Account). Its EIP-712 hash is exactly `userOperationHash`, so a hardware wallet can sign it with `eth_signTypedData_v4` and show what is being signed. Send that raw signature as the user operation signature, without the EIP-191 prefix of `signMessage`.","allOf":[{"$ref":"#/components/schemas/UserOperationTypedDataDTO"}]},"chainIn":{"description":"Chain of the source network","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"chainOut":{"description":"Chain of the destination network","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"chainIdIn":{"type":"number","description":"**DEPRECATED**: Use `chainIn.id` instead. Chain ID of the source network.","example":1,"deprecated":true},"chainIdOut":{"type":"number","description":"**DEPRECATED**: Use `chainOut.id` instead. Chain ID of the destination network.","example":137,"deprecated":true},"sender":{"description":"Sender address of the user operation","allOf":[{"$ref":"#/components/schemas/UserOperationSenderDTO"}]},"nonce":{"type":"string","description":"Nonce of the user operation","example":"1"},"signature":{"type":"string","description":"Signature of the user operation","pattern":"^0x([a-fA-F0-9]{2})*$","example":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"},"callGasLimit":{"type":"string","description":"Gas limit for the call","example":"100000"},"verificationGasLimit":{"type":"string","description":"Gas limit for verification","example":"50000"},"preVerificationGas":{"type":"string","description":"Gas used before the verification","example":"21000"},"maxFeePerGas":{"type":"string","description":"Maximum fee per gas","example":"20000000000"},"maxPriorityFeePerGas":{"type":"string","description":"Maximum priority fee per gas","example":"1500000000"},"maxGasFeeNative":{"type":"string","description":"Maximum gas fee in native currency","example":"0.01"},"maxGasFeeToken":{"type":"string","description":"Maximum gas fee in token","example":"0.5"},"payFeesToken":{"type":"string","description":"Token used to pay fees. On a Stellar CCTP redeem, the USDC contract (`C…`) on Stellar.","example":"0xabcdef1234567890abcdef1234567890abcdef12","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$"},"factory":{"description":"Factory address","allOf":[{"$ref":"#/components/schemas/UserOperationFactoryDTO"}]},"paymaster":{"type":"string","description":"Paymaster address","example":"0xabcdef1234567890abcdef1234567890abcdef12","pattern":"^0x[a-fA-F0-9]{40}$","nullable":true},"paymasterData":{"type":"string","description":"Paymaster data","example":"0x1234567890abcdef1234567890abcdef","nullable":true,"pattern":"^0x([a-fA-F0-9]{2})*$"},"paymasterPostOpGasLimit":{"type":"string","description":"Paymaster post operation gas limit","example":"30000","nullable":true},"paymasterVerificationGasLimit":{"type":"string","description":"Paymaster verification gas limit","example":"40000","nullable":true},"expiresAt":{"type":"string","description":"Expiration date of the user operation","example":"2023-12-31T23:59:59.999Z"},"projectId":{"type":"string","description":"Project ID","example":"123e4567-e89b-12d3-a456-426614174000"},"organizationId":{"type":"string","description":"Organization ID","example":"123e4567-e89b-12d3-a456-426614174000"},"id":{"type":"object","description":"Unique identifier of the user operation","example":"123e4567-e89b-12d3-a456-426614174000","nullable":true},"userOperationHash":{"type":"object","description":"Hash of the user operation","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","nullable":true},"hash":{"type":"object","deprecated":true,"description":"**DEPRECATED**: Use `userOperationHash` instead","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","nullable":true}},"required":["metadata","revertReason","authorization","chainIn","chainOut","chainIdIn","chainIdOut","sender","nonce","signature","callGasLimit","verificationGasLimit","preVerificationGas","maxFeePerGas","maxPriorityFeePerGas","maxGasFeeNative","factory","expiresAt","projectId","organizationId","id","userOperationHash","hash"]},"CreateCustomUserOperationResponseDTO":{"type":"object","properties":{"userOperation":{"description":"The custom operation","allOf":[{"$ref":"#/components/schemas/CustomUserOperationDTO"}]}},"required":["userOperation"]},"EstimatedGasFeesDTO":{"type":"object","properties":{"payGasFeeToken":{"type":"string","description":"Address of the token used to pay the fee. On a Stellar CCTP redeem, the USDC contract (`C…`) on Stellar.","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$","example":"0xc2132d05d31c914a87c6611c10748aeb04b58e8f"},"gasFeeTokenAmount":{"type":"string","description":"Amount paid to cover gas fees in the token itself, this is how much really left the user wallet.","example":"12.345"},"gasFeeTokenAmountUSD":{"type":"string","description":"Amount paid to cover gas fees in USD, this is a conversion done at the time the quote was created..","example":"0.321"},"maxGasFeeNative":{"type":"string","description":"Maximum cost, in the native chain currency, of each unit of gas that this transaction will accept. This value is constantly updated based on the state of the blockchain. This value is multiplied by the amount of gas the transaction uses to set a cost of the transaction."}},"required":["payGasFeeToken","gasFeeTokenAmount","gasFeeTokenAmountUSD","maxGasFeeNative"]},"TokenDetailsDTO":{"type":"object","properties":{"address":{"type":"string","description":"Address of the token: hexadecimal on EVM chains, the USDC contract (`C…`) on the Stellar side of a CCTP route.","example":"0x4ed141110f6eeeaba9a1df36d8c26f684d2475dc","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$"},"decimals":{"type":"number","description":"Decimals of the token","example":18},"amount":{"type":"string","description":"Amount of tokens","example":"1"}},"required":["address","decimals","amount"]},"SwapUserOperationDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Unique identifier of the user operation","example":"123e4567-e89b-12d3-a456-426614174000"},"userOperationHash":{"type":"string","description":"Hash of the user operation","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"},"hash":{"type":"string","deprecated":true,"description":"**DEPRECATED**: Use `userOperationHash` instead","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"},"revertReason":{"nullable":true,"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.","type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]},"userOperationTypedData":{"description":"EIP-712 typed data of the user operation, only present for wallets whose user operations run on EntryPoint v0.8 (EIP-7702 Simple7702Account). Its EIP-712 hash is exactly `userOperationHash`, so a hardware wallet can sign it with `eth_signTypedData_v4` and show what is being signed. Send that raw signature as the user operation signature, without the EIP-191 prefix of `signMessage`.","allOf":[{"$ref":"#/components/schemas/UserOperationTypedDataDTO"}]},"chainIn":{"description":"Chain of the source network","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"chainOut":{"description":"Chain of the destination network","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"chainIdIn":{"type":"number","description":"**DEPRECATED**: Use `chainIn.id` instead. Chain ID of the source network.","example":1,"deprecated":true},"chainIdOut":{"type":"number","description":"**DEPRECATED**: Use `chainOut.id` instead. Chain ID of the destination network.","example":137,"deprecated":true},"sender":{"description":"Sender address of the user operation","allOf":[{"$ref":"#/components/schemas/UserOperationSenderDTO"}]},"nonce":{"type":"string","description":"Nonce of the user operation","example":"1"},"signature":{"type":"string","description":"Signature of the user operation","pattern":"^0x([a-fA-F0-9]{2})*$","example":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"},"callGasLimit":{"type":"string","description":"Gas limit for the call","example":"100000"},"verificationGasLimit":{"type":"string","description":"Gas limit for verification","example":"50000"},"preVerificationGas":{"type":"string","description":"Gas used before the verification","example":"21000"},"maxFeePerGas":{"type":"string","description":"Maximum fee per gas","example":"20000000000"},"maxPriorityFeePerGas":{"type":"string","description":"Maximum priority fee per gas","example":"1500000000"},"maxGasFeeNative":{"type":"string","description":"Maximum gas fee in native currency","example":"0.01"},"maxGasFeeToken":{"type":"string","description":"Maximum gas fee in token","example":"0.5"},"payFeesToken":{"type":"string","description":"Token used to pay fees. On a Stellar CCTP redeem, the USDC contract (`C…`) on Stellar.","example":"0xabcdef1234567890abcdef1234567890abcdef12","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$"},"factory":{"description":"Factory address","allOf":[{"$ref":"#/components/schemas/UserOperationFactoryDTO"}]},"paymaster":{"type":"string","description":"Paymaster address","example":"0xabcdef1234567890abcdef1234567890abcdef12","pattern":"^0x[a-fA-F0-9]{40}$","nullable":true},"paymasterData":{"type":"string","description":"Paymaster data","example":"0x1234567890abcdef1234567890abcdef","nullable":true,"pattern":"^0x([a-fA-F0-9]{2})*$"},"paymasterPostOpGasLimit":{"type":"string","description":"Paymaster post operation gas limit","example":"30000","nullable":true},"paymasterVerificationGasLimit":{"type":"string","description":"Paymaster verification gas limit","example":"40000","nullable":true},"expiresAt":{"type":"string","description":"Expiration date of the user operation","example":"2023-12-31T23:59:59.999Z"},"projectId":{"type":"string","description":"Project ID","example":"123e4567-e89b-12d3-a456-426614174000"},"organizationId":{"type":"string","description":"Organization ID","example":"123e4567-e89b-12d3-a456-426614174000"},"amountIn":{"type":"string","description":"Amount of tokens to swap","example":"1"},"amountInUSD":{"type":"string","description":"USD value of input amount","example":"100.50","nullable":true},"amountOut":{"type":"string","description":"Minimum amount of tokens to receive","example":"0.95"},"amountOutUSD":{"type":"string","description":"USD value of output amount","example":"98.75","nullable":true},"estimatedCollectedFee":{"description":"Details of the estimated fees for the swap.","allOf":[{"$ref":"#/components/schemas/EstimatedCollectedFeeDto"}]},"estimatedGasFees":{"description":"Details of the estimated gas fees for the swap.","allOf":[{"$ref":"#/components/schemas/EstimatedGasFeesDTO"}]},"collectedFee":{"type":"string","description":"**DEPRECATED**: Use `estimatedCollectedFee` instead. Fee collected for the swap","example":"0.3"},"collectedFeeReceiver":{"type":"string","description":"**DEPRECATED** Address receiving the collected fee","example":"0x3285072a8dd001669e780838fc1eb1095f2c736b","nullable":true,"pattern":"^0x[a-fA-F0-9]{40}$"},"estimatedDurationInSeconds":{"type":"number","description":"Estimated duration of the swap in seconds","example":60},"provider":{"type":"string","description":"Provider used for the swap","example":"RANGO","nullable":true},"providerLogo":{"type":"object","description":"URL to the provider logo","example":"https://assets.notus.team/rango.jpg"},"providerName":{"type":"string","description":"Name of the swap provider","example":"Rango"},"requestId":{"type":"string","description":"Request ID from the provider","example":"req_123456789","nullable":true},"status":{"type":"string","description":"Status of the swap operation","example":"COMPLETED"},"swapType":{"type":"string","description":"Type of swap (same-chain or cross-chain)","example":"SWAP"},"toAddress":{"type":"string","description":"Destination address for the swapped tokens. Stellar accounts appear on CCTP fundings, whose destination chain is -1, and base58 Solana accounts on swaps into Solana, chain -501.","example":"0x6B175474E89094C44Da98b954EedeAC495271d0F","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$ | ^0x[a-fA-F0-9]{40}$ | ^G[A-Z2-7]{55}$ | ^[1-9A-HJ-NP-Za-km-z]{32,44}$"},"tokenIn":{"description":"Input token details","allOf":[{"$ref":"#/components/schemas/TokenDetailsDTO"}]},"tokenOut":{"description":"Output token details","allOf":[{"$ref":"#/components/schemas/TokenDetailsDTO"}]},"txHash":{"type":"string","description":"Transaction hash on the input chain","example":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","nullable":true,"pattern":"^0x[a-fA-F0-9]{64}$"},"txHashChainOut":{"type":"string","description":"Transaction hash on the output chain (for cross-chain swaps). On a swap into Solana, chain -501, the base58 transaction signature.","example":"0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890","nullable":true},"usedGasFee":{"type":"string","description":"Gas fee used for the transaction","example":"0.005","nullable":true},"webhookUrl":{"type":"string","description":"Webhook URL for notifications","example":"https://example.com/webhook","nullable":true}},"required":["metadata","id","userOperationHash","hash","revertReason","authorization","chainIn","chainOut","chainIdIn","chainIdOut","sender","nonce","signature","callGasLimit","verificationGasLimit","preVerificationGas","maxFeePerGas","maxPriorityFeePerGas","maxGasFeeNative","factory","expiresAt","projectId","organizationId","amountIn","amountOut","estimatedCollectedFee","estimatedGasFees","collectedFee","estimatedDurationInSeconds","providerLogo","providerName","status","swapType","toAddress","tokenIn","tokenOut"]},"CryptoWithdrawUserOperationDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Unique identifier of the user operation","example":"123e4567-e89b-12d3-a456-426614174000"},"userOperationHash":{"type":"string","description":"Hash of the user operation","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"},"hash":{"type":"string","deprecated":true,"description":"**DEPRECATED**: Use `userOperationHash` instead","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"},"revertReason":{"nullable":true,"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.","type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]},"userOperationTypedData":{"description":"EIP-712 typed data of the user operation, only present for wallets whose user operations run on EntryPoint v0.8 (EIP-7702 Simple7702Account). Its EIP-712 hash is exactly `userOperationHash`, so a hardware wallet can sign it with `eth_signTypedData_v4` and show what is being signed. Send that raw signature as the user operation signature, without the EIP-191 prefix of `signMessage`.","allOf":[{"$ref":"#/components/schemas/UserOperationTypedDataDTO"}]},"chainIn":{"description":"Chain of the source network","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"chainOut":{"description":"Chain of the destination network","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"chainIdIn":{"type":"number","description":"**DEPRECATED**: Use `chainIn.id` instead. Chain ID of the source network.","example":1,"deprecated":true},"chainIdOut":{"type":"number","description":"**DEPRECATED**: Use `chainOut.id` instead. Chain ID of the destination network.","example":137,"deprecated":true},"sender":{"description":"Sender address of the user operation","allOf":[{"$ref":"#/components/schemas/UserOperationSenderDTO"}]},"nonce":{"type":"string","description":"Nonce of the user operation","example":"1"},"signature":{"type":"string","description":"Signature of the user operation","pattern":"^0x([a-fA-F0-9]{2})*$","example":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"},"callGasLimit":{"type":"string","description":"Gas limit for the call","example":"100000"},"verificationGasLimit":{"type":"string","description":"Gas limit for verification","example":"50000"},"preVerificationGas":{"type":"string","description":"Gas used before the verification","example":"21000"},"maxFeePerGas":{"type":"string","description":"Maximum fee per gas","example":"20000000000"},"maxPriorityFeePerGas":{"type":"string","description":"Maximum priority fee per gas","example":"1500000000"},"maxGasFeeNative":{"type":"string","description":"Maximum gas fee in native currency","example":"0.01"},"maxGasFeeToken":{"type":"string","description":"Maximum gas fee in token","example":"0.5"},"payFeesToken":{"type":"string","description":"Token used to pay fees. On a Stellar CCTP redeem, the USDC contract (`C…`) on Stellar.","example":"0xabcdef1234567890abcdef1234567890abcdef12","pattern":"^0x[a-fA-F0-9]{40}$|^C[A-Z2-7]{55}$"},"factory":{"description":"Factory address","allOf":[{"$ref":"#/components/schemas/UserOperationFactoryDTO"}]},"paymaster":{"type":"string","description":"Paymaster address","example":"0xabcdef1234567890abcdef1234567890abcdef12","pattern":"^0x[a-fA-F0-9]{40}$","nullable":true},"paymasterData":{"type":"string","description":"Paymaster data","example":"0x1234567890abcdef1234567890abcdef","nullable":true,"pattern":"^0x([a-fA-F0-9]{2})*$"},"paymasterPostOpGasLimit":{"type":"string","description":"Paymaster post operation gas limit","example":"30000","nullable":true},"paymasterVerificationGasLimit":{"type":"string","description":"Paymaster verification gas limit","example":"40000","nullable":true},"expiresAt":{"type":"string","description":"Expiration date of the user operation","example":"2023-12-31T23:59:59.999Z"},"projectId":{"type":"string","description":"Project ID","example":"123e4567-e89b-12d3-a456-426614174000"},"organizationId":{"type":"string","description":"Organization ID","example":"123e4567-e89b-12d3-a456-426614174000"},"amountIn":{"type":"string","description":"Amount of tokens to withdraw","example":"1"},"amountOut":{"type":"string","description":"Amount of tokens to receive","example":"1"},"estimatedCollectedFee":{"description":"Details of the estimated fees for the swap.","allOf":[{"$ref":"#/components/schemas/EstimatedCollectedFeeDto"}]},"estimatedGasFees":{"description":"Details of the estimated gas fees for the swap.","allOf":[{"$ref":"#/components/schemas/EstimatedGasFeesDTO"}]},"collectedFee":{"type":"string","description":"**DEPRECATED**: Use `estimatedCollectedFee` instead. Fee collected for the withdrawal","example":"0.3"},"collectedFeeReceiver":{"type":"string","description":"**DEPRECATED** Address receiving the collected fee","example":"0x3285072a8dd001669e780838fc1eb1095f2c736b","pattern":"^0x[a-fA-F0-9]{40}$"},"estimatedDurationInSeconds":{"type":"number","description":"Estimated duration of the withdrawal in seconds","example":60},"status":{"type":"string","description":"Status of the withdrawal operation","example":"completed"},"toAddress":{"type":"string","description":"Destination address for the withdrawn tokens","example":"0x6B175474E89094C44Da98b954EedeAC495271d0F","pattern":"^0x[a-fA-F0-9]{40}$"},"tokenIn":{"description":"Input token details","allOf":[{"$ref":"#/components/schemas/TokenDetailsDTO"}]},"tokenOut":{"description":"Output token details","allOf":[{"$ref":"#/components/schemas/TokenDetailsDTO"}]}},"required":["metadata","id","userOperationHash","hash","revertReason","authorization","chainIn","chainOut","chainIdIn","chainIdOut","sender","nonce","signature","callGasLimit","verificationGasLimit","preVerificationGas","maxFeePerGas","maxPriorityFeePerGas","maxGasFeeNative","factory","expiresAt","projectId","organizationId","amountIn","amountOut","estimatedCollectedFee","estimatedGasFees","collectedFee","collectedFeeReceiver","estimatedDurationInSeconds","status","toAddress","tokenIn","tokenOut"]},"GetUserOperationDTO":{"type":"object","properties":{"userOperation":{"oneOf":[{"$ref":"#/components/schemas/CustomUserOperationDTO","description":"Custom User Operation"},{"$ref":"#/components/schemas/SwapUserOperationDTO","description":"Swap Operation"},{"$ref":"#/components/schemas/CryptoWithdrawUserOperationDTO","description":"Crypto Withdraw Operation"}]}},"required":["userOperation"]},"GetUserOperationTypedDataDTO":{"type":"object","properties":{"userOperationTypedData":{"description":"EIP-712 typed data of the user operation, only present for wallets whose user operations run on EntryPoint v0.8 (EIP-7702 Simple7702Account). Its EIP-712 hash is exactly `userOperationHash`, so a hardware wallet can sign it with `eth_signTypedData_v4` and show what is being signed. Send that raw signature as the user operation signature, without the EIP-191 prefix of `signMessage`. Null when the user operation does not run on EntryPoint v0.8.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/UserOperationTypedDataDTO"}]},"expiresAt":{"type":"number","description":"When the user operation expires, in milliseconds since the Unix epoch. It must be executed before then.","example":1792153033000}},"required":["userOperationTypedData","expiresAt"]},"CreateBatchOperationDTO":{"type":"object","properties":{"walletAddress":{"description":"The wallet address (in hexadecimal format) initiating the operation.","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","type":"string"},"chainId":{"description":"The blockchain network where the operation originates. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"operations":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","description":"Define a token transfer to another address","enum":["transfer"]},"params":{"type":"object","properties":{"amount":{"type":"string","description":"The amount to be transferred, expressed as a decimal string.","example":"101.25"},"gasFeePaymentMethod":{"type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"],"description":"Defines how the fee will be paid: `ADD_TO_AMOUNT` adds it to the input amount, while `DEDUCT_FROM_AMOUNT` subtracts it from the input amount.","example":"ADD_TO_AMOUNT"},"payGasFeeToken":{"description":"The token address (in hexadecimal format) used to pay the transaction fee.","example":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","type":"string"},"token":{"description":"The address (in hexadecimal format) of the token being transferred.","example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","type":"string"},"toAddress":{"description":"The wallet address (EVM, Bitcoin or Stellar) receiving the transfer.\nAccepted formats:\n\n- **EVM**\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0xa7a9dcfcb65ed67e05d9c7eb49d2d74ce1f5f4f1`\n- **Bitcoin**\n  - pattern: `^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$`\n  - example: `bc1qgv5fuheq50ghnju8lafqvps7h96ztfjtcvmsnd`\n- **Stellar**\n  - pattern: `^G[A-Z2-7]{55}$`\n  - example: `GDWPYMC3PZTMGLOUAKMXRWE2BN4OMQUN6EORBE7VFYLGP6MPDBDMCPUM`","oneOf":[{"title":"EVM Address","type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0xa7a9dcfcb65ed67e05d9c7eb49d2d74ce1f5f4f1"},{"title":"Bitcoin Address","type":"string","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$","example":"bc1qgv5fuheq50ghnju8lafqvps7h96ztfjtcvmsnd"},{"title":"Stellar Address","type":"string","pattern":"^G[A-Z2-7]{55}$","example":"GDWPYMC3PZTMGLOUAKMXRWE2BN4OMQUN6EORBE7VFYLGP6MPDBDMCPUM"}]},"transactionFeePercent":{"description":"Percentage fee to be charged (0 to 99%). The fee is deducted from the input token and sent to the treasuryAddress if configured.","example":0.5,"type":"number","minimum":0,"maximum":99.99},"confirmationTarget":{"default":1,"description":"The number of blocks to wait for the transaction to be confirmed. This is only used for Bitcoin transfers. Each block is roughly 10 minutes. The smaller the number, the faster the transaction will be confirmed, but the higher the fee will be.","example":1,"type":"number","minimum":1,"maximum":100},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["amount","gasFeePaymentMethod","payGasFeeToken","token","toAddress"],"description":"Parameters to execute a transfer"}},"required":["type","params"],"title":"Transfer"},{"type":"object","properties":{"type":{"type":"string","description":"Define a swap operation between tokens","enum":["swap"]},"params":{"type":"object","properties":{"amountIn":{"type":"string","description":"The amount to be swapped, expressed as a decimal string.","example":"1.2"},"chainIdOut":{"description":"The blockchain network where the swapped asset will be sent to. \n Supported chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663\n- Bitcoin: 0\n- Stellar: -1","example":43114,"type":"number"},"routeProfile":{"default":"QUICKEST_QUOTE","description":"Route profiles define the order and which quotes are returned in the array. The order is always from the \"best\" to the \"worst\". The following profiles are available:\n- **QUICKEST_QUOTE**: Returns a quote as soon as one that works is found. This is the quickest endpoint as it returns the first that can be executed, if none can be executed it returns all of them to show the reason they could not execute.\n- **FASTEST_BRIDGE**: Useful only for cross-chain swaps. Returns the cross-chain route that should execute on all chains at the fastest time possible. This is a slow query, refrain from calling it too frequently.\n- **BEST_OUTPUT**: Aggregates multiple swap providers to find the optimal path, that maximizes the returns by considering the guaranteed minimum output and deducting execution fees. This is a slow query, refrain from calling it too frequently.","example":"QUICKEST_QUOTE","type":"string","enum":["QUICKEST_QUOTE","FASTEST_BRIDGE","BEST_OUTPUT"]},"gasFeePaymentMethod":{"type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"],"description":"Defines how the fee will be paid: \"ADD_TO_AMOUNT\" adds it to the input amount, while \"DEDUCT_FROM_AMOUNT\" subtracts it from the input amount."},"payGasFeeToken":{"description":"The token address (in hexadecimal format) used to pay the transaction fee.","example":"0xc2132d05d31c914a87c6611c10748aeb04b58e8f","type":"string"},"tokenIn":{"description":"The address (in hexadecimal format) of the token being swapped from.","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","type":"string"},"tokenOut":{"description":"The address (in hexadecimal format) of the token being swapped to.","example":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","type":"string"},"toAddress":{"description":"The address (EVM, Bitcoin or Stellar) receiving the swap. Generally equal to the `walletAddress`, but can be another address. A Stellar account is only accepted for a USDC transfer to `chainIdOut` -1, settled through Circle CCTP, and it must already be active and hold an authorized USDC trustline.\nAccepted formats:\n\n- **EVM**\n  - pattern: `^0x[a-fA-F0-9]{40}$`\n  - example: `0x6e397ddf51d9f15dbe0414538e7529f51f2e5464`\n- **Bitcoin**\n  - pattern: `^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$`\n  - example: `bc1ql3s9y4gyvlgardeklm9e4d8n83ytyzgwgh88tk`\n- **Stellar**\n  - pattern: `^G[A-Z2-7]{55}$`\n  - example: `GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA`","oneOf":[{"title":"EVM Address","type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464"},{"title":"Bitcoin Address","type":"string","pattern":"^(?:[13][a-km-zA-HJ-NP-Z1-9]{25,35}|bc1q[02-9ac-hj-np-z]{38}|bc1q[02-9ac-hj-np-z]{58}|bc1p[02-9ac-hj-np-z]{10,70})$","example":"bc1ql3s9y4gyvlgardeklm9e4d8n83ytyzgwgh88tk"},{"title":"Stellar Address","type":"string","pattern":"^G[A-Z2-7]{55}$","example":"GCNHC2KY3QLJYXJCTY64TWDFHZWMOUYRD6AGMWUZOSK2VHK7D5MYUYZA"}]},"transactionFeePercent":{"description":"Percentage fee to be charged (0 to 99%). The fee is deducted from the input token and sent to the treasuryAddress if configured. If not configured the value is zero.","example":1.5,"type":"number","minimum":0,"maximum":99.99},"slippage":{"default":0.5,"description":"Optional parameter controlling the maximum deviation allowed of the expected price of a trade and the actual price at which the trade is executed, with a minimum value of 0.5 and a maximum value of 99, default is 0.5, where 1 unit equals 1%.","example":0.5,"type":"number","minimum":0.5,"maximum":99},"extraFee":{"description":"Optional extra fee that can be charged in addition to the transaction fee (configured in the dashboard or via `transactionFeePercent`). This extra fee is deducted from the input token and sent to the specified `toAddress`, allowing you to define a custom recipient for this additional charge.","type":"object","properties":{"percentage":{"type":"number","minimum":0,"maximum":99.99,"description":"The percentage of the extra fee to be charged","example":1.5},"toAddress":{"description":"The address (in hexadecimal format) receiving the extra fee.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["percentage","toAddress"]},"minAmountOut":{"description":"Optional minimum output amount as a decimal string. When provided, the current swap endpoint returns a limit-order quote instead of a market quote.","example":"0.95","type":"string"},"expiration":{"description":"Optional limit-order expiration time in seconds from quote creation.","example":2592000,"type":"integer","exclusiveMinimum":true,"maximum":9007199254740991,"minimum":0},"partialFillable":{"default":true,"description":"Optional flag for limit orders. Defaults to true. When true, the order may be filled in multiple partial executions instead of a single all-or-nothing fill.","example":true,"type":"boolean"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["amountIn","chainIdOut","gasFeePaymentMethod","payGasFeeToken","tokenIn","tokenOut","toAddress"],"description":"Parameters to execute a swap"}},"required":["type","params"],"title":"Swap"}]},"description":"List of operations to execute, the order in the list is the order of execution."}},"required":["walletAddress","chainId","operations"]},"BatchOperationSwapDTO":{"type":"object","properties":{"swap":{"description":"The details about the swap operation","allOf":[{"$ref":"#/components/schemas/EvmSwapDTO"}]}},"description":"Swap Operation","required":["swap"]},"BatchUserOperationDTO":{"type":"object","properties":{"userOperationHash":{"type":"string","nullable":true,"description":"Unique identifier for the batch operation, required to execute the transaction.","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"quoteId":{"type":"string","nullable":true,"deprecated":true,"description":"**DEPRECATED**: Use `userOperationHash` instead.","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"revertReason":{"nullable":true,"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.\n\nThis one is the revert reason given for the whole batch. Sometimes the reason might be from a single operation, and that will show up in the `revertReason` of that operation, or multiple ones if many fail. Sometimes the operations themselves don't revert, but the batch as a whole might. For example the batch might deplete a token balance, but the user has enough for a single operation.","type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]},"expiresAt":{"format":"date-time","type":"string","description":"The expiration date of the batch operation.","example":"2025-10-26T13:27:49.542Z"},"operations":{"type":"array","description":"The operations of the batch operation.","items":{"oneOf":[{"$ref":"#/components/schemas/BatchOperationSwapDTO","title":"Swap"},{"$ref":"#/components/schemas/CreateTransferOperationResponseDTO","title":"Transfer"}]}}},"required":["userOperationHash","quoteId","revertReason","authorization","expiresAt","operations"]},"BodyDTO":{"type":"object","properties":{"signature":{"type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"}},"required":["signature"]},"CancelLimitOrderSignDataDTO":{"type":"object","properties":{"type":{"type":"string","description":"Type of signature required to cancel the order.","example":"LIMIT_ORDER"},"typedData":{"description":"Typed data that must be signed to cancel the order.","allOf":[{"$ref":"#/components/schemas/WrappedTypedDataDTO"}]}},"required":["type"]},"CancelLimitOrderFeeAmountDTO":{"type":"object","properties":{"value":{"type":"string","example":"0"},"usd":{"type":"string","example":"0"},"brl":{"type":"string","example":"0"}},"required":["value","usd","brl"]},"CancelLimitOrderFeeDTO":{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/CancelLimitOrderFeeAmountDTO"},"nativeAmount":{"type":"string","example":"0"},"percent":{"type":"object","example":0},"recipient":{"type":"object","example":null,"nullable":true},"tokenAddress":{"type":"string","example":"0x0000000000000000000000000000000000000000"},"type":{"type":"string","example":"GAS"}},"required":["amount","nativeAmount","tokenAddress","type"]},"QuoteAmountCurrencies":{"type":"object","properties":{"btc":{"type":"string","description":"[Cryptocurrency] Bitcoin","example":"1234.98765"},"eth":{"type":"string","description":"[Cryptocurrency] Ether","example":"1234.98765"},"ltc":{"type":"string","description":"[Cryptocurrency] Litecoin","example":"1234.98765"},"bch":{"type":"string","description":"[Cryptocurrency] Bitcoin Cash","example":"1234.98765"},"bnb":{"type":"string","description":"[Cryptocurrency] Binance Coin","example":"1234.98765"},"eos":{"type":"string","description":"[Cryptocurrency] EOS","example":"1234.98765"},"xrp":{"type":"string","description":"[Cryptocurrency] XRP","example":"1234.98765"},"xlm":{"type":"string","description":"[Cryptocurrency] Lumens","example":"1234.98765"},"link":{"type":"string","description":"[Cryptocurrency] Chainlink","example":"1234.98765"},"dot":{"type":"string","description":"[Cryptocurrency] Polkadot","example":"1234.98765"},"yfi":{"type":"string","description":"[Cryptocurrency] Yearn.finance","example":"1234.98765"},"usd":{"type":"string","description":"[Fiat currency] US Dollar","example":"1234.98765"},"aed":{"type":"string","description":"[Fiat currency] United Arab Emirates Dirham","example":"1234.98765"},"ars":{"type":"string","description":"[Fiat currency] Argentine Peso","example":"1234.98765"},"aud":{"type":"string","description":"[Fiat currency] Australian Dollar","example":"1234.98765"},"bdt":{"type":"string","description":"[Fiat currency] Bangladeshi Taka","example":"1234.98765"},"bhd":{"type":"string","description":"[Fiat currency] Bahraini Dinar","example":"1234.98765"},"bmd":{"type":"string","description":"[Fiat currency] Bermudian Dollar","example":"1234.98765"},"brl":{"type":"string","description":"[Fiat currency] Brazil Real","example":"1234.98765"},"cad":{"type":"string","description":"[Fiat currency] Canadian Dollar","example":"1234.98765"},"chf":{"type":"string","description":"[Fiat currency] Swiss Franc","example":"1234.98765"},"clp":{"type":"string","description":"[Fiat currency] Chilean Peso","example":"1234.98765"},"cny":{"type":"string","description":"[Fiat currency] Chinese Yuan","example":"1234.98765"},"czk":{"type":"string","description":"[Fiat currency] Czech Koruna","example":"1234.98765"},"dkk":{"type":"string","description":"[Fiat currency] Danish Krone","example":"1234.98765"},"eur":{"type":"string","description":"[Fiat currency] Euro","example":"1234.98765"},"gbp":{"type":"string","description":"[Fiat currency] British Pound Sterling","example":"1234.98765"},"gel":{"type":"string","description":"[Fiat currency] Georgian Lari","example":"1234.98765"},"hkd":{"type":"string","description":"[Fiat currency] Hong Kong Dollar","example":"1234.98765"},"huf":{"type":"string","description":"[Fiat currency] Hungarian Forint","example":"1234.98765"},"idr":{"type":"string","description":"[Fiat currency] Indonesian Rupiah","example":"1234.98765"},"ils":{"type":"string","description":"[Fiat currency] Israeli New Shekel","example":"1234.98765"},"inr":{"type":"string","description":"[Fiat currency] Indian Rupee","example":"1234.98765"},"jpy":{"type":"string","description":"[Fiat currency] Japanese Yen","example":"1234.98765"},"krw":{"type":"string","description":"[Fiat currency] South Korean Won","example":"1234.98765"},"kwd":{"type":"string","description":"[Fiat currency] Kuwaiti Dinar","example":"1234.98765"},"lkr":{"type":"string","description":"[Fiat currency] Sri Lankan Rupee","example":"1234.98765"},"mmk":{"type":"string","description":"[Fiat currency] Burmese Kyat","example":"1234.98765"},"mxn":{"type":"string","description":"[Fiat currency] Mexican Peso","example":"1234.98765"},"myr":{"type":"string","description":"[Fiat currency] Malaysian Ringgit","example":"1234.98765"},"ngn":{"type":"string","description":"[Fiat currency] Nigerian Naira","example":"1234.98765"},"nok":{"type":"string","description":"[Fiat currency] Norwegian Krone","example":"1234.98765"},"nzd":{"type":"string","description":"[Fiat currency] New Zealand Dollar","example":"1234.98765"},"php":{"type":"string","description":"[Fiat currency] Philippine Peso","example":"1234.98765"},"pkr":{"type":"string","description":"[Fiat currency] Pakistani Rupee","example":"1234.98765"},"pln":{"type":"string","description":"[Fiat currency] Polish Zloty","example":"1234.98765"},"rub":{"type":"string","description":"[Fiat currency] Russian Ruble","example":"1234.98765"},"sar":{"type":"string","description":"[Fiat currency] Saudi Riyal","example":"1234.98765"},"sek":{"type":"string","description":"[Fiat currency] Swedish Krona","example":"1234.98765"},"sgd":{"type":"string","description":"[Fiat currency] Singapore Dollar","example":"1234.98765"},"thb":{"type":"string","description":"[Fiat currency] Thai Baht","example":"1234.98765"},"try":{"type":"string","description":"[Fiat currency] Turkish Lira","example":"1234.98765"},"twd":{"type":"string","description":"[Fiat currency] New Taiwan Dollar","example":"1234.98765"},"uah":{"type":"string","description":"[Fiat currency] Ukrainian hryvnia","example":"1234.98765"},"vef":{"type":"string","description":"[Fiat currency] Venezuelan bolívar fuerte","example":"1234.98765"},"vnd":{"type":"string","description":"[Fiat currency] Vietnamese đồng","example":"1234.98765"},"zar":{"type":"string","description":"[Fiat currency] South African Rand","example":"1234.98765"},"xdr":{"type":"string","description":"[Fiat currency] IMF Special Drawing Rights","example":"1234.98765"},"xag":{"type":"string","description":"[Commodities] Silver - Troy Ounce","example":"1234.98765"},"xau":{"type":"string","description":"[Commodities] Gold - Troy Ounce","example":"1234.98765"},"bits":{"type":"string","description":"[Cryptocurrency] Bitcoin Bits","example":"1234.98765"},"sats":{"type":"string","description":"[Cryptocurrency] Bitcoin Satoshi","example":"1234.98765"}},"required":["btc","eth","ltc","bch","bnb","eos","xrp","xlm","link","dot","yfi","usd","aed","ars","aud","bdt","bhd","bmd","brl","cad","chf","clp","cny","czk","dkk","eur","gbp","gel","hkd","huf","idr","ils","inr","jpy","krw","kwd","lkr","mmk","mxn","myr","ngn","nok","nzd","php","pkr","pln","rub","sar","sek","sgd","thb","try","twd","uah","vef","vnd","zar","xdr","xag","xau","bits","sats"]},"CancelLimitOrderReceivedAmountDTO":{"type":"object","properties":{"amount":{"type":"string","example":"0"},"amountIn":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]}},"required":["amount"]},"CancelLimitOrderResponseDTO":{"type":"object","properties":{"requiresExecution":{"type":"boolean","example":true},"status":{"type":"string","example":"PENDING_SIGNATURE"},"id":{"type":"string","example":"tx_123"},"signData":{"type":"array","items":{"$ref":"#/components/schemas/CancelLimitOrderSignDataDTO"}},"expiresAt":{"type":"object","example":null,"nullable":true},"fees":{"type":"array","items":{"$ref":"#/components/schemas/CancelLimitOrderFeeDTO"}},"receivedAmount":{"$ref":"#/components/schemas/CancelLimitOrderReceivedAmountDTO"}},"required":["requiresExecution","status","id","signData","fees","receivedAmount"]},"ExecuteCancelLimitOrderResponseDTO":{"type":"object","properties":{"success":{"type":"boolean","example":true}},"required":["success"]},"BroadcastBitcoinTransactionDTO":{"type":"object","properties":{"quoteId":{"description":"Unique identifier for the Bitcoin quote, returned by the transfer or cross-swap creation endpoint.","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"signedTransactionHex":{"description":"The signed Bitcoin transaction in hex format. The unsigned transaction id (signature-agnostic) must match the `quoteId`.","example":"0x0200000000010138...","type":"string","pattern":"^0x([a-fA-F0-9]{2})*$"}},"required":["quoteId","signedTransactionHex"]},"BroadcastBitcoinTransactionResponseDTO":{"type":"object","properties":{"quoteId":{"type":"string","description":"Identifier of the original Bitcoin quote that was broadcast. The quote id is the signature-agnostic transaction id and therefore differs from the on-chain transaction hash.","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"transactionHash":{"type":"string","description":"The hash of the broadcast Bitcoin transaction. This serves as a unique identifier for the operation on the Bitcoin network.","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"}},"required":["quoteId","transactionHash"]},"BlockchainHashDTO":{"type":"object","properties":{"hash":{"type":"string","description":"Transaction hash that executed or will execute this user operation","example":"0x68232841f033cf0d9420b0197d667058ab463ed5a524b544f9d016576ca8e2fb","pattern":"^0x[a-fA-F0-9]{64}$"},"explorerURL":{"type":"string","description":"URL to check the transaction status and details on a chain explorer","example":"https://polygonscan.com/tx/0x68232841f033cf0d9420b0197d667058ab463ed5a524b544f9d016576ca8e2fb"},"explorer":{"type":"string","description":"Name of the chain explorer","example":"PolygonScan"}},"required":["hash","explorerURL","explorer"]},"CryptoCurrency":{"type":"object","properties":{"name":{"type":"string","description":"Full name of the token","example":"Wrapped Bitcoin"},"symbol":{"type":"string","description":"Ticker symbol of the token","example":"WBTC"},"decimals":{"type":"number","description":"Maximum amount of decimals this token supports","example":18},"address":{"type":"string","description":"Address of the token as its blockchain writes it: a checksummed `0x` address on EVM chains, a `C…` contract on Stellar, and `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE` for the native coin of any chain","example":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"},"logoURL":{"type":"string","description":"URL to an image of the logo of the token","example":"https://assets.notus.team/wbtc.png","nullable":true}},"required":["name","symbol","decimals","address","logoURL"]},"QuoteAmount":{"type":"object","properties":{"token":{"description":"Details about the cryptocurrency used","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"amount":{"type":"string","description":"Amount in the crypto currency itself as a decimal number in a string. So if it's WBTC this is the value in WBTC, if it's USDC it's the amount in USDC.  \n**Attention**: This value can be larger than what JavaScript can handle  \n**Attention**: Remember that floats can have rounding issues, but the blockchain does not operate with floats","example":"3342.7389263"},"amountIn":{"nullable":true,"description":"Amount converted to different currencies at the price of the execution of the operation","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]},"cryptoCurrency":{"deprecated":true,"description":"**DEPRECATED**: Use `token` instead","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]}},"required":["token","amount","cryptoCurrency"]},"CryptoDepositTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"CRYPTO_DEPOSIT"},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation, _null_ if not sent by a smart wallet","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$","nullable":true},"receivedBy":{"type":"string","description":"Wallet that received the asset, which is the wallet you requested this history","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"receivedFromAddress":{"type":"string","description":"Address that sent the asset to your user","example":"0xeca5dd1bfbdd52fb9d94438d2ea4d27acae33b72","pattern":"^0x[a-fA-F0-9]{40}$"},"receivedCryptoCurrency":{"description":"Crypto currency that was received by the user.  \n**DEPRECATED**: use _receivedAmount.cryptoCurrency_ instead.","deprecated":true,"allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"receivedAmount":{"description":"Amount of the crypto currency the user received","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]}},"description":"Deposit Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","userOperationHash","receivedBy","receivedFromAddress","receivedCryptoCurrency","receivedAmount"]},"CryptoWithdrawTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"CRYPTO_WITHDRAW"},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"sentBy":{"type":"string","description":"Wallet that sent or spent the asset, which is the wallet you requested this history","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"gasFee":{"description":"How much was charged in gas fees, which are the fees charged by the blockchain for the operation to be executed","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"collectedFee":{"nullable":true,"description":"Amount of fee charged by you from the client for this operation, this is either the default fee configured in the project or what was given to the function","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"notusCollectedFee":{"nullable":true,"description":"Amount of fee charged by Notus for this operation, this is the fee that is used to pay the Notus team","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"sentToAddress":{"type":"string","description":"Address that received the assets","example":"0x1b03c73577824fcea686c49e76cfbe5b056367bf","pattern":"^0x[a-fA-F0-9]{40}$"},"sentCryptoCurrency":{"description":"Crypto currency that was sent or spent by the user.  \n**DEPRECATED**: use _sentAmount.cryptoCurrency_ instead.","deprecated":true,"allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"sentAmount":{"description":"Amount of the crypto currency the user sent or spent","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]}},"description":"Withdrawal Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","userOperationHash","sentBy","gasFee","collectedFee","notusCollectedFee","sentToAddress","sentCryptoCurrency","sentAmount"]},"CollectedExtraFeeDTO":{"type":"object","properties":{"token":{"description":"Details about the cryptocurrency used","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"amount":{"type":"string","description":"Amount in the crypto currency itself as a decimal number in a string. So if it's WBTC this is the value in WBTC, if it's USDC it's the amount in USDC.  \n**Attention**: This value can be larger than what JavaScript can handle  \n**Attention**: Remember that floats can have rounding issues, but the blockchain does not operate with floats","example":"3342.7389263"},"amountIn":{"nullable":true,"description":"Amount converted to different currencies at the price of the execution of the operation","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]},"toAddress":{"type":"string","description":"The address (in hexadecimal format) receiving the extra fee. This is the custom address specified in the extraFee parameter.","example":"0x1234567890123456789012345678901234567890","pattern":"^0x[a-fA-F0-9]{40}$"},"percentage":{"type":"string","description":"The percentage rate of the extra fee applied to the input amount, expressed as a decimal string (e.g., \"2\" represents 2%).","example":"2"},"cryptoCurrency":{"deprecated":true,"description":"**DEPRECATED**: Use `token` instead","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]}},"required":["token","amount","toAddress","percentage","cryptoCurrency"]},"QuoteAmountWithEstimates":{"type":"object","properties":{"token":{"description":"Details about the cryptocurrency used","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"amount":{"type":"string","description":"Amount in the crypto currency itself as a decimal number in a string. So if it's WBTC this is the value in WBTC, if it's USDC it's the amount in USDC.  \n**Attention**: This value can be larger than what JavaScript can handle  \n**Attention**: Remember that floats can have rounding issues, but the blockchain does not operate with floats","example":"3342.7389263"},"amountIn":{"nullable":true,"description":"Amount converted to different currencies at the price of the execution of the operation","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]},"estimatedAmount":{"type":"object","nullable":true,"description":"Estimated value of amount at quote time, before execution, in the native currency.","example":"3342.7389263"},"estimatedAmountIn":{"nullable":true,"description":"Estimated value of amount at quote time, converted in multiple currencies at the exchange rate of the quote time.","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]},"cryptoCurrency":{"deprecated":true,"description":"**DEPRECATED**: Use `token` instead","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]}},"required":["token","amount","cryptoCurrency"]},"ProviderDTO":{"type":"object","properties":{"name":{"type":"string","description":"Name of the swap provider used","example":"XY"},"logoUrl":{"type":"string","description":"URL to an image of the logo of the provider","example":"https://assets.notus.team/Lifi.png"},"explorerURL":{"type":"object","description":"URL to the explorer of the provider","example":"https://explorer.li.fi"}},"description":"Details about the swap provider that was used","required":["name","logoUrl","explorerURL"]},"CryptoSwapTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"type":{"type":"string","description":"Type of transaction","example":"SWAP","examples":["SWAP","CROSS_SWAP","LIMIT_SWAP"]},"transactionHashChainIn":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"transactionHashChainOut":{"nullable":true,"description":"On cross-swaps it's the transaction that sent the tokens to the user on the receiving chain. On single chain swaps it's _null_","type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation, _null_ if not sent by a smart wallet","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$","nullable":true},"mainUserOpHash":{"type":"object","description":"Main user operation hash generated for batch transactions to identify the principal transaction that was executed.","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$","nullable":true},"chainIn":{"description":"Chain where the user operation was executed. On cross-swaps it's the chain the user paid the tokens.","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"chainOut":{"description":"On cross-swaps it's the chain where the user received the tokens. On single chain swaps it's the same as chainIn","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"sentBy":{"type":"string","description":"Wallet that sent or spent the asset, which is the wallet you requested this history","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"gasFee":{"description":"How much was charged in gas fees, which are the fees charged by the blockchain for the operation to be executed","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"collectedFee":{"nullable":true,"description":"Amount of fee charged by you from the client for this operation, this is either the default fee configured in the project or what was given to the function","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"notusCollectedFee":{"nullable":true,"description":"Amount of fee charged by Notus for this operation, this is the fee that is used to pay the Notus team","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"collectedExtraFee":{"nullable":true,"description":"Amount of extra fee charged by you from the client for this operation. This is an optional fee specified via the extraFee parameter and includes the amount, destination address, and percentage.","type":"object","allOf":[{"$ref":"#/components/schemas/CollectedExtraFeeDTO"}]},"sentToAddress":{"type":"string","description":"Address that received the assets","example":"0x1b03c73577824fcea686c49e76cfbe5b056367bf","pattern":"^0x[a-fA-F0-9]{40}$"},"sentCryptoCurrency":{"description":"Crypto currency that was sent or spent by the user.  \n**DEPRECATED**: use _sentAmount.cryptoCurrency_ instead.","deprecated":true,"allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"sentAmount":{"description":"Amount of the crypto currency the user sent or spent","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"receivedCryptoCurrency":{"description":"Crypto currency that was received by the user.  \n**DEPRECATED**: use _receivedAmount.cryptoCurrency_ instead.","deprecated":true,"allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"receivedAmount":{"description":"Amount of the crypto currency the user received","allOf":[{"$ref":"#/components/schemas/QuoteAmountWithEstimates"}]},"provider":{"$ref":"#/components/schemas/ProviderDTO"}},"description":"Swap or Cross-swap Transaction","required":["metadata","id","createdAt","status","type","transactionHashChainIn","transactionHashChainOut","userOperationHash","mainUserOpHash","chainIn","chainOut","sentBy","gasFee","collectedFee","notusCollectedFee","collectedExtraFee","sentToAddress","sentCryptoCurrency","sentAmount","receivedCryptoCurrency","receivedAmount","provider"]},"CustomTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"CUSTOM_TRANSACTION"},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"sentBy":{"type":"string","description":"Wallet that sent or spent the asset, which is the wallet you requested this history","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"gasFee":{"description":"How much was charged in gas fees, which are the fees charged by the blockchain for the operation to be executed","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"contractAddress":{"type":"string","description":"The contract address that was called","example":"0x1b03c73577824fcea686c49e76cfbe5b056367bf","pattern":"^0x[a-fA-F0-9]{40}$"}},"description":"Custom User Operation Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","userOperationHash","sentBy","gasFee","contractAddress"]},"NftDetailsDTO":{"type":"object","properties":{"address":{"type":"string","description":"Address of the NFT contract. On Solana (chain -501), the position's mint, in base58."},"tokenId":{"type":"string","description":"ID of the NFT in the contract, a number. On Solana (chain -501), the position's mint, in base58."}},"description":"NFT information","required":["address","tokenId"]},"LiquidityExecutionRewardDTO":{"type":"object","properties":{"address":{"type":"string","description":"Contract address of the reward token","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82"},"symbol":{"type":"string","nullable":true,"description":"Ticker symbol of the reward token. Null when the token is not in the token catalog.","example":"CAKE"},"decimals":{"type":"number","description":"Maximum amount of decimals the reward token supports","example":18},"amount":{"type":"string","description":"Amount of the reward token paid to the wallet, as a decimal number in a string.","example":"0.35"},"amountIn":{"nullable":true,"description":"Amount converted to different currencies at the price of the execution of the operation. Null when the token is not in the token catalog.","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]}},"required":["address","symbol","decimals","amount"]},"LiquidityExecutionResultDTO":{"type":"object","properties":{"realAddedToken0Amount":{"nullable":true,"description":"Real amount of token0 added to the pool (IncreaseLiquidity).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realAddedToken1Amount":{"nullable":true,"description":"Real amount of token1 added to the pool (IncreaseLiquidity).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realRemovedToken0Amount":{"nullable":true,"description":"Real amount of token0 removed from the pool (DecreaseLiquidity).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realRemovedToken1Amount":{"nullable":true,"description":"Real amount of token1 removed from the pool (DecreaseLiquidity).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realCollectedFeesToken0Amount":{"nullable":true,"description":"Real pool fees earned in token0 (Collect minus Decrease).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realCollectedFeesToken1Amount":{"nullable":true,"description":"Real pool fees earned in token1 (Collect minus Decrease).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realTokenOutAmount":{"nullable":true,"description":"Real tokenOut received by the wallet after a withdraw+swap.","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realSwapToken0AmountOut":{"nullable":true,"description":"Real executed swap output in token0. On a rebalance or reinvest, isolated from removal or collection proceeds; on a same-chain swap+add, what the swap delivered to the wallet, null when the swap output never passed through the wallet.","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realSwapToken1AmountOut":{"nullable":true,"description":"Real executed swap output in token1. On a rebalance or reinvest, isolated from removal or collection proceeds; on a same-chain swap+add, what the swap delivered to the wallet, null when the swap output never passed through the wallet.","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realChangeToken0Amount":{"nullable":true,"description":"Change of a completed swap+add (entry or top-up) or rebalance in token0, on the chain of the pool: what went back to or stayed in the wallet instead of entering the position. On a rebalance, a farm reward paid in token0 is not part of it; rewards lists it. Zero when nothing came back; null when not computed, including when more of it left the wallet than the operation was given.","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realChangeToken1Amount":{"nullable":true,"description":"Change of a completed swap+add (entry or top-up) or rebalance in token1, on the chain of the pool: what went back to or stayed in the wallet instead of entering the position. On a rebalance, a farm reward paid in token1 is not part of it; rewards lists it. Zero when nothing came back; null when not computed, including when more of it left the wallet than the operation was given.","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"realChangeTokenInAmount":{"nullable":true,"description":"Input token a completed swap+add (entry or top-up) left in the wallet, on the chain the user paid on. Only set when the input token is not a pool token there; null for a native input token, whose movements leave no log, or when more of it left the wallet than the operation was given.","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"rewards":{"description":"Farm rewards the operation paid to the wallet, one entry per reward token: the CAKE a staked PancakeSwap position harvests on collect, withdraw, rebalance, reinvest and unstake. Empty when it paid none.","type":"array","items":{"$ref":"#/components/schemas/LiquidityExecutionRewardDTO"}}},"required":["rewards"]},"LiquidityExecutionEstimateDTO":{"type":"object","properties":{"swapEstimatedToken0AmountOut":{"nullable":true,"description":"Expected swap output to token0 (used to compute slippage).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"swapEstimatedToken1AmountOut":{"nullable":true,"description":"Expected swap output to token1 (used to compute slippage).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"swapEstimatedTokenOutAmount":{"nullable":true,"description":"Expected aggregated tokenOut (withdraw+swap) or directional swap output (rebalance).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"estimatedCollectedFeesToken0Amount":{"nullable":true,"description":"Estimated accrued pool fees in token0 (quote time).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"estimatedCollectedFeesToken1Amount":{"nullable":true,"description":"Estimated accrued pool fees in token1 (quote time).","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]}}},"LiquidityExecutionDTO":{"type":"object","properties":{"result":{"nullable":true,"description":"Real on-chain amounts decoded from the operation receipt.","type":"object","allOf":[{"$ref":"#/components/schemas/LiquidityExecutionResultDTO"}]},"estimate":{"nullable":true,"description":"Quote-time estimates (expected swap output, estimated fees).","type":"object","allOf":[{"$ref":"#/components/schemas/LiquidityExecutionEstimateDTO"}]}},"description":"Real on-chain execution amounts and quote-time estimates for the LP operation"},"CryptoLiquidityTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"LIQUIDITY_POOL_ADD","examples":["LIQUIDITY_POOL_ADD","LIQUIDITY_POOL_COLLECT_FEE","LIQUIDITY_POOL_WITHDRAW","LIQUIDITY_POOL_STAKE","LIQUIDITY_POOL_UNSTAKE"]},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation, _null_ if not sent by a smart wallet","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$","nullable":true},"sentBy":{"type":"string","description":"Wallet that sent or spent the asset, which is the wallet you requested this history","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"gasFee":{"description":"How much was charged in gas fees, which are the fees charged by the blockchain for the operation to be executed","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"collectedFee":{"nullable":true,"description":"Amount of fee charged by you from the client for this operation, this is either the default fee configured in the project or what was given to the function","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"sentToAddress":{"type":"string","description":"Address that received the assets","example":"0x1b03c73577824fcea686c49e76cfbe5b056367bf","pattern":"^0x[a-fA-F0-9]{40}$"},"nft":{"description":"NFT received or used in this transaction","allOf":[{"$ref":"#/components/schemas/NftDetailsDTO"}]},"tokens":{"description":"Tokens of the pool.\n- If adding liquidity: Tokens sent to the pool from the user wallet\n- If removing liquidity: Tokens received on the user wallet\n- If collecting fees: Tokens received on the user wallet","type":"array","items":{"type":"string"}},"provider":{"$ref":"#/components/schemas/ProviderDTO"},"liquidityExecution":{"nullable":true,"description":"Real on-chain execution amounts and quote-time estimates. Null for legacy transactions or when not decoded.","type":"object","allOf":[{"$ref":"#/components/schemas/LiquidityExecutionDTO"}]}},"description":"Liquidity Pool Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","userOperationHash","sentBy","gasFee","collectedFee","sentToAddress","nft","tokens","provider"]},"CryptoSwapLiquidityTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"SWAP_LIQUIDITY_POOL_ADD"},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation, _null_ if not sent by a smart wallet","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$","nullable":true},"sentBy":{"type":"string","description":"Wallet that sent or spent the asset, which is the wallet you requested this history","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"gasFee":{"description":"How much was charged in gas fees, which are the fees charged by the blockchain for the operation to be executed","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"collectedFee":{"nullable":true,"description":"Amount of fee charged by you from the client for this operation, this is either the default fee configured in the project or what was given to the function","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"sentToAddress":{"type":"string","description":"Address that received the assets","example":"0x1b03c73577824fcea686c49e76cfbe5b056367bf","pattern":"^0x[a-fA-F0-9]{40}$"},"nft":{"description":"NFT received or used in this transaction","allOf":[{"$ref":"#/components/schemas/NftDetailsDTO"}]},"chainOut":{"description":"Chain where the liquidity position lives. On cross-chain entries it's the chain the position was created on. On single chain entries it's the same as chain","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"transactionHashChainOut":{"nullable":true,"description":"On cross-chain entries and top-ups it's the transaction on chainOut that added the liquidity. On single chain operations it's _null_","type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"cryptoCurrencyIn":{"$ref":"#/components/schemas/CryptoCurrency"},"cryptoCurrencyInAmount":{"$ref":"#/components/schemas/QuoteAmount"},"tokens":{"description":"Tokens of the pool.\n- If adding liquidity: Tokens sent to the pool from the user wallet\n- If removing liquidity: Tokens received on the user wallet\n- If collecting fees: Tokens received on the user wallet","type":"array","items":{"type":"string"}},"provider":{"$ref":"#/components/schemas/ProviderDTO"},"liquidityExecution":{"nullable":true,"description":"Real on-chain execution amounts and quote-time estimates. Null for legacy transactions or when not decoded.","type":"object","allOf":[{"$ref":"#/components/schemas/LiquidityExecutionDTO"}]},"revertReason":{"type":"string","description":"What a FAILED operation reverted with on-chain: the decoded revert text or, when it is not decoded, the 4-byte selector of the error. Null when the operation did not revert on-chain or reverted without data.","example":"Price slippage check","nullable":true}},"description":"Swap Liquidity Pool Add Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","userOperationHash","sentBy","gasFee","collectedFee","sentToAddress","nft","chainOut","transactionHashChainOut","cryptoCurrencyIn","cryptoCurrencyInAmount","tokens","provider","revertReason"]},"WithdrawSwapLpTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"SWAP_LIQUIDITY_POOL_WITHDRAW"},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation, _null_ if not sent by a smart wallet","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$","nullable":true},"sentBy":{"type":"string","description":"Wallet that sent or spent the asset, which is the wallet you requested this history","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"gasFee":{"description":"How much was charged in gas fees, which are the fees charged by the blockchain for the operation to be executed","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"collectedFee":{"nullable":true,"description":"Amount of fee charged by you from the client for this operation, this is either the default fee configured in the project or what was given to the function","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"sentToAddress":{"type":"string","description":"Address that received the assets","example":"0x1b03c73577824fcea686c49e76cfbe5b056367bf","pattern":"^0x[a-fA-F0-9]{40}$"},"nft":{"description":"NFT used in this transaction","allOf":[{"$ref":"#/components/schemas/NftDetailsDTO"}]},"chainOut":{"description":"Chain where the user received the output crypto currency. On cross-chain withdraws it's a different chain than the pool's. On single chain withdraws it's the same as chain","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"cryptoCurrencyOut":{"description":"Output crypto currency after withdraw and swap","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"cryptoCurrencyOutAmount":{"description":"Amount of output crypto currency","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"tokens":{"description":"Tokens withdrawn from the pool before swap","type":"array","items":{"type":"string"}},"provider":{"$ref":"#/components/schemas/ProviderDTO"},"liquidityExecution":{"nullable":true,"description":"Real on-chain execution amounts and quote-time estimates. Null for legacy transactions or when not decoded.","type":"object","allOf":[{"$ref":"#/components/schemas/LiquidityExecutionDTO"}]},"revertReason":{"type":"string","description":"What a FAILED operation reverted with on-chain: the decoded revert text or, when it is not decoded, the 4-byte selector of the error. Null when the operation did not revert on-chain or reverted without data.","example":"Price slippage check","nullable":true}},"description":"Withdraw Swap Liquidity Pool Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","userOperationHash","sentBy","gasFee","collectedFee","sentToAddress","nft","chainOut","cryptoCurrencyOut","cryptoCurrencyOutAmount","tokens","provider","revertReason"]},"PixPaymentDetailsToReceiveDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"PIX"},"pixKey":{"type":"string","description":"The pix key to receive the fiat","example":"customer@email.example"}},"required":["type","pixKey"]},"WirePaymentDetailsToReceiveDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"WIRE"},"routingNumber":{"type":"string","description":"The routing number","example":"1234567890"},"accountNumber":{"type":"string","description":"The account number","example":"1234567890"},"beneficiaryName":{"type":"string","description":"The beneficiary name","example":"John Doe"},"city":{"type":"string","description":"The city","example":"New York"},"stateProvinceRegion":{"type":"string","description":"The state or province","example":"NY"},"country":{"type":"string","description":"The country code (ISO 3166-1 alpha-2)","example":"US"},"postalCode":{"type":"string","description":"The postal code","example":"10001"},"addressLine1":{"type":"string","description":"The address line 1","example":"123 Main St"}},"required":["type","routingNumber","accountNumber","beneficiaryName","city","stateProvinceRegion","country","postalCode","addressLine1"]},"AchPaymentDetailsToReceiveDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"ACH"},"beneficiaryName":{"type":"string","description":"The beneficiary name","example":"John Doe"},"routingNumber":{"type":"string","description":"The routing number","example":"1234567890"},"accountNumber":{"type":"string","description":"The account number","example":"1234567890"},"accountType":{"type":"string","description":"The account type. Possible values: CHECKING and SAVING","enum":["CHECKING","SAVING"],"example":"CHECKING"}},"required":["type","beneficiaryName","routingNumber","accountNumber","accountType"]},"SpeiPaymentDetailsToReceiveDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"SPEI"},"clabe":{"type":"string","description":"The CLABE number","example":"032180000118359719"},"beneficiaryName":{"type":"string","description":"The beneficiary name","example":"John Doe"},"protocol":{"type":"string","description":"The SPEI protocol","enum":["CLABE","DEBIT_CARD","PHONE"],"example":"CLABE"},"institutionCode":{"type":"string","description":"The institution code","example":"90646"}},"required":["type","clabe","beneficiaryName","protocol","institutionCode"]},"AchCopPaymentDetailsToReceiveDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"ACH_COP"},"beneficiaryFirstName":{"type":"string","description":"The beneficiary first name","example":"John"},"beneficiaryLastName":{"type":"string","description":"The beneficiary last name","example":"Doe"},"documentId":{"type":"string","description":"The document ID","example":"1234567890"},"documentType":{"type":"string","description":"The document type","enum":["CC","CE","NIT","PASS","PEP"],"example":"CC"},"email":{"type":"string","description":"The email address","example":"john.doe@example.com"},"bankCode":{"type":"string","description":"The bank code","example":"001"},"bankAccount":{"type":"string","description":"The bank account","example":"1234567890"},"accountType":{"type":"string","description":"The account type. Possible values: CHECKING and SAVING","enum":["CHECKING","SAVING"],"example":"CHECKING"}},"required":["type","beneficiaryFirstName","beneficiaryLastName","documentId","documentType","email","bankCode","bankAccount","accountType"]},"TransfersPaymentDetailsToReceiveDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"TRANSFERS"},"transfersType":{"type":"string","description":"The transfers type","example":"BANK_ACCOUNT"},"beneficiaryName":{"type":"string","description":"The beneficiary name","example":"John Doe"},"transfersAccount":{"type":"string","description":"The transfers account","example":"1234567890"}},"required":["type","transfersType","beneficiaryName","transfersAccount"]},"PixQRCodePaymentDetailsToReceiveDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"PIX_QR_CODE"},"brCode":{"type":"string","description":"The BR Code (PIX copy and paste code) to receive the fiat","example":"00020101021226990014br.gov.bcb.pix2577pix.example.com/qrs1/v2/01snLCV5RHN6V3HVjx5abuLYzECFx4hFwmPZgzIRuAbagzHbvA52040000530398654041.005802BR5921Example Company6014Rio de Janeiro62070503***63048B38"},"receiver":{"type":"string","description":"Receiver name (from BR code)","example":"PIX Marketplace","nullable":true},"institution":{"type":"string","description":"Institution name (registered name from tax ID lookup)","example":"Mercado Livre","nullable":true},"documentId":{"type":"string","description":"Document ID (CPF/CNPJ). Null if censored.","example":"50224164000170","nullable":true}},"required":["type","brCode","receiver","institution","documentId"]},"FiatQuoteAmount":{"type":"object","properties":{"fiatCurrency":{"type":"string","description":"Fiat currency used"},"amount":{"type":"string","description":"Amount in the crypto currency itself as a decimal number in a string. So if it's WBTC this is the value in WBTC, if it's USDC it's the amount in USDC.  \n**Attention**: This value can be larger than what JavaScript can handle  \n**Attention**: Remember that floats can have rounding issues, but the blockchain does not operate with floats","example":"3342.7389263"},"amountIn":{"nullable":true,"description":"Amount converted to different currencies at the price of the execution of the operation","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]}},"required":["fiatCurrency","amount"]},"OffRampTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"OFF_RAMP"},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"sentBy":{"type":"string","description":"Wallet that sent or spent the asset, which is the wallet you requested this history","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"gasFee":{"description":"How much was charged in gas fees, which are the fees charged by the blockchain for the operation to be executed","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"collectedFee":{"nullable":true,"description":"Amount of fee charged by you from the client for this operation, this is either the default fee configured in the project or what was given to the function","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"sentCryptoCurrency":{"description":"Crypto currency that was sent or spent by the user.  \n**DEPRECATED**: use _sentAmount.cryptoCurrency_ instead.","deprecated":true,"allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"sentAmount":{"description":"Amount of the crypto currency the user sent or spent","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"receivedFiatAmount":{"description":"Amount of fiat currency the user received","allOf":[{"$ref":"#/components/schemas/FiatQuoteAmount"}]},"receivedFiatCurrency":{"type":"string","description":"Fiat currency that was sent or received","example":"BRL"},"paymentMethodDetails":{"description":"The payment method details used for the off-ramp transaction","oneOf":[{"$ref":"#/components/schemas/PixPaymentDetailsToReceiveDto","title":"Pix"},{"$ref":"#/components/schemas/WirePaymentDetailsToReceiveDto","title":"Wire"},{"$ref":"#/components/schemas/AchPaymentDetailsToReceiveDto","title":"Ach"},{"$ref":"#/components/schemas/SpeiPaymentDetailsToReceiveDto","title":"Spei"},{"$ref":"#/components/schemas/AchCopPaymentDetailsToReceiveDto","title":"AchCop"},{"$ref":"#/components/schemas/TransfersPaymentDetailsToReceiveDto","title":"Transfers"},{"$ref":"#/components/schemas/PixQRCodePaymentDetailsToReceiveDto","title":"PixQRCode"}],"nullable":true},"complianceReviewStartedAt":{"type":"object","description":"When the provider put the withdrawal under compliance review (status IN_COMPLIANCE_REVIEW). Null if it never was","example":"2026-09-24T12:00:00.000Z","nullable":true}},"description":"Off-ramp Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","userOperationHash","sentBy","gasFee","collectedFee","sentCryptoCurrency","sentAmount","receivedFiatAmount","receivedFiatCurrency","paymentMethodDetails","complianceReviewStartedAt"]},"PixPaymentDetailsToSendDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"PIX"},"pixKey":{"type":"string","description":"The pix key to be used to send the fiat","example":"00020101021226990014br.gov.bcb.pix2577pix.bancogenial.com/qrs1/v2/01snLCV5RHN6V3HVjx5abuLYzECFx4hFwmPZgzIRuAbagzHbvA52040000530398654041.005802BR59213rz Servicos Digitais6014Rio de Janeiro62070503***63048B38"},"base64QrCode":{"type":"string","description":"The base64 encoded QR code","example":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+ip1sAAAAASUVORK5CYII="}},"required":["type","pixKey","base64QrCode"]},"BeneficiaryDto":{"type":"object","properties":{"name":{"type":"string","description":"The name of the beneficiary","example":"John Doe"},"addressLine1":{"type":"string","description":"The address line 1 of the beneficiary","example":"123 Main St"},"addressLine2":{"type":"string","description":"The address line 2 of the beneficiary"}},"required":["name","addressLine1","addressLine2"]},"AchPaymentDetailsDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"ACH"},"routingNumber":{"type":"string","description":"The routing number","example":"1234567890"},"accountNumber":{"type":"string","description":"The account number","example":"1234567890"},"accountType":{"type":"string","description":"The account type. Possible values: CHECKING and SAVING","enum":["CHECKING","SAVING"],"example":"CHECKING"},"beneficiary":{"description":"The beneficiary","allOf":[{"$ref":"#/components/schemas/BeneficiaryDto"}]},"receivingBank":{"description":"The receiving bank","allOf":[{"$ref":"#/components/schemas/BeneficiaryDto"}]},"memoCode":{"type":"string","description":"A unique reference code used to identify and route a payment to the correct recipient. It is typically included with transaction details to ensure accurate processing and reconciliation.","example":"TID86OASAL"}},"required":["type","routingNumber","accountNumber","accountType","beneficiary","receivingBank","memoCode"]},"WirePaymentDetailsDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"WIRE"},"routingNumber":{"type":"string","description":"The routing number","example":"1234567890"},"accountNumber":{"type":"string","description":"The account number","example":"1234567890"},"accountType":{"type":"string","description":"The account type. Possible values: CHECKING and SAVING","enum":["CHECKING","SAVING"],"example":"CHECKING"},"beneficiary":{"description":"The beneficiary","allOf":[{"$ref":"#/components/schemas/BeneficiaryDto"}]},"receivingBank":{"description":"The receiving bank","allOf":[{"$ref":"#/components/schemas/BeneficiaryDto"}]},"memoCode":{"type":"string","description":"A unique reference code used to identify and route a payment to the correct recipient. It is typically included with transaction details to ensure accurate processing and reconciliation.","example":"TID86OASAL"}},"required":["type","routingNumber","accountNumber","accountType","beneficiary","receivingBank","memoCode"]},"SpeiPaymentDetailsDto":{"type":"object","properties":{"type":{"type":"string","description":"The type of payment method","example":"SPEI"},"clabe":{"type":"string","description":"The CLABE number","example":"032180000118359719"},"beneficiaryName":{"type":"string","description":"The beneficiary name","example":"John Doe"}},"required":["type","clabe","beneficiaryName"]},"OnRampTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"type":{"type":"string","description":"Type of transaction","example":"ON_RAMP"},"sentFiatAmount":{"description":"Amount of fiat currency the user sent","allOf":[{"$ref":"#/components/schemas/FiatQuoteAmount"}]},"receivedCryptoCurrency":{"description":"Crypto currency that was received by the user.  \n**DEPRECATED**: use _receivedAmount.cryptoCurrency_ instead.","deprecated":true,"allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"receivedAmount":{"description":"Amount of the crypto currency the user received","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"sentFiatCurrency":{"type":"string","description":"Fiat currency that was sent or received","example":"BRL"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"receivedBy":{"type":"string","description":"Wallet that received the asset, which is the wallet you requested this history","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"paymentMethodDetails":{"description":"The payment method details used for the on-ramp transaction","oneOf":[{"$ref":"#/components/schemas/PixPaymentDetailsToSendDto","title":"Pix"},{"$ref":"#/components/schemas/AchPaymentDetailsDto","title":"Ach"},{"$ref":"#/components/schemas/WirePaymentDetailsDto","title":"Wire"},{"$ref":"#/components/schemas/SpeiPaymentDetailsDto","title":"Spei"}],"nullable":true}},"description":"On-ramp Transaction","required":["metadata","id","createdAt","status","type","sentFiatAmount","receivedCryptoCurrency","receivedAmount","sentFiatCurrency","transactionHash","chain","receivedBy","paymentMethodDetails"]},"LendingSupplyOperationDTO":{"type":"object","properties":{"sentAmount":{"description":"Amount sent for supply (formerly tokenIn). Corresponds to the collateral deposited.","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"receivedAmount":{"description":"Amount received from supply (formerly tokenOut), e.g. aToken balance.","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"toAddress":{"type":"string","description":"Destination address that receives the supplied position token","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["sentAmount","receivedAmount","toAddress"]},"LendingBorrowOperationDTO":{"type":"object","properties":{"receivedAmount":{"description":"Amount borrowed and received by the user","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"toAddress":{"type":"string","description":"Destination address that receives the borrowed token","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["receivedAmount","toAddress"]},"LendingRepayOperationDTO":{"type":"object","properties":{"sentAmount":{"description":"Amount sent to repay debt","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]}},"required":["sentAmount"]},"LendingWithdrawOperationDTO":{"type":"object","properties":{"sentAmount":{"description":"Amount sent in withdraw (formerly tokenIn), e.g. aToken burned side","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"receivedAmount":{"description":"Amount received from withdraw (formerly tokenOut), e.g. underlying to wallet","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"toAddress":{"type":"string","description":"Destination address that receives the withdrawn underlying","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["sentAmount","receivedAmount","toAddress"]},"LendingSupplyTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"LENDING_SUPPLY","examples":["LENDING_SUPPLY","LENDING_SUPPLY_BORROW","LENDING_BORROW","LENDING_WITHDRAW","LENDING_REPAY","LENDING_REPAY_WITHDRAW"]},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"sentBy":{"type":"string","description":"Wallet that supplied tokens","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"provider":{"description":"Provider metadata","allOf":[{"$ref":"#/components/schemas/ProviderDTO"}]},"supply":{"description":"Supply operation details","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/LendingSupplyOperationDTO"}]},"borrow":{"description":"Borrow operation details","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/LendingBorrowOperationDTO"}]},"repay":{"description":"Repay operation details","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/LendingRepayOperationDTO"}]},"withdraw":{"description":"Withdraw operation details","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/LendingWithdrawOperationDTO"}]},"gasFee":{"description":"How much was charged in gas fees, which are the fees charged by the blockchain for the operation to be executed","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]}},"description":"Lending Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","userOperationHash","sentBy","provider","gasFee"]},"LendingLiquidationTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"LENDING_LIQUIDATION"},"sentBy":{"type":"string","description":"Wallet of the borrower that was liquidated. The asset moved out of the lending position controlled by this wallet.","example":"0xa2acc967a9fc4fd5d18351d06deb9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"provider":{"description":"Lending protocol metadata","allOf":[{"$ref":"#/components/schemas/ProviderDTO"}]},"sentAmount":{"description":"Collateral seized from the borrower during the liquidation.","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"receivedAmount":{"description":"Borrow that was repaid by the liquidator on the borrower’s behalf using the seized collateral.","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"unpaidBorrow":{"description":"Borrow absorbed as bad debt by the protocol when the seized collateral did not cover the full debt. Same token as `receivedAmount`; `null` when there was no bad debt.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]},"liquidator":{"type":"string","description":"Address that triggered the liquidation","example":"0x163808e048b0973830e244de0e6136376c832fb4","pattern":"^0x[a-fA-F0-9]{40}$"},"marketId":{"type":"object","description":"Identifier of the lending market where the liquidation happened (Morpho). `null` for transactions loaded from history persisted before this field started being captured.","example":"0x1cfe584af3db05c7f39d60e458a87a8b2f6b5d8c6125631984ec489f1d13553b","pattern":"^0x[a-fA-F0-9]{64}$","nullable":true}},"description":"Lending Liquidation Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","sentBy","provider","sentAmount","receivedAmount","unpaidBorrow","liquidator","marketId"]},"ProtocolDTO":{"type":"object","properties":{"id":{"type":"string","description":"A internal ID of the protocol without spaces and only uppercase letters","example":"ENZYME_BLUE"},"name":{"type":"string","description":"Human readable name of the protocol","example":"Enzyme Blue"},"logoUrl":{"type":"string","description":"URL to an image of the logo of the protocol","example":"https://assets.notus.team/enzyme-blue.png"}},"description":"Vault protocol the fund runs on","required":["id","name","logoUrl"]},"FundDetailsDTO":{"type":"object","properties":{"id":{"type":"string","description":"Curated fund identifier","example":"f1e2d3c4-b5a6-9780-1234-567890abcdef"},"slug":{"type":"string","description":"Curated fund identifier","example":"targen-vertex-plus"},"name":{"type":"string","description":"Human readable name of the fund"},"logo":{"type":"string","description":"URL to an image of the logo of the fund","example":"https://assets.notus.team/targen-vertex-plus.png"},"protocol":{"description":"Vault protocol","allOf":[{"$ref":"#/components/schemas/ProtocolDTO"}]},"vaultAddress":{"type":"string","description":"Enzyme vault share token address","example":"0x58783f682BD1EA0D11e1187E28445d3185B6a173","pattern":"^0x[a-fA-F0-9]{40}$"}},"description":"Quick details about the fund","required":["id","slug","name","logo","protocol","vaultAddress"]},"QuoteAmountInDTO":{"type":"object","properties":{"token":{"description":"Details about the cryptocurrency used","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"amount":{"type":"string","description":"Amount in the crypto currency itself as a decimal number in a string. So if it's WBTC this is the value in WBTC, if it's USDC it's the amount in USDC.  \n**Attention**: This value can be larger than what JavaScript can handle  \n**Attention**: Remember that floats can have rounding issues, but the blockchain does not operate with floats","example":"3342.7389263"},"amountIn":{"nullable":true,"description":"Amount converted to different currencies at the price of the execution of the operation","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]},"from":{"type":"string","description":"Wallet that is sending the token","example":"0xa2ACc967a9Fc4Fd5D18351D06deb9B8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["token","amount","from"]},"QuoteAmountOutDTO":{"type":"object","properties":{"token":{"description":"Details about the cryptocurrency used","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"amount":{"type":"object","description":"Amount in the crypto currency itself as a decimal number in a string. So if it's WBTC this is the value in WBTC, if it's USDC it's the amount in USDC.  \n**Attention**: This value can be larger than what JavaScript can handle  \n**Attention**: Remember that floats can have rounding issues, but the blockchain does not operate with floats ","example":"3342.7389263"},"amountIn":{"nullable":true,"description":"Amount converted to different currencies at the price of the execution of the operation","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]},"minAmount":{"type":"string","example":"88.15","description":"The minimum amount that was set on the quote."},"expectedAmount":{"type":"string","example":"96.15","description":"The expected amount when the quote was created."},"to":{"type":"string","description":"Wallet that is receiving the token","example":"0xa2ACc967a9Fc4Fd5D18351D06deb9B8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["token","amount","minAmount","expectedAmount","to"]},"FundDepositQuoteAmountsDTO":{"type":"object","properties":{"in":{"description":"Amounts sent by the user","type":"array","items":{"$ref":"#/components/schemas/QuoteAmountInDTO"}},"out":{"description":"Amounts received by the user","type":"array","items":{"$ref":"#/components/schemas/QuoteAmountOutDTO"}}},"description":"Tokens and amounts involved in the operation","required":["in","out"]},"FundSwapAmountsDTO":{"type":"object","properties":{"min":{"type":"string","description":"Minimum amount the swap should send"},"expected":{"type":"string","description":"Expected amount the swap should send"},"actual":{"type":"object","description":"Actual amount the swap sent, null if the transaction failed","nullable":true}},"description":"Details about the swap provider that was used","required":["min","expected"]},"FundSwapDTO":{"type":"object","properties":{"provider":{"description":"Swap provider when there was a swap to the vault denomination asset first","allOf":[{"$ref":"#/components/schemas/ProviderDTO"}]},"amountsOut":{"description":"Amounts received from the swap","allOf":[{"$ref":"#/components/schemas/FundSwapAmountsDTO"}]},"tokenOut":{"type":"string","description":"Vault denomination asset address the swap converts the deposit token into","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","pattern":"^0x[a-fA-F0-9]{40}$"}},"description":"Details about the swap provider that was used","required":["provider","amountsOut","tokenOut"]},"FundDepositTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"FUND_DEPOSIT"},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"sentBy":{"type":"string","description":"Wallet that deposited into the vault","example":"0xa2ACc967a9Fc4Fd5D18351D06deb9B8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"toAddress":{"type":"string","description":"Wallet that received the vault shares","pattern":"^0x[a-fA-F0-9]{40}$"},"fund":{"$ref":"#/components/schemas/FundDetailsDTO"},"settlementMode":{"type":"string","description":"How the vault settles capital: SYNC, ASYNC, or HYBRID. HYBRID means it could be SYNC or ASYNC depending on rules of the fund.","example":"SYNC"},"settlement":{"type":"string","description":"Whether this operation settles in the same UserOp (immediate) or via a manager queue (queued).","example":"immediate"},"amounts":{"description":"Tokens and amounts involved in the operation","allOf":[{"$ref":"#/components/schemas/FundDepositQuoteAmountsDTO"}]},"swap":{"description":"When there was a swap to the vault denomination asset first","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/FundSwapDTO"}]},"fees":{"description":"The fees that were charged","type":"array","items":{"$ref":"#/components/schemas/FeeDTO"}},"gasFee":{"description":"How much was charged in gas fees, which are the fees charged by the blockchain for the operation to be executed","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]}},"description":"Fund Deposit Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","userOperationHash","sentBy","toAddress","fund","settlementMode","settlement","amounts","swap","fees","gasFee"]},"FundRedeemTransactionDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"id":{"type":"string","description":"Our ID of the transaction, use it for paging","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b"},"createdAt":{"type":"string","description":"Time the transaction was created in our API","example":"2025-08-20T19:32:23.581Z"},"updatedAt":{"type":"string","nullable":true,"description":"Last time the details of the transaction were updated","example":"2025-08-20T20:45:12.385Z"},"executedAt":{"type":"string","nullable":true,"description":"Time the transaction was executed on the blockchain","example":"2025-08-20T20:45:12.385Z"},"status":{"type":"string","description":"Current status of the operation","example":"COMPLETED"},"transactionHash":{"description":"Hash of the transaction that executed this user operation in the blockchain, more than one user operation can be executed in the same transaction","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BlockchainHashDTO"}]},"chain":{"description":"Chain where the user operation was executed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"Type of transaction","example":"FUND_REDEEM"},"userOperationHash":{"type":"string","description":"Unique hash of this specific user operation","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"sentBy":{"type":"string","description":"Wallet that redeemed vault shares","example":"0xA2acC967a9FC4fD5d18351D06deB9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"toAddress":{"type":"string","description":"Wallet that received the denomination asset","example":"0xA2acC967a9FC4fD5d18351D06deB9b8718c18333","pattern":"^0x[a-fA-F0-9]{40}$"},"fund":{"$ref":"#/components/schemas/FundDetailsDTO"},"settlementMode":{"type":"string","description":"How the vault settles capital: SYNC, ASYNC, or HYBRID. HYBRID means it could be SYNC or ASYNC depending on rules of the fund.","example":"SYNC"},"settlement":{"type":"string","description":"Whether this operation settles in the same UserOp (immediate) or via a manager queue (queued).","example":"immediate"},"amounts":{"description":"Tokens and amounts involved in the operation","allOf":[{"$ref":"#/components/schemas/FundDepositQuoteAmountsDTO"}]},"fees":{"description":"The fees that were charged","type":"array","items":{"$ref":"#/components/schemas/FeeDTO"}},"gasFee":{"description":"How much was charged in gas fees, which are the fees charged by the blockchain for the operation to be executed","allOf":[{"$ref":"#/components/schemas/QuoteAmount"}]}},"description":"Fund Redeem Transaction","required":["metadata","id","createdAt","status","transactionHash","chain","type","userOperationHash","sentBy","toAddress","fund","settlementMode","settlement","amounts","fees","gasFee"]},"TransactionOutputDTO":{"type":"object","properties":{"nextLastId":{"type":"string","description":"Next transaction ID to paginate","example":"f1d61925-d4ae-450a-9f74-ab55f5e6647b","nullable":true},"transactions":{"type":"array","description":"List of transactions, pending or executed","items":{"oneOf":[{"$ref":"#/components/schemas/CryptoDepositTransactionDTO","title":"Deposit"},{"$ref":"#/components/schemas/CryptoWithdrawTransactionDTO","title":"Withdrawal"},{"$ref":"#/components/schemas/CryptoSwapTransactionDTO","title":"Swap or Cross-swap"},{"$ref":"#/components/schemas/CustomTransactionDTO","title":"Custom Contract"},{"$ref":"#/components/schemas/CryptoLiquidityTransactionDTO","title":"Liquidity Pool"},{"$ref":"#/components/schemas/CryptoSwapLiquidityTransactionDTO","title":"Swap Liquidity Pool Add"},{"$ref":"#/components/schemas/WithdrawSwapLpTransactionDTO","title":"Withdraw Swap Liquidity Pool"},{"$ref":"#/components/schemas/OffRampTransactionDTO","title":"Off-ramp"},{"$ref":"#/components/schemas/OnRampTransactionDTO","title":"On-ramp"},{"$ref":"#/components/schemas/LendingSupplyTransactionDTO","title":"Lending Supply"},{"$ref":"#/components/schemas/LendingLiquidationTransactionDTO","title":"Lending Liquidation"},{"$ref":"#/components/schemas/FundDepositTransactionDTO","title":"Fund Deposit"},{"$ref":"#/components/schemas/FundRedeemTransactionDTO","title":"Fund Redeem"}]}}},"required":["nextLastId","transactions"]},"UpdateTransactionMetadataDTO":{"type":"object","properties":{"transaction":{"description":"Transaction that was updated","oneOf":[{"$ref":"#/components/schemas/CryptoDepositTransactionDTO","title":"Deposit"},{"$ref":"#/components/schemas/CryptoWithdrawTransactionDTO","title":"Withdrawal"},{"$ref":"#/components/schemas/CryptoSwapTransactionDTO","title":"Swap or Cross-swap"},{"$ref":"#/components/schemas/CustomTransactionDTO","title":"Custom Contract"},{"$ref":"#/components/schemas/CryptoLiquidityTransactionDTO","title":"Liquidity Pool"},{"$ref":"#/components/schemas/CryptoSwapLiquidityTransactionDTO","title":"Swap Liquidity Pool Add"},{"$ref":"#/components/schemas/WithdrawSwapLpTransactionDTO","title":"Withdraw Swap Liquidity Pool"},{"$ref":"#/components/schemas/OffRampTransactionDTO","title":"Off-ramp"},{"$ref":"#/components/schemas/OnRampTransactionDTO","title":"On-ramp"},{"$ref":"#/components/schemas/LendingSupplyTransactionDTO","title":"Lending Supply"},{"$ref":"#/components/schemas/LendingLiquidationTransactionDTO","title":"Lending Liquidation"},{"$ref":"#/components/schemas/FundDepositTransactionDTO","title":"Fund Deposit"},{"$ref":"#/components/schemas/FundRedeemTransactionDTO","title":"Fund Redeem"}]}},"required":["transaction"]},"ExportTaxTransactionsBodyDTO":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","description":"Email address to send the tax export to"},"individual":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["individual"]},"individualId":{"type":"string","description":"Notus individual identifier to resolve CPF/CNPJ"}},"required":["type","individualId"]},{"type":"object","properties":{"type":{"type":"string","enum":["document"]},"customerName":{"type":"string","minLength":1,"description":"Customer name to be sent to the email"},"documentId":{"type":"string","pattern":"^\\d+$","description":"CPF or CNPJ document ID"}},"required":["type","customerName","documentId"]}],"description":"The tax identity reference used by the external tax API"},"emailCustomization":{"type":"object","properties":{"subject":{"description":"Custom email subject line","type":"string"},"title":{"description":"Custom title in the email body","type":"string"},"productName":{"description":"Custom product/brand name to display","type":"string"},"logoUrl":{"description":"Custom logo URL","type":"string","format":"uri"},"brandColor":{"description":"Custom brand color (hex like #ec4c2b)","type":"string","pattern":"^#([a-fA-F0-9]{3}){1,2}$"},"foregroundColor":{"description":"Custom foreground/text color (hex like #3b3f44)","type":"string","pattern":"^#([a-fA-F0-9]{3}){1,2}$"},"backgroundColor":{"description":"Custom background color (hex like #f5f7fb)","type":"string","pattern":"^#([a-fA-F0-9]{3}){1,2}$"}},"description":"Custom email branding options for white-labeling"}},"required":["email","individual"]},"CreateTaxExportScheduleBodyDTO":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","description":"Email address to receive recurring tax exports"},"individual":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["individual"]},"individualId":{"type":"string","description":"Notus individual identifier to resolve CPF/CNPJ"}},"required":["type","individualId"]},{"type":"object","properties":{"type":{"type":"string","enum":["document"]},"customerName":{"type":"string","minLength":1,"description":"Customer name to be sent in recurring export emails"},"documentId":{"type":"string","pattern":"^\\d+$","description":"CPF or CNPJ document ID"}},"required":["type","customerName","documentId"]}],"description":"Tax identity used to generate recurring tax exports"},"emailCustomization":{"type":"object","properties":{"subject":{"description":"Custom email subject line","type":"string"},"title":{"description":"Custom title in the email body","type":"string"},"productName":{"description":"Custom product/brand name to display","type":"string"},"logoUrl":{"description":"Custom logo URL","type":"string","format":"uri"},"brandColor":{"description":"Custom brand color (hex like #ec4c2b)","type":"string"},"foregroundColor":{"description":"Custom foreground/text color (hex like #3b3f44)","type":"string"},"backgroundColor":{"type":"string"}}},"recurrencePreset":{"type":"string","enum":["MONTHLY_START"],"description":"Recurrence preset for the schedule"},"timezone":{"description":"IANA timezone. Defaults to America/Sao_Paulo","type":"string"}},"required":["email","individual","recurrencePreset"]},"ChangeLiquidityDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional provider for entering a liquidity pool. If not provided, Uniswap v3 will be used.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"nftAddress":{"description":"Optional position manager (NFT contract) of the position: the `nftAddress` returned when the position was created. It selects the liquidity provider; if `liquidityProvider` is also sent, both must name the same provider. Without either, Uniswap V3 is used.","example":"0xC36442b4a4522E871399CD717aBDD847Ab11FE88","type":"string","nullable":true},"walletAddress":{"description":"The wallet address (in hexadecimal format) who owns the liquidity.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"chainId":{"description":"The blockchain network where the current liquidity will be modified. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"payGasFeeToken":{"description":"The token address (in hexadecimal format) used to pay the transaction fee.","example":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","type":"string"},"gasFeePaymentMethod":{"type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"],"description":"Defines how the fee will be paid: \"ADD_TO_AMOUNT\" adds it to the input amount, while \"DEDUCT_FROM_AMOUNT\" subtracts it from the input amount.","example":"ADD_TO_AMOUNT"},"transactionFeePercent":{"default":0,"description":"Percentage fee applied to the transaction (e.g., 5 for 5%).","example":2.5,"type":"number","minimum":0,"maximum":99.99},"tokenId":{"type":"string","description":"ID of the NFT that represents the liquidity","example":"2375619234"},"change":{"anyOf":[{"type":"object","properties":{"token0":{"description":"The address (in hexadecimal format) of one of the tokens of the pool. Use `0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee` to pay with the native token (POL, ETH...): the position holds the wrapped token (WPOL, WETH...) and the wrapping is done for you.","example":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","type":"string"},"token1":{"description":"The address (in hexadecimal format) of the other token of the pool. Use `0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee` to pay with the native token (POL, ETH...).","example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","type":"string"},"token0Amount":{"type":"string","description":"The amount of token0 to add to or remove from the liquidity pool, expressed as a decimal string. Negative values are allowed.","example":"26.2345"},"token1Amount":{"type":"string","description":"The amount of token1 to add to or remove from the liquidity pool, expressed as a decimal string. Negative values are allowed.","example":"1823.2"}},"required":["token0","token1","token0Amount","token1Amount"]},{"type":"object","properties":{"percentage":{"type":"number","minimum":0.01,"maximum":100,"description":"Reduce the liquidity by a percentage, so if you want to reduce the liquidity by 20% send 20 here. Can't be used to increase liquidity.","example":15.5}},"required":["percentage"]}]},"slippage":{"default":0.5,"description":"Optional parameter controlling the maximum deviation allowed of the expected price of a trade and the actual price at which the trade is executed, with a minimum value of 0.5 and a maximum value of 99, default is 0.5, where 1 unit equals 1%.","example":1.2,"type":"number","minimum":0,"maximum":99},"unwrapNativeToken":{"description":"When removing liquidity, receive the native token (POL, ETH...) instead of the wrapped one (WPOL, WETH...) for that leg of the position. The wrapped token never reaches the wallet, so pay the gas fee with the native token or another token the wallet holds. Ignored when the position has no wrapped native token or when adding liquidity.","example":false,"type":"boolean","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["walletAddress","chainId","payGasFeeToken","gasFeePaymentMethod","tokenId","change"]},"LiquidityRewardDTO":{"type":"object","properties":{"token":{"description":"Reward token the operation pays out.","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"amount":{"type":"string","description":"Estimated amount of the reward token paid to the wallet, at the time of the quote.","example":"0.35"}},"required":["token","amount"]},"CreateLiquidityDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional provider for entering a liquidity pool. If not provided, Uniswap v3 will be used.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"walletAddress":{"description":"The wallet address (in hexadecimal format) that will provide the liquidity.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"toAddress":{"description":"The address (in hexadecimal format) receiving the token that represents the provided liquidity.","example":"0x1337133713371337133713371337133713371337","type":"string"},"chainId":{"description":"The blockchain network where the liquidity will be provided. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"transactionFeePercent":{"default":0,"description":"Percentage fee applied to the transaction (e.g., 5 for 5%).","example":2.5,"type":"number","minimum":0,"maximum":99.99},"payGasFeeToken":{"description":"The token address (in hexadecimal format) used to pay the transaction fee.","example":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","type":"string"},"gasFeePaymentMethod":{"type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"],"description":"Defines how the fee will be paid: \"ADD_TO_AMOUNT\" adds it to the input amount, while \"DEDUCT_FROM_AMOUNT\" subtracts it from the input amount.","example":"ADD_TO_AMOUNT"},"tokenIn":{"description":"The address (in hexadecimal format) of the token being swapped from.","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","type":"string"},"amountIn":{"type":"string","description":"The amount of token being swapped from, expressed as a decimal string.","example":"1.2"},"token0":{"description":"The address (in hexadecimal format) of one of the tokens of the pool.","example":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","type":"string"},"token1":{"description":"The address (in hexadecimal format) of the other token of the pool.","example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","type":"string"},"poolFeePercent":{"type":"number","exclusiveMinimum":true,"maximum":100,"description":"Defines the fee earned by providing liquidity. Lower values are recommended for more stable tokens, while higher values are better suited for volatile assets. The values allowed depend on the provider, so check the provider docs too to know which fee tiers are allowed.","example":1,"minimum":0},"tickSpacing":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Tick spacing of the pool (`tickSpacing` from the pool list). Part of the pool's identity where the fee alone does not fix it: required for UNISWAP_V4, ignored by the providers that read it from the pool.","example":60,"nullable":true},"poolId":{"type":"string","pattern":"^[0-9]+-0x([0-9a-fA-F]{40}|[0-9a-fA-F]{64})$","description":"Optional `id` of the pool from the pool list. When sent, the request fails with POOL_ID_MISMATCH unless the pool it resolves to is this one.","example":"137-0x5b5bf85e5dc1e76ff90025ac5d8e8595fb575443","nullable":true},"stake":{"description":"PANCAKESWAP_V3 only: also stake the new position in the pool's MasterChefV3 farm, in the same operation, so it earns CAKE from the start. The wallet approves the staker contract on the position manager once: on the pool's network that approval is part of this operation; coming from another network it is a second, sponsored operation returned as `stakeApprovalUserOperation`. Ignored when the pool has no live farm or `toAddress` is not `walletAddress`. The response's `staked` tells whether the position will be staked.","example":false,"type":"boolean","nullable":true},"minPrice":{"type":"number","minimum":0,"description":"Minimum price the liquidity will be active. If the price goes below this, the liquidity won't be active and will generate no revenues. This will allow to concentrate the liquidity to a price range, thus enhancing the gains. Price is always `p = token1 / token0`","example":83475.12},"maxPrice":{"type":"number","minimum":0,"description":"Maximum price the liquidity will be active. If the price goes above this, the liquidity won't be active and will generate no revenues. This will allow to concentrate the liquidity to a price range, thus enhancing the gains. Price is always `p = token1 / token0`","example":102300.5},"slippage":{"default":0.5,"description":"Optional parameter controlling the maximum deviation allowed of the expected price of a trade and the actual price at which the trade is executed, with a minimum value of 0.5 and a maximum value of 99, default is 0.5, where 1 unit equals 1%.","example":1.2,"type":"number","minimum":0,"maximum":99},"extraFee":{"description":"Optional extra fee that can be charged in addition to the transaction fee (configured in the dashboard or via `transactionFeePercent`). This extra fee is deducted from the input token and sent to the specified `toAddress`, allowing you to define a custom recipient for this additional charge.","type":"object","properties":{"percentage":{"type":"number","minimum":0,"maximum":99.99,"description":"The percentage of the extra fee to be charged","example":1.5},"toAddress":{"description":"The address (in hexadecimal format) receiving the extra fee.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["percentage","toAddress"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["walletAddress","toAddress","chainId","payGasFeeToken","gasFeePaymentMethod","tokenIn","amountIn","token0","token1","poolFeePercent","minPrice","maxPrice"]},"LiquidityOperationResponseDTO":{"type":"object","properties":{"operation":{"$ref":"#/components/schemas/CreateLiquidityDTO"}},"required":["operation"]},"ChangeSwapLiquidityDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional provider of the position. If neither this nor nftAddress is provided, Uniswap v3 will be used.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"nftAddress":{"description":"Optional position manager (NFT contract) of the position: the `nftAddress` returned when the position was created. It selects the liquidity provider; if `liquidityProvider` is also sent, both must name the same provider. Without either, Uniswap V3 is used.","example":"0xC36442b4a4522E871399CD717aBDD847Ab11FE88","type":"string","nullable":true},"walletAddress":{"description":"The wallet address (in hexadecimal format) that will provide the liquidity.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"chainId":{"description":"The blockchain network where the liquidity will be provided. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"transactionFeePercent":{"default":0,"description":"Percentage fee applied to the transaction (e.g., 5 for 5%).","example":2.5,"type":"number","minimum":0,"maximum":99.99},"payGasFeeToken":{"description":"The token address (in hexadecimal format) used to pay the transaction fee.","example":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","type":"string"},"gasFeePaymentMethod":{"type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"],"description":"Defines how the fee will be paid: \"ADD_TO_AMOUNT\" adds it to the input amount, while \"DEDUCT_FROM_AMOUNT\" subtracts it from the input amount.","example":"ADD_TO_AMOUNT"},"tokenIn":{"description":"The address (in hexadecimal format) of the token being swapped from.","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","type":"string"},"amountIn":{"type":"string","description":"The amount of token being swapped from, expressed as a decimal string.","example":"1.2"},"tokenId":{"type":"string","description":"The NFT token ID of the existing liquidity position to add liquidity to.","example":"123456"},"minPrice":{"type":"number","minimum":0,"description":"Minimum price the liquidity will be active. If the price goes below this, the liquidity won't be active and will generate no revenues. This will allow to concentrate the liquidity to a price range, thus enhancing the gains. Price is always `p = token1 / token0`","example":83475.12},"maxPrice":{"type":"number","minimum":0,"description":"Maximum price the liquidity will be active. If the price goes above this, the liquidity won't be active and will generate no revenues. This will allow to concentrate the liquidity to a price range, thus enhancing the gains. Price is always `p = token1 / token0`","example":102300.5},"slippage":{"default":0.5,"description":"Optional parameter controlling the maximum deviation allowed of the expected price of a trade and the actual price at which the trade is executed, with a minimum value of 0.5 and a maximum value of 99, default is 0.5, where 1 unit equals 1%.","example":1.2,"type":"number","minimum":0,"maximum":99},"extraFee":{"description":"Optional extra fee that can be charged in addition to the transaction fee (configured in the dashboard or via `transactionFeePercent`). This extra fee is deducted from the input token and sent to the specified `toAddress`, allowing you to define a custom recipient for this additional charge.","type":"object","properties":{"percentage":{"type":"number","minimum":0,"maximum":99.99,"description":"The percentage of the extra fee to be charged","example":1.5},"toAddress":{"description":"The address (in hexadecimal format) receiving the extra fee.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["percentage","toAddress"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["walletAddress","chainId","payGasFeeToken","gasFeePaymentMethod","tokenIn","amountIn","tokenId","minPrice","maxPrice"]},"StakeApprovalUserOperationDTO":{"type":"object","properties":{"userOperationHash":{"type":"string","description":"Hash of the sponsored approval operation to sign.","pattern":"^0x[a-fA-F0-9]{64}$","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]}},"required":["userOperationHash","authorization"]},"SwapLiquidityAmountDTO":{"type":"object","properties":{"token":{"description":"Details about the cryptocurrency used","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"amount":{"type":"string","description":"Amount in the crypto currency itself as a decimal number in a string. So if it's WBTC this is the value in WBTC, if it's USDC it's the amount in USDC.  \n**Attention**: This value can be larger than what JavaScript can handle  \n**Attention**: Remember that floats can have rounding issues, but the blockchain does not operate with floats","example":"3342.7389263"},"amountIn":{"nullable":true,"description":"Amount converted to different currencies at the price of the execution of the operation","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]},"cryptoCurrency":{"deprecated":true,"description":"**DEPRECATED**: Use `token` instead","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"protocolMinAmount":{"type":"object","nullable":true,"description":"Minimum amount accepted by the liquidity protocol after applying its position and slippage calculations.","example":"3342.7389263"}},"required":["token","amount","cryptoCurrency","protocolMinAmount"]},"CreateSwapLiquidityDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"poolId":{"type":"string","nullable":true,"description":"Pool the operation acts on (for a position operation, the pool of the position), with the same value as the `id` of GET /liquidity/pools: `{chainId}-{protocolPoolId}`. Null only when the provider could not read it.","example":"56-0x36696169c63e42cd08ce11f5deebbcebae652050"},"tickSpacing":{"type":"number","nullable":true,"description":"Tick spacing of the pool.","example":10},"staked":{"type":"boolean","nullable":true,"description":"PANCAKESWAP_V3 position operations: whether the position was staked in MasterChefV3 when the quote was built (the transactions depend on it). On an entry, true when the operation also stakes the position it mints (`stake`). Null for other entries and for providers without staking.","example":true},"rewards":{"description":"Reward tokens the operation pays to the wallet, estimated at quote time: the CAKE a staked PancakeSwap position harvests on collect, withdraw, removal, rebalance, reinvest and unstake. Empty otherwise. Rewards are never reinvested.","type":"array","items":{"$ref":"#/components/schemas/LiquidityRewardDTO"}},"userOperationHash":{"type":"string","nullable":true,"description":"Unique identifier for the liquidity user operation, required to execute the transaction.","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"revertReason":{"nullable":true,"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.","type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]},"stakeApprovalUserOperation":{"nullable":true,"description":"Cross-chain entries that stake the new position (`stake`): a second, sponsored user operation on the pool's network, the wallet's approval of the staker contract. Sign its `userOperationHash` (and `authorization`, when present) along with this operation and send them on execute-user-op as `stakeApprovalUserOperationHash`, `stakeApprovalSignature` and `stakeApprovalAuthorization`. Without them the entry still executes and the position is left unstaked. Null when nothing is staked or the wallet already approved the staker.","type":"object","allOf":[{"$ref":"#/components/schemas/StakeApprovalUserOperationDTO"}]},"tokenIn":{"description":"Details about the cryptocurrency used in the swap","allOf":[{"$ref":"#/components/schemas/CryptoCurrency"}]},"amountIn":{"type":"string","description":"The amount of tokens being swapped.","example":"7239.2"},"tokenInAmountForToken0":{"type":"string","description":"The amount of tokenIn that will be used to swap for token0 (first token in the pool).","example":"3619.6"},"tokenInAmountForToken1":{"type":"string","description":"The amount of tokenIn that will be used to swap for token1 (second token in the pool).","example":"3619.6"},"walletAddress":{"type":"string","description":"The wallet address (in hexadecimal format) that interacted with the liquidity protocol.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","pattern":"^0x[a-fA-F0-9]{40}$"},"expiresAt":{"format":"date-time","type":"string","description":"The expiration date of the operation.","example":"2025-10-26T13:27:49.542Z"},"amounts":{"description":"The amount of tokens being added to the pool.","example":"7239.2","type":"array","items":{"$ref":"#/components/schemas/SwapLiquidityAmountDTO"}},"fees":{"description":"The fees collected for the swap.","type":"array","items":{"$ref":"#/components/schemas/FeeDTO"}},"collectedPoolFees":{"description":"Pool fees the operation pays out to the wallet, token0 then token1. Uniswap V4 pays the accrued fees of a position out on every change, so a V4 top-up reports them here; zero on entries and on the adds of the other providers.","type":"array","items":{"$ref":"#/components/schemas/QuoteAmount"}},"estimatedGasFees":{"description":"Details of the estimated fees for the swap, including gas and provider fees.","allOf":[{"$ref":"#/components/schemas/EstimatedGasFees"}]},"bridgeFee":{"type":"string","nullable":true,"description":"What the bridge charges a cross-chain entry or top-up to deliver the funds and run the deposit on the pool's network, in `tokenIn` units like `fees[].amount`. It is part of `amountIn`, not charged on top of it. Null on same-network operations, and when the route cannot price it.","example":"0.935"},"chain":{"description":"The blockchain network where liquidity was provided.","example":42161,"allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"liquidityProvider":{"type":"string","description":"The provider used for the liquidity.","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"],"example":"UNISWAP_V3"},"nftAddress":{"type":"string","description":"Address of the NFT that will be created to represent the liquidity.","example":"0xc36442b4a4522e871399cd717abdd847ab11fe88","pattern":"^0x[a-fA-F0-9]{40}$"},"estimatedApr":{"type":"string","description":"Estimated annualized APR (in percentage) for the simulated position.","example":"18.42"}},"required":["metadata","poolId","tickSpacing","staked","rewards","userOperationHash","revertReason","authorization","stakeApprovalUserOperation","tokenIn","amountIn","tokenInAmountForToken0","tokenInAmountForToken1","walletAddress","expiresAt","amounts","fees","collectedPoolFees","estimatedGasFees","bridgeFee","chain","liquidityProvider","nftAddress","estimatedApr"]},"SwapLiquidityOperationResponseDTO":{"type":"object","properties":{"operation":{"$ref":"#/components/schemas/CreateSwapLiquidityDTO"}},"required":["operation"]},"CollectFeesDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional provider for entering a liquidity pool. If not provided, Uniswap v3 will be used.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"nftAddress":{"description":"Optional position manager (NFT contract) of the position: the `nftAddress` returned when the position was created. It selects the liquidity provider; if `liquidityProvider` is also sent, both must name the same provider. Without either, Uniswap V3 is used.","example":"0xC36442b4a4522E871399CD717aBDD847Ab11FE88","type":"string","nullable":true},"chainId":{"description":"The blockchain network where the liquidity will be provided. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"nftId":{"type":"string","description":"ID of the NFT that represents the liquidity","example":"2375619234"},"walletAddress":{"description":"The wallet address (in hexadecimal format) who owns the liquidity.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"payGasFeeToken":{"description":"The token address (in hexadecimal format) used to pay the transaction fee.","example":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","type":"string"},"unwrapNativeToken":{"description":"Receive the native token (POL, ETH...) instead of the wrapped one (WPOL, WETH...) for that leg of the position. The wrapped token never reaches the wallet, so pay the gas fee with the native token or another token the wallet holds. Ignored when the position has no wrapped native token.","example":false,"type":"boolean","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["chainId","nftId","walletAddress","payGasFeeToken"]},"EstimateAprDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional liquidity provider. If omitted, defaults to Uniswap v3.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"chainId":{"description":"The blockchain network where APR will be estimated. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"token0":{"description":"Address of token0 in the target pool. `0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee` stands for the native token (POL, ETH...) and targets the pool holding its wrapped token.","example":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","type":"string"},"token1":{"description":"Address of token1 in the target pool. `0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee` stands for the native token (POL, ETH...).","example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","type":"string"},"token0Amount":{"type":"string","example":"10.5"},"token1Amount":{"type":"string","example":"2500"},"poolFeePercent":{"type":"number","exclusiveMinimum":true,"maximum":100,"description":"Pool fee percent (e.g. 0.3, 1).","example":0.3,"minimum":0},"tickSpacing":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Tick spacing of the pool (`tickSpacing` from the pool list). Part of the pool's identity where the fee alone does not fix it: required for UNISWAP_V4, ignored by the providers that read it from the pool.","example":60,"nullable":true},"poolId":{"type":"string","pattern":"^[0-9]+-0x([0-9a-fA-F]{40}|[0-9a-fA-F]{64})$","description":"Optional `id` of the pool from the pool list. When sent, the request fails with POOL_ID_MISMATCH unless the pool it resolves to is this one.","example":"137-0x5b5bf85e5dc1e76ff90025ac5d8e8595fb575443","nullable":true},"minPrice":{"type":"number","minimum":0,"description":"Minimum active price bound for the future position.","example":83475.12},"maxPrice":{"type":"number","minimum":0,"description":"Maximum active price bound for the future position.","example":102300.5}},"required":["chainId","token0","token1","token0Amount","token1Amount","poolFeePercent","minPrice","maxPrice"]},"EstimateAprResponseDTO":{"type":"object","properties":{"estimatedApr":{"type":"string","description":"Estimated annualized APR percentage for the provided position inputs.","example":"12.34"}},"required":["estimatedApr"]},"TokenAmountsDTO":{"type":"object","properties":{"token0Amount":{"type":"string","description":"Amount of token0 as a string","example":"2345.91"},"token1Amount":{"type":"string","description":"Amount of token1 as a string","example":"723.123"}},"required":["token0Amount","token1Amount"]},"AmountsDTO":{"type":"object","properties":{"token0MaxAmount":{"description":"Amount of the tokens you need to provide to the pool if using the token0MaxAmount","allOf":[{"$ref":"#/components/schemas/TokenAmountsDTO"}]},"token1MaxAmount":{"description":"Amount of the tokens you need to provide to the pool if using the token1MaxAmount","allOf":[{"$ref":"#/components/schemas/TokenAmountsDTO"}]}},"required":["token0MaxAmount","token1MaxAmount"]},"GetAmountsPresenterDTO":{"type":"object","properties":{"poolPrice":{"type":"string","description":"Current price of the pool as a string. Price is always `p = token1 / token0`","example":"18342.234512"},"amounts":{"description":"Amounts you need to provide to the pool. If the amounts for two tokens were provided, this will have two items, otherwise it's a single item.","allOf":[{"$ref":"#/components/schemas/AmountsDTO"}]}},"required":["poolPrice","amounts"]},"PoolKeyDTO":{"type":"object","properties":{"currency0":{"type":"string","description":"Lower-sorted currency of the pool. The native token is the zero address.","example":"0x0000000000000000000000000000000000000000","pattern":"^0x[a-fA-F0-9]{40}$"},"currency1":{"type":"string","description":"Higher-sorted currency of the pool.","example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","pattern":"^0x[a-fA-F0-9]{40}$"},"fee":{"type":"number","description":"LP fee in pips (hundredths of a basis point).","example":500},"tickSpacing":{"type":"number","description":"Tick spacing of the pool.","example":10},"hooks":{"type":"string","description":"Hooks contract; always the zero address on listed pools.","example":"0x0000000000000000000000000000000000000000","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["currency0","currency1","fee","tickSpacing","hooks"]},"WhirlpoolStateDTO":{"type":"object","properties":{"sqrtPrice":{"type":"string","description":"Square root of the price of token B in token A, raw units, Q64.64 as the whirlpool holds it.","example":"7922816251426433759354395033"},"liquidity":{"type":"string","description":"Liquidity active at the current price.","example":"123456789012345"}},"required":["sqrtPrice","liquidity"]},"LiquidityPoolTokenDTO":{"type":"object","properties":{"name":{"type":"string","description":"Full name of the token","example":"Wrapped Bitcoin"},"symbol":{"type":"string","description":"Ticker symbol of the token","example":"WBTC"},"decimals":{"type":"number","description":"Maximum amount of decimals this token supports","example":18},"address":{"type":"string","description":"Address of the token as its blockchain writes it: a checksummed `0x` address on EVM chains, a `C…` contract on Stellar, and `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE` for the native coin of any chain","example":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"},"poolShareInPercentage":{"type":"number","description":"The percentage share of this token in the pool","example":50.5},"poolShare":{"type":"number","description":"The actual share amount of this token in the pool","example":1000.25},"logo":{"type":"object","description":"Logo of the token","example":"https://assets.notus.team/wbtc.png","nullable":true}},"required":["name","symbol","decimals","address","poolShareInPercentage","poolShare","logo"]},"PoolStatsDTO":{"type":"object","properties":{"rangeInDays":{"type":"number","description":"Number of days the statistics cover","example":30},"feesInUSD":{"type":"string","description":"Total fees collected in USD on the period range","example":"1500.75"},"volumeInUSD":{"type":"string","description":"Total trading volume in USD on the period range","example":"50000.25"},"transactionsCount":{"type":"number","description":"Total number of transactions on the period range","example":1250}},"required":["rangeInDays","feesInUSD","volumeInUSD","transactionsCount"]},"PoolDetailsDTO":{"type":"object","properties":{"id":{"type":"string","description":"Id of the pool: `${chainId}-${protocolPoolId}`, lowercase. Use it to identify a pool; `address` is not unique for Uniswap V4 pools.","example":"137-0x45dda9cb7c25131df268515131f647d726f50608"},"provider":{"$ref":"#/components/schemas/ProviderDTO"},"liquidityProvider":{"type":"string","description":"Provider id to send as `liquidityProvider` in the liquidity requests for this pool.","example":"UNISWAP_V3","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4","ORCA_WHIRLPOOLS"]},"protocolPoolId":{"type":"string","description":"The protocol's own id of the pool: the pool contract address, the 32-byte PoolId on Uniswap V4, or the base58 Whirlpool account on Orca.","example":"0x45dda9cb7c25131df268515131f647d726f50608"},"tickSpacing":{"type":"number","description":"Tick spacing of the pool.","example":10,"nullable":true},"positionManager":{"type":"string","description":"Position manager (NFT contract) the positions in this pool are minted by: their `nftAddress`.","example":"0xC36442b4a4522E871399CD717aBDD847Ab11FE88","nullable":true},"poolKey":{"description":"Uniswap V4 PoolKey of the pool; null for other providers.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/PoolKeyDTO"}]},"whirlpool":{"description":"An Orca pool's price and active liquidity, read on-chain when listed; null for other providers, or when the read failed.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/WhirlpoolStateDTO"}]},"address":{"type":"string","description":"The address of the pool: the checksummed contract on EVM chains, the base58 account on Solana. For Uniswap V4 it is the chain's PoolManager, shared by every V4 pool of that chain.","example":"0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"},"chain":{"description":"The chain where the pool is deployed","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"fee":{"type":"number","description":"The fee tier of the pool as decimal (e.g., 0.05 for 0.05%)","example":0.05},"totalValueLockedUSD":{"type":"string","description":"The total value locked in USD as string","example":"10000.453"},"tokens":{"description":"The tokens in the pool","type":"array","items":{"$ref":"#/components/schemas/LiquidityPoolTokenDTO"}},"stats":{"description":"Aggregated statistics for the pool over the specified time range","allOf":[{"$ref":"#/components/schemas/PoolStatsDTO"}]}},"required":["id","provider","liquidityProvider","protocolPoolId","tickSpacing","positionManager","poolKey","whirlpool","address","chain","fee","totalValueLockedUSD","tokens","stats"]},"ListPoolsDTO":{"type":"object","properties":{"pools":{"description":"The list of pools","type":"array","items":{"$ref":"#/components/schemas/PoolDetailsDTO"}}},"required":["pools"]},"GetPoolResponseDTO":{"type":"object","properties":{"pool":{"description":"Liquidity pool with aggregated statistics","allOf":[{"$ref":"#/components/schemas/PoolDetailsDTO"}]}},"required":["pool"]},"PoolStatisticsItemDTO":{"type":"object","properties":{"timestamp":{"type":"number","description":"Timestamp of the data point in milliseconds","example":1678900000000},"volumeInUSD":{"type":"string","description":"Trading volume in USD on this time period","example":"15000.50"},"feesInUSD":{"type":"string","description":"Fees collected in USD on this time period","example":"750.25"},"closeInUSD":{"type":"string","description":"Closing price in USD for this time period","example":"0.00036046617504367228"},"highInUSD":{"type":"string","description":"Highest price in USD during this time period","example":"0.00038494169673061318"},"lowInUSD":{"type":"string","description":"Lowest price in USD during this time period","example":"0.00035904368570694481"},"totalValueLockedInUSD":{"type":"string","description":"Total value locked in USD at this time","example":"500000.75"},"token0PriceInToken1":{"type":"string","description":"Price of the first token compared to the second token","example":"1.25"},"token1PriceInToken0":{"type":"string","description":"Price of the second token compared to the first token","example":"1.25"}},"required":["timestamp","volumeInUSD","feesInUSD","closeInUSD","highInUSD","lowInUSD","totalValueLockedInUSD","token0PriceInToken1","token1PriceInToken0"]},"PoolStatisticsDTO":{"type":"object","properties":{"rangeInDays":{"type":"number","description":"Number of days the statistics cover","example":30},"groupByInterval":{"type":"string","description":"The interval used for grouping the statistics","enum":["HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],"example":"DAILY"},"poolId":{"type":"string","description":"The unique identifier of the pool","example":"137-0x4CcD010148379ea531D6C587CfDd60180196F9b1"},"items":{"description":"Array of statistics data points for the specified time range","type":"array","items":{"$ref":"#/components/schemas/PoolStatisticsItemDTO"}}},"required":["rangeInDays","groupByInterval","poolId","items"]},"GetPoolStatisticsResponseDTO":{"type":"object","properties":{"statistics":{"description":"Pool statistics data","allOf":[{"$ref":"#/components/schemas/PoolStatisticsDTO"}]}},"required":["statistics"]},"ChangeSwapLiquidityCrossChainDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional provider of the position. If neither this nor nftAddress is provided, Uniswap v3 will be used.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"nftAddress":{"description":"Optional position manager (NFT contract) of the position: the `nftAddress` returned when the position was created. It selects the liquidity provider; if `liquidityProvider` is also sent, both must name the same provider. Without either, Uniswap V3 is used.","example":"0xC36442b4a4522E871399CD717aBDD847Ab11FE88","type":"string","nullable":true},"walletAddress":{"description":"The wallet address (in hexadecimal format) that will provide the liquidity.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"chainId":{"description":"The blockchain network where the liquidity will be provided. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"transactionFeePercent":{"default":0,"description":"Percentage fee applied to the transaction (e.g., 5 for 5%).","example":2.5,"type":"number","minimum":0,"maximum":99.99},"gasFeePaymentMethod":{"type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"],"description":"Defines how the fee will be paid: \"ADD_TO_AMOUNT\" adds it to the input amount, while \"DEDUCT_FROM_AMOUNT\" subtracts it from the input amount.","example":"ADD_TO_AMOUNT"},"tokenIn":{"description":"The address (in hexadecimal format) of the token being swapped from.","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","type":"string"},"amountIn":{"type":"string","description":"The amount of token being swapped from, expressed as a decimal string.","example":"1.2"},"tokenId":{"type":"string","description":"The NFT token ID of the existing liquidity position to add liquidity to.","example":"123456"},"slippage":{"default":0.5,"description":"Optional parameter controlling the maximum deviation allowed of the expected price of a trade and the actual price at which the trade is executed, with a minimum value of 0.5 and a maximum value of 99, default is 0.5, where 1 unit equals 1%.","example":1.2,"type":"number","minimum":0,"maximum":99},"extraFee":{"description":"Optional extra fee that can be charged in addition to the transaction fee (configured in the dashboard or via `transactionFeePercent`). This extra fee is deducted from the input token and sent to the specified `toAddress`, allowing you to define a custom recipient for this additional charge.","type":"object","properties":{"percentage":{"type":"number","minimum":0,"maximum":99.99,"description":"The percentage of the extra fee to be charged","example":1.5},"toAddress":{"description":"The address (in hexadecimal format) receiving the extra fee.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["percentage","toAddress"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}},"chainIdOut":{"description":"The blockchain network the position lives on. Must differ from `chainId`, and only routes with a configured bridge lane are accepted. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"destinationToken":{"description":"The address (in hexadecimal format), on `chainIdOut`, of the token bridged into the pool. Must be one of the pool pair, since the top-up spends it directly against the position: part is swapped into the other side at the position range ratio, and whatever is left over is returned to the wallet on `chainIdOut`.","example":"0x55d398326f99059ff775485246999027b3197955","type":"string"}},"required":["walletAddress","chainId","gasFeePaymentMethod","tokenIn","amountIn","tokenId","chainIdOut","destinationToken"]},"CreateLiquidityEnsoDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional provider for entering a liquidity pool. If not provided, Uniswap v3 will be used.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"walletAddress":{"description":"The wallet address (in hexadecimal format) that will provide the liquidity.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"toAddress":{"description":"The address (in hexadecimal format) receiving the token that represents the provided liquidity.","example":"0x1337133713371337133713371337133713371337","type":"string"},"chainId":{"description":"The blockchain network where the liquidity will be provided. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"transactionFeePercent":{"default":0,"description":"Percentage fee applied to the transaction (e.g., 5 for 5%).","example":2.5,"type":"number","minimum":0,"maximum":99.99},"gasFeePaymentMethod":{"type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"],"description":"Defines how the gas fee will be paid: \"ADD_TO_AMOUNT\" charges it on top of `amountIn` (the wallet must hold `amountIn` + fees + gas), while \"DEDUCT_FROM_AMOUNT\" subtracts it from `amountIn` before providing liquidity. On this route, platform fees and gas fees are always charged in `tokenIn`.","example":"ADD_TO_AMOUNT"},"tokenIn":{"description":"The address (in hexadecimal format) of the token being swapped from.","example":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","type":"string"},"amountIn":{"type":"string","description":"The amount of token being swapped from, expressed as a decimal string.","example":"1.2"},"token0":{"description":"The address (in hexadecimal format) of one of the tokens of the pool.","example":"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f","type":"string"},"token1":{"description":"The address (in hexadecimal format) of the other token of the pool.","example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","type":"string"},"poolFeePercent":{"type":"number","exclusiveMinimum":true,"maximum":100,"description":"Defines the fee earned by providing liquidity. Lower values are recommended for more stable tokens, while higher values are better suited for volatile assets. The values allowed depend on the provider, so check the provider docs too to know which fee tiers are allowed.","example":1,"minimum":0},"tickSpacing":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Tick spacing of the pool (`tickSpacing` from the pool list). Part of the pool's identity where the fee alone does not fix it: required for UNISWAP_V4, ignored by the providers that read it from the pool.","example":60,"nullable":true},"poolId":{"type":"string","pattern":"^[0-9]+-0x([0-9a-fA-F]{40}|[0-9a-fA-F]{64})$","description":"Optional `id` of the pool from the pool list. When sent, the request fails with POOL_ID_MISMATCH unless the pool it resolves to is this one.","example":"137-0x5b5bf85e5dc1e76ff90025ac5d8e8595fb575443","nullable":true},"stake":{"description":"PANCAKESWAP_V3 only: also stake the new position in the pool's MasterChefV3 farm, in the same operation, so it earns CAKE from the start. The wallet approves the staker contract on the position manager once: on the pool's network that approval is part of this operation; coming from another network it is a second, sponsored operation returned as `stakeApprovalUserOperation`. Ignored when the pool has no live farm or `toAddress` is not `walletAddress`. The response's `staked` tells whether the position will be staked.","example":false,"type":"boolean","nullable":true},"minPrice":{"type":"number","minimum":0,"description":"Minimum price the liquidity will be active. If the price goes below this, the liquidity won't be active and will generate no revenues. This will allow to concentrate the liquidity to a price range, thus enhancing the gains. Price is always `p = token1 / token0`","example":83475.12},"maxPrice":{"type":"number","minimum":0,"description":"Maximum price the liquidity will be active. If the price goes above this, the liquidity won't be active and will generate no revenues. This will allow to concentrate the liquidity to a price range, thus enhancing the gains. Price is always `p = token1 / token0`","example":102300.5},"slippage":{"default":0.5,"description":"Optional parameter controlling the maximum deviation allowed of the expected price of a trade and the actual price at which the trade is executed, with a minimum value of 0.5 and a maximum value of 99, default is 0.5, where 1 unit equals 1%.","example":1.2,"type":"number","minimum":0,"maximum":99},"extraFee":{"description":"Optional extra fee that can be charged in addition to the transaction fee (configured in the dashboard or via `transactionFeePercent`). This extra fee is deducted from the input token and sent to the specified `toAddress`, allowing you to define a custom recipient for this additional charge.","type":"object","properties":{"percentage":{"type":"number","minimum":0,"maximum":99.99,"description":"The percentage of the extra fee to be charged","example":1.5},"toAddress":{"description":"The address (in hexadecimal format) receiving the extra fee.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["percentage","toAddress"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}},"destinationToken":{"description":"Cross-chain only. Which of the pool pair the bridge should deliver, on `chainIdOut`. For `UNISWAP_V3` it is optional: supplying it enables a second route for the entry — the destination side runs as one atomic batch instead of a bundle — used automatically when the primary route cannot be quoted; without it, only the primary route is attempted. For `PANCAKESWAP_V3` and `UNISWAP_V4` the atomic batch is the only route, so it is required, and it must be an ERC-20 (a native pool currency is bought by the batch).","example":"0x55d398326f99059ff775485246999027b3197955","type":"string"},"chainIdOut":{"description":"The blockchain network of the pool, when different from `chainId`. The entry is then bridged inside the same bundle and the position is minted on this chain — still one signature, with `tokenIn`, platform fees and gas all staying on `chainId`. Only routes with a configured bridge lane are accepted; `token0`/`token1` must be addresses on this chain.","example":42161,"type":"number"}},"required":["walletAddress","toAddress","chainId","gasFeePaymentMethod","tokenIn","amountIn","token0","token1","poolFeePercent","minPrice","maxPrice"]},"WithdrawSwapLiquidityCrossChainDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional provider for withdrawing from a liquidity pool. If not provided, Uniswap v3 will be used.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"nftAddress":{"description":"Optional position manager (NFT contract) of the position: the `nftAddress` returned when the position was created. It selects the liquidity provider; if `liquidityProvider` is also sent, both must name the same provider. Without either, Uniswap V3 is used.","example":"0xC36442b4a4522E871399CD717aBDD847Ab11FE88","type":"string","nullable":true},"walletAddress":{"description":"The wallet address (in hexadecimal format) that owns the liquidity position.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"toAddress":{"description":"The address (in hexadecimal format) that will receive the output tokens.","example":"0x1337133713371337133713371337133713371337","type":"string"},"chainId":{"description":"The blockchain network where the liquidity position exists. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"tokenId":{"type":"string","description":"The NFT token ID representing the liquidity position.","example":"123456"},"tokenOut":{"description":"The address (in hexadecimal format) of the token to receive after withdrawing and swapping.","example":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","type":"string"},"percentage":{"type":"number","minimum":0.01,"maximum":100,"description":"Percentage of the liquidity position to withdraw (e.g., 100 for full withdrawal, 50 for half).","example":100},"transactionFeePercent":{"default":0,"description":"Percentage fee applied to the transaction (e.g., 5 for 5%).","example":2.5,"type":"number","minimum":0,"maximum":99.99},"extraFee":{"description":"Optional extra fee that can be charged in addition to the transaction fee. This extra fee is deducted from the output token and sent to the specified `toAddress`.","type":"object","properties":{"percentage":{"type":"number","minimum":0,"maximum":99.99,"description":"The percentage of the extra fee to be charged","example":1.5},"toAddress":{"description":"The address (in hexadecimal format) receiving the extra fee.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["percentage","toAddress"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}},"chainIdOut":{"description":"The blockchain network where the proceeds should land, when different from the position's own network. The exit is bridged inside the same signature; platform fees and gas are charged on the position's network. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","type":"number"}},"required":["walletAddress","toAddress","chainId","tokenId","tokenOut","percentage","chainIdOut"]},"WithdrawSwapLiquidityCrossChainResponseDTO":{"type":"object","properties":{"operation":{"$ref":"#/components/schemas/WithdrawSwapLiquidityCrossChainDTO"}},"required":["operation"]},"RebalanceLiquidityDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional provider for the rebalance operation. Defaults to Uniswap v3 if omitted.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"nftAddress":{"description":"Optional position manager (NFT contract) of the position: the `nftAddress` returned when the position was created. It selects the liquidity provider; if `liquidityProvider` is also sent, both must name the same provider. Without either, Uniswap V3 is used.","example":"0xC36442b4a4522E871399CD717aBDD847Ab11FE88","type":"string","nullable":true},"walletAddress":{"description":"Wallet that owns the liquidity position NFT.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"toAddress":{"description":"Address that will own the new liquidity position NFT.","example":"0x1337133713371337133713371337133713371337","type":"string"},"chainId":{"description":"Target blockchain for the rebalance operation. Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"tokenId":{"type":"string","description":"NFT token ID representing the current liquidity position.","example":"2375619234"},"newPosition":{"type":"object","properties":{"minPrice":{"type":"number","minimum":0,"description":"New lower price bound (token1/token0) for the position after rebalance.","example":1200.12},"maxPrice":{"type":"number","minimum":0,"description":"New upper price bound (token1/token0) for the position after rebalance.","example":1800.34}},"required":["minPrice","maxPrice"],"description":"New price range for the liquidity position after rebalance."},"slippage":{"default":0.5,"description":"Maximum tolerated slippage for the underlying swaps (1 unit = 1%).","example":1,"type":"number","minimum":0,"maximum":99},"stake":{"description":"PANCAKESWAP_V3 only: also stake the new position in the pool's MasterChefV3 farm, in the same operation, so it earns CAKE from the start, whether or not the old position was staked. The wallet approves the staker contract on the position manager once, inside this operation. Ignored when the pool has no live farm or `toAddress` is not `walletAddress`. The response's `stakedAfter` tells whether the new position will be staked.","example":false,"type":"boolean","nullable":true},"transactionFeePercent":{"default":0,"description":"Custom project fee percent to apply over the rebalance notional.","example":2.5,"type":"number","minimum":0,"maximum":99.99},"extraFee":{"description":"Optional extra fee configuration that is charged once during rebalance.","type":"object","properties":{"percentage":{"type":"number","minimum":0,"maximum":99.99,"description":"Percentage of an optional extra fee applied during rebalance.","example":1.5},"toAddress":{"description":"Recipient wallet for the extra fee.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["percentage","toAddress"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["walletAddress","toAddress","chainId","tokenId","newPosition"]},"RebalanceLiquidityOperationResponseDTO":{"type":"object","properties":{"operation":{"$ref":"#/components/schemas/RebalanceLiquidityDTO"}},"required":["operation"]},"ReinvestFeesDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional provider for the reinvest operation. Defaults to Uniswap v3 if omitted.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"nftAddress":{"description":"Optional position manager (NFT contract) of the position: the `nftAddress` returned when the position was created. It selects the liquidity provider; if `liquidityProvider` is also sent, both must name the same provider. Without either, Uniswap V3 is used.","example":"0xC36442b4a4522E871399CD717aBDD847Ab11FE88","type":"string","nullable":true},"walletAddress":{"description":"Wallet that owns the liquidity position NFT.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"chainId":{"description":"Target blockchain for the reinvest operation. Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"nftId":{"type":"string","description":"ID of the NFT that represents the liquidity","example":"2375619234"},"slippage":{"default":0.5,"description":"Maximum tolerated slippage for the increaseLiquidity leg (1 unit = 1%). The proportion-adjustment swap runs with a fixed 0.5% slippage.","example":1,"type":"number","exclusiveMinimum":true,"maximum":99,"minimum":0},"transactionFeePercent":{"default":0,"description":"Custom project fee percent to apply over the adjustment swap amount.","example":2.5,"type":"number","minimum":0,"maximum":99.99},"extraFee":{"description":"Optional extra fee configuration that is charged once during the reinvest.","type":"object","properties":{"percentage":{"type":"number","minimum":0,"maximum":99.99,"description":"Percentage of an optional extra fee applied during the reinvest.","example":1.5},"toAddress":{"description":"Recipient wallet for the extra fee.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["percentage","toAddress"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["walletAddress","chainId","nftId"]},"ReinvestFeesOperationResponseDTO":{"type":"object","properties":{"operation":{"$ref":"#/components/schemas/ReinvestFeesDTO"}},"required":["operation"]},"FarmPositionDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Provider of the position. Only PANCAKESWAP_V3 has a farm. Required unless `nftAddress` is sent; there is no default here.","example":"PANCAKESWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"nftAddress":{"description":"Position manager (NFT contract) of the position: the `nftAddress` returned when the position was created. Required unless `liquidityProvider` is sent; if both are sent they must name the same provider.","example":"0x46A15B0b27311cedF172AB29E4f4766fbE7F4364","type":"string","nullable":true},"chainId":{"description":"The blockchain network of the position. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"nftId":{"type":"string","description":"ID of the NFT that represents the liquidity","example":"2375619234"},"walletAddress":{"description":"The wallet address (in hexadecimal format) that owns the position.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"payGasFeeToken":{"description":"The token address (in hexadecimal format) used to pay the transaction fee: one of the position's two tokens, since the fee is taken out of the position. Its uncollected fees in that token pay first, and only the fee is collected from them; when they fall short, a sliver of liquidity covers the rest and what the sliver frees beyond the fee goes to the wallet. Refused with BAD_DEDUCT_FEE_TOKEN for another token, and INSUFFICIENT_FUNDS when the position holds too little of it (try the other token). Not charged when the project sponsors gas for this operation.","example":"0x55d398326f99059fF775485246999027B3197955","type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["chainId","nftId","walletAddress","payGasFeeToken"]},"WithdrawSwapLiquidityDTO":{"type":"object","properties":{"liquidityProvider":{"description":"Optional provider for withdrawing from a liquidity pool. If not provided, Uniswap v3 will be used.","example":"UNISWAP_V3","type":"string","enum":["UNISWAP_V3","PANCAKESWAP_V3","UNISWAP_V4"]},"nftAddress":{"description":"Optional position manager (NFT contract) of the position: the `nftAddress` returned when the position was created. It selects the liquidity provider; if `liquidityProvider` is also sent, both must name the same provider. Without either, Uniswap V3 is used.","example":"0xC36442b4a4522E871399CD717aBDD847Ab11FE88","type":"string","nullable":true},"walletAddress":{"description":"The wallet address (in hexadecimal format) that owns the liquidity position.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"toAddress":{"description":"The address (in hexadecimal format) that will receive the output tokens.","example":"0x1337133713371337133713371337133713371337","type":"string"},"chainId":{"description":"The blockchain network where the liquidity position exists. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"tokenId":{"type":"string","description":"The NFT token ID representing the liquidity position.","example":"123456"},"tokenOut":{"description":"The address (in hexadecimal format) of the token to receive after withdrawing and swapping.","example":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","type":"string"},"percentage":{"type":"number","minimum":0.01,"maximum":100,"description":"Percentage of the liquidity position to withdraw (e.g., 100 for full withdrawal, 50 for half).","example":100},"transactionFeePercent":{"default":0,"description":"Percentage fee applied to the transaction (e.g., 5 for 5%).","example":2.5,"type":"number","minimum":0,"maximum":99.99},"payGasFeeToken":{"description":"The token address (in hexadecimal format) used to pay the transaction fee.","example":"0x82af49447d8a07e3bd95bd0d56f35241523fbab1","type":"string"},"slippage":{"default":0.5,"description":"Optional parameter controlling the maximum deviation allowed of the expected price of a trade and the actual price at which the trade is executed, with a minimum value of 0 and a maximum value of 99, default is 0.5, where 1 unit equals 1%.","example":1.2,"type":"number","minimum":0,"maximum":99},"extraFee":{"description":"Optional extra fee that can be charged in addition to the transaction fee. This extra fee is deducted from the output token and sent to the specified `toAddress`.","type":"object","properties":{"percentage":{"type":"number","minimum":0,"maximum":99.99,"description":"The percentage of the extra fee to be charged","example":1.5},"toAddress":{"description":"The address (in hexadecimal format) receiving the extra fee.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"}},"required":["percentage","toAddress"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["walletAddress","toAddress","chainId","tokenId","tokenOut","percentage","payGasFeeToken"]},"WithdrawSwapLiquidityOperationResponseDTO":{"type":"object","properties":{"operation":{"$ref":"#/components/schemas/WithdrawSwapLiquidityDTO"}},"required":["operation"]},"WalletDeploymentDTO":{"type":"object","properties":{"chain":{"description":"Blockchain this deployment state is about.","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"deployed":{"type":"boolean","description":"Whether this wallet has already been deployed on the blockchain."}},"required":["chain","deployed"]},"WalletDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"walletAddress":{"type":"string","description":"The smart wallet address (in hexadecimal format).","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","pattern":"^0x[a-fA-F0-9]{40}$"},"externallyOwnedAccount":{"type":"string","description":"The address for the owner of the wallet, that signs the user operations.","example":"0x133700000000000000000000000000000000c0de","pattern":"^0x[a-fA-F0-9]{40}$"},"factory":{"type":"string","description":"The address for the factory contract, that will deploy the account abstraction contract. EIP7702 wallets do not deploy contracts, so this serves as a way to check which contract it delegated to.","example":"0x0000000000400cdfef5e2714e63d8040b700bc24","pattern":"^0x[a-fA-F0-9]{40}$"},"implementation":{"type":"string","description":"The address for the implementation contract, this contract is the effective contract of the smart wallet.","example":"0x8e8e658e22b12ada97b402ff0b044d6a325013c7","pattern":"^0x[a-fA-F0-9]{40}$"},"eip7702":{"type":"boolean","description":"Whether this wallet is using EIP7702","example":false},"deployed":{"description":"Deployment state of the wallet contract on each blockchain.","type":"array","items":{"$ref":"#/components/schemas/WalletDeploymentDTO"}},"salt":{"type":"string","description":"The salt number used to generate this wallet. Null for EIP-7702 wallets.","example":12345,"nullable":true},"registeredAt":{"type":"string","description":"Date the wallet was registered with this project, null if not registered.","example":"2025-08-06T16:57:09.249Z","format":"date-time","nullable":true},"lastTransactionAt":{"type":"string","description":"Date of the last transaction made by this wallet, null if there are no transactions.","example":"2025-08-06T16:57:09.249Z","format":"date-time","nullable":true}},"description":"Wallet details","required":["metadata","walletAddress","externallyOwnedAccount","factory","implementation","eip7702","deployed","salt","registeredAt"]},"SingleWalletDTO":{"type":"object","properties":{"wallet":{"$ref":"#/components/schemas/WalletDTO"}},"required":["wallet"]},"MultipleWalletsDTO":{"type":"object","properties":{"wallets":{"description":"List of all wallets.","type":"array","items":{"$ref":"#/components/schemas/WalletDTO"}}},"required":["wallets"]},"RegisterWalletDTO":{"type":"object","properties":{"externallyOwnedAccount":{"description":"Public address of the Externally Owned Account (EOA) that will sign the transactions, the owner of the account abstraction wallet.","example":"0x133700000000000000000000000000000000c0de","type":"string"},"factory":{"description":"The address of the factory contract that creates the account abstraction wallet contract.\n\nSee [Factory Compatibility](https://docs.notus.team/docs/guides/smart-wallets/factory-compatibility) for the supported `factory` values and their EIP-7702 support.","example":"0x0000000000400cdfef5e2714e63d8040b700bc24","type":"string"},"salt":{"description":"The salt number used to generate this wallet. If none is given the default is zero. Each salt generates a new smart wallet for the same user.\nThe salt can be used for the following purposes:\n- Generating multiple smart wallets for the same user  \nYou can use this to have different portfolios in different wallets or any other reason\n - Getting a specific address for the smart wallet  \nYou can create a script that will test multiple salt values until a certain sequence of numbers show up in the smart wallet contract address. This way you can use the salt to make all smart wallet addresses you generate start with the initials of your company. Though you are limited to Hexadecimal digits, so you'll have to use Hexspeak.","example":"12345","type":"string"},"eip7702":{"description":"Whether you want to deploy using the EIP7702 standard, that lets the EOA set a contract as its own contract code. The default value is False. See [Factory Compatibility](https://docs.notus.team/docs/guides/smart-wallets/factory-compatibility) to check which factories support EIP7702. Salt has no effect and having it is disallowed.","example":false,"type":"boolean"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["externallyOwnedAccount","factory"]},"UpdateWalletMetadataDTO":{"type":"object","properties":{"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["metadata"]},"PortfolioTokenPnLDTO":{"type":"object","properties":{"profitAbsUsd":{"type":"object","description":"Absolute profit and loss in USD for this token over the selected timerange","example":"152.45","nullable":true},"roi":{"type":"object","description":"Return on investment for this token as a decimal (0.1 = 10%)","example":"0.026","nullable":true},"inflowUsd":{"type":"object","description":"Total USD value bought of this token during the timerange","example":"2400.0","nullable":true},"outflowUsd":{"type":"object","description":"Total USD value sold of this token during the timerange","example":"150.0","nullable":true},"averageBuyPriceUsd":{"type":"object","description":"Average purchase price in USD for this token within the requested timerange. Null when the provider cannot compute it.","example":"0.999","nullable":true},"timerange":{"type":"string","description":"Timerange used to calculate token-level profit and loss values","enum":["1d","7d","1m","1a","all"],"example":"all"}},"required":["profitAbsUsd","roi","inflowUsd","outflowUsd","averageBuyPriceUsd","timerange"]},"PortfolioTokenDTO":{"type":"object","properties":{"address":{"type":"string","description":"Address of this token as its blockchain writes it: a checksummed `0x` address on EVM chains, a base58 mint on Solana, a `C…` contract on Stellar, and `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE` for the native coin of any chain","example":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6"},"name":{"type":"string","description":"Name of this token","example":"Wrapped Bitcoin"},"symbol":{"type":"string","description":"Symbol for this token","example":"WBTC"},"coingeckoId":{"type":"object","description":"The CoinGecko ID of the token, if available","example":"wrapped-bitcoin","nullable":true},"decimals":{"type":"number","description":"Maximum amount of decimal digits this token can have","example":8},"logo":{"type":"object","description":"URL for a logo for this token","example":"https://wbtclogo.com","nullable":true},"chain":{"description":"Details about the chain where the user owns this token","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"balance":{"type":"string","description":"Token balance this user has in raw format as it's saved in the blockchain","example":"100000000"},"balanceFormatted":{"type":"string","description":"Token balance this user has, formatted with the amount of decimals","example":"1"},"balanceUsd":{"type":"string","description":"Token balance this user has in USD","example":"2.1522"},"priceUsd":{"type":"string","description":"Price in USD of this token","example":"1.0"},"pnl":{"nullable":true,"description":"Per-token profit and loss analytics. Null when PnL was not requested or could not be computed for this token.","type":"object","allOf":[{"$ref":"#/components/schemas/PortfolioTokenPnLDTO"}]},"reserved":{"type":"object","description":"Part of the balance locked by the network and therefore not transferable. Only set for Stellar XLM, where an account must hold a base reserve for itself, for each of its subentries and for every reserve it sponsors. Null on every other chain.","example":"2.5","nullable":true},"spendable":{"type":"object","description":"Balance that can actually be transferred, that is the balance minus `reserved` and minus any amount committed to open offers. Only set for Stellar XLM, null on every other chain.","example":"3.2826772","nullable":true}},"required":["address","name","symbol","coingeckoId","decimals","logo","chain","balance","balanceFormatted","balanceUsd","priceUsd","pnl","reserved","spendable"]},"PortfolioNftCollectionDTO":{"type":"object","properties":{"name":{"type":"string","description":"Name of the collection this NFT is part of","example":"Uniswap V3 Positions NFT-V1"},"symbol":{"type":"string","description":"Token symbol for the collection this NFT is part of","example":"UNI-V3-POS"},"logo":{"type":"string","description":"An URL for an image that represents the collection this NFT is part of","example":"https://univ3nft.com"}},"required":["name","symbol","logo"]},"PortfolioNftDTO":{"type":"object","properties":{"address":{"type":"string","description":"Contract address of the NFT","example":"0xc36442b4a4522e871399cd717abdd847ab11fe88","pattern":"^0x[a-fA-F0-9]{40}$"},"collection":{"description":"Details about the NFT collection","allOf":[{"$ref":"#/components/schemas/PortfolioNftCollectionDTO"}]},"tokenId":{"type":"string","description":"The ID of the NFT owned by the user, this is always a number. One user can have multiple NFTs of the same address, but each NFT will have its own ID.","example":"2472425","pattern":"^\\d+$"},"name":{"type":"string","description":"Name of this NFT","example":"Uniswap - 0.05% - USDT/WETH - 1517.8<>2550.4"},"description":{"type":"string","description":"Description of this NFT given on its metadata","example":"This NFT represents a liquidity position in a Uniswap V3 USDT-WETH pool."},"image":{"type":"object","nullable":true,"description":"A valid URI for the image of this NFT. Can be a normal clearnet URI, an IPFS URI, a base64 encoded image or any other valid URI","examples":["https://remilio.org/remilio/2830.png","ipfs://bafybeie5s3abggdldv7ftp4mpu7mdx2heqxmoh7vq7qv4qdk5uuphx36iu/1523","data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkwIiBoZWlnaH"]},"amount":{"type":"string","description":"Amount of this NFT in case this NFT follows EIP-1155, allowing an NFT to have fungible NFTs. This is always a number as a string since it theoretically can be up to 256 bits.","example":"2450","pattern":"^\\d+$"},"chain":{"description":"Information about the chain where the NFT exists","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]}},"required":["address","collection","tokenId","name","description","image","amount","chain"]},"PortfolioProfitAndLossSummaryDTO":{"type":"object","properties":{"totalUsd":{"type":"string","description":"Total profit and loss in USD of the smart wallet's EVM ledger: the `result` of `GET /wallets/{walletAddress}/portfolio/history` for this wallet over the same timerange. Bitcoin and Stellar wallets are not in it.","example":"129.35"},"roi":{"type":"object","description":"Return on the money invested over the timerange as a decimal (0.1 = 10%), the `resultPercent` of the portfolio history","example":"0.026","nullable":true}},"required":["totalUsd","roi"]},"PortfolioProfitAndLossDTO":{"type":"object","properties":{"timerange":{"type":"string","description":"Timerange used to calculate the profit and loss values","enum":["1d","7d","1m","1a","all"],"example":"all"},"total":{"description":"Aggregated profit and loss values across all chains","allOf":[{"$ref":"#/components/schemas/PortfolioProfitAndLossSummaryDTO"}]}},"required":["timerange","total"]},"PortfolioLendingPositionTokenDTO":{"type":"object","properties":{"address":{"type":"string","description":"Underlying token address for this lending position","example":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","pattern":"^0x[a-fA-F0-9]{40}$"},"name":{"type":"string","description":"Underlying token name that was supplied or borrowed","example":"USD Coin"},"symbol":{"type":"string","description":"Underlying token symbol that was supplied or borrowed","example":"USDC"},"decimals":{"type":"number","description":"Underlying token decimals","example":6},"amount":{"type":"string","description":"Underlying token amount in provider units","example":"2.434262"}},"required":["address","name","symbol","decimals","amount"]},"PortfolioLendingPositionDTO":{"type":"object","properties":{"positionType":{"type":"string","enum":["borrow","supply"],"description":"Whether this lending position is a borrow/debt or a supply","example":"borrow"},"protocolGroupName":{"type":"string","description":"Human-readable protocol name","example":"Aave V3"},"token":{"description":"Underlying token that was supplied or borrowed","allOf":[{"$ref":"#/components/schemas/PortfolioLendingPositionTokenDTO"}]},"contractName":{"type":"string","description":"Provider contract / wrapper name for this position","example":"Aave Polygon USDC"},"contractSymbol":{"type":"string","description":"Provider contract / wrapper symbol for this position","example":"aPolUSDCn"},"valueUsd":{"type":"object","nullable":true,"description":"Estimated position value in USD, if provided by the provider","example":"125.50"},"chain":{"description":"Chain where this borrow position exists","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]}},"required":["positionType","protocolGroupName","token","contractName","contractSymbol","valueUsd","chain"]},"PortfolioResponseDTO":{"type":"object","properties":{"tokens":{"description":"List of tokens owned by this wallet and their balances","type":"array","items":{"$ref":"#/components/schemas/PortfolioTokenDTO"}},"nfts":{"description":"List of NFTs owned by this wallet","type":"array","items":{"$ref":"#/components/schemas/PortfolioNftDTO"}},"portfolio":{"description":"**DEPRECATED**: Use `tokens` instead","deprecated":true,"type":"array","items":{"$ref":"#/components/schemas/PortfolioTokenDTO"}},"pnl":{"nullable":true,"description":"Optional profit and loss data aggregated from supported portfolio providers","type":"object","allOf":[{"$ref":"#/components/schemas/PortfolioProfitAndLossDTO"}]},"lendingPositions":{"description":"Lending positions from supported lending protocols, including borrow and supply entries (empty unless includeLendingPositions is true)","type":"array","items":{"$ref":"#/components/schemas/PortfolioLendingPositionDTO"}}},"required":["tokens","nfts","portfolio","pnl","lendingPositions"]},"PortfolioHistoryProgressDTO":{"type":"object","properties":{"chains":{"type":"number","example":9,"description":"Chains the wallet is read on."},"chainsIndexed":{"type":"number","example":4,"description":"Chains whose history is read up to now."}},"required":["chains","chainsIndexed"]},"PortfolioHistorySummaryDTO":{"type":"object","properties":{"startValue":{"type":"number","example":4500,"description":"Value at the first point."},"deposits":{"type":"number","example":1500},"withdrawals":{"type":"number","example":0},"result":{"type":"number","example":200,"description":"endValue − startValue − deposits + withdrawals: what the wallet gained or lost by itself (prices, yield, pool fees, network and swap fees)."},"resultPercent":{"type":"object","example":3.81,"nullable":true,"description":"Result as a percentage of the money the period worked with: the value it started with plus its deposits. Null when that is zero."},"endValue":{"type":"number","example":6200,"description":"Value at the last point."},"missingDays":{"type":"number","example":0,"description":"Points of the period without a value."}},"required":["startValue","deposits","withdrawals","result","resultPercent","endValue","missingDays"]},"PortfolioHistoryPointDTO":{"type":"object","properties":{"date":{"type":"string","example":"2026-10-28","description":"Day in America/Sao_Paulo the point is in."},"time":{"type":"string","example":"2026-10-29T03:00:00Z","description":"End of the point (the day close at 00:00 America/Sao_Paulo, or the hour), the value is at. The last point is now."},"value":{"type":"object","example":6200.12,"nullable":true,"description":"Value held at the close, in `currency`. A token without a price in the close's hour or the two before takes its last price up to 30 days before, else its first up to 30 days after, else counts as nothing. Null only when `currency` has no exchange rate at the close."},"deposits":{"type":"number","example":500,"description":"Money that came in from outside the wallet that day (transfers and Pix). With a token, everything that came into that token."},"withdrawals":{"type":"number","example":0,"description":"Money that left to outside the wallet that day. With a token, everything that left that token."},"amount":{"type":"object","example":1503.1,"nullable":true,"description":"Balance of the token in whole units at the close. Only with a token."},"depositsAmount":{"type":"object","example":1500,"nullable":true,"description":"Whole units of the token that came in that day. Only with a token."},"withdrawalsAmount":{"type":"object","example":0,"nullable":true,"description":"Whole units of the token that left that day. Only with a token."}},"required":["date","time","value","deposits","withdrawals","amount","depositsAmount","withdrawalsAmount"]},"PortfolioHistoryResponseDTO":{"type":"object","properties":{"status":{"type":"string","enum":["INDEXED","INDEXING"],"example":"INDEXED","description":"INDEXING while the wallet history is being read for the first time (a wallet asked for the first time starts then), with the points read so far."},"granularity":{"type":"string","enum":["DAY","HOUR"],"example":"DAY","description":"DAY: a point per São Paulo day. HOUR: a point per hour, for `1d` and for a history that started yesterday or today."},"progress":{"nullable":true,"description":"How far the indexer is while INDEXING, null once INDEXED.","type":"object","allOf":[{"$ref":"#/components/schemas/PortfolioHistoryProgressDTO"}]},"timerange":{"type":"string","enum":["1d","7d","1m","3m","6m","1a","all"],"example":"1m"},"currency":{"type":"string","enum":["USD","BRL"],"example":"BRL"},"firstActivityDate":{"type":"object","example":"2026-07-05","nullable":true,"description":"First day the wallet (or the token) moved. A timerange that starts before it is cut to the day before it."},"summary":{"nullable":true,"description":"startValue + deposits − withdrawals + result = endValue. Null when the first or the last point has no value.","type":"object","allOf":[{"$ref":"#/components/schemas/PortfolioHistorySummaryDTO"}]},"points":{"description":"One point per day or hour, oldest first, the last one now. The first one is the start of the period: its deposits and withdrawals are not part of the summary. A wallet that never moved has two points at 0: the period start and now.","type":"array","items":{"$ref":"#/components/schemas/PortfolioHistoryPointDTO"}}},"required":["status","granularity","progress","timerange","currency","firstActivityDate","summary","points"]},"LiquidityPositionHistoryProgressDTO":{"type":"object","properties":{"chains":{"type":"number","example":9},"chainsIndexed":{"type":"number","example":4}},"required":["chains","chainsIndexed"]},"LiquidityPositionRebalanceDTO":{"type":"object","properties":{"date":{"type":"string","example":"2026-10-01"},"fromTokenId":{"type":"string","example":"1349161"},"toTokenId":{"type":"string","example":"1353981"}},"required":["date","fromTokenId","toTokenId"]},"LiquidityPositionSummaryDTO":{"type":"object","properties":{"currentValue":{"type":"number","example":9689.73,"description":"Value now, uncollected fees included. 0 once closed."},"deposits":{"type":"number","example":9900,"description":"Liquidity added, valued when it was added."},"withdrawals":{"type":"number","example":0,"description":"Liquidity removed, valued when it was removed."},"collectedFees":{"type":"number","example":190,"description":"Fees the position paid out (collected, or reinvested by a rebalance)."},"chargedFees":{"type":"number","example":59.4,"description":"Fees charged on the operations (the project fee and Notus fee)."},"result":{"type":"number","example":-79.67,"description":"currentValue + collectedFees − chargedFees − deposits + withdrawals."},"resultPercent":{"type":"object","example":-0.8,"nullable":true,"description":"Result over deposits, in percent."}},"required":["currentValue","deposits","withdrawals","collectedFees","chargedFees","result","resultPercent"]},"LiquidityPositionHistoryPointDTO":{"type":"object","properties":{"date":{"type":"string","example":"2026-10-28","description":"Day in America/Sao_Paulo, valued at its close."},"time":{"type":"string","example":"2026-10-29T03:00:00Z","description":"The close the value is at; now for today."},"value":{"type":"object","example":9689.73,"nullable":true,"description":"What the position was worth at the close, uncollected fees included. Null without a price."},"result":{"type":"object","example":-79.67,"nullable":true,"description":"The result up to that close: above zero is a gain, below is a loss."}},"required":["date","time","value","result"]},"LiquidityPositionHistoryResponseDTO":{"type":"object","properties":{"status":{"type":"string","enum":["INDEXED","INDEXING"],"example":"INDEXED"},"granularity":{"type":"string","enum":["DAY"],"example":"DAY"},"progress":{"nullable":true,"description":"How far the indexer is while INDEXING, null once INDEXED.","type":"object","allOf":[{"$ref":"#/components/schemas/LiquidityPositionHistoryProgressDTO"}]},"timerange":{"type":"string","enum":["1d","7d","1m","3m","6m","1a","all"],"example":"all"},"currency":{"type":"string","enum":["USD","BRL"],"example":"BRL"},"since":{"type":"object","example":"2026-09-30","nullable":true,"description":"Day liquidity was first added to the position or the one it was rebalanced from."},"closed":{"type":"boolean","example":false,"description":"True once all liquidity was removed."},"tokenIds":{"example":["1349107","1349161","1353981"],"description":"The position and the ones it was rebalanced from or into, oldest first.","type":"array","items":{"type":"string"}},"rebalances":{"type":"array","items":{"$ref":"#/components/schemas/LiquidityPositionRebalanceDTO"}},"summary":{"nullable":true,"description":"Since the start, whatever the timerange. Null when today has no price.","type":"object","allOf":[{"$ref":"#/components/schemas/LiquidityPositionSummaryDTO"}]},"points":{"description":"One point per day of the timerange, oldest first.","type":"array","items":{"$ref":"#/components/schemas/LiquidityPositionHistoryPointDTO"}}},"required":["status","granularity","progress","timerange","currency","since","closed","tokenIds","rebalances","summary","points"]},"CreateLendingQuoteDTO":{"type":"object","properties":{"walletAddress":{"description":"The wallet address that will execute the lending operation.","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","type":"string"},"provider":{"type":"string","enum":["AAVE","MORPHO"]},"supply":{"type":"object","properties":{"tokenAddress":{"description":"Token address (hexadecimal format).","example":"0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","type":"string"},"amount":{"type":"string","description":"Amount represented as decimal string.","example":"100"},"chainId":{"description":"The blockchain network where the lending quote will be created. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"marketId":{"type":"string","description":"The Morpho market ID. Required when provider is MORPHO.","example":"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc"}},"required":["tokenAddress","amount","chainId"]},"borrow":{"type":"object","properties":{"tokenAddress":{"description":"Token address (hexadecimal format).","example":"0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","type":"string"},"amount":{"type":"string","description":"Amount represented as decimal string.","example":"100"},"chainId":{"description":"The blockchain network where the lending quote will be created. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"marketId":{"type":"string","description":"The Morpho market ID. Required when provider is MORPHO.","example":"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc"}},"required":["tokenAddress","amount","chainId"]},"repay":{"type":"object","properties":{"tokenAddress":{"description":"Token address (hexadecimal format).","example":"0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","type":"string"},"amount":{"type":"string","description":"Amount represented as decimal string.","example":"100"},"chainId":{"description":"The blockchain network where the lending quote will be created. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"marketId":{"type":"string","description":"The Morpho market ID. Required when provider is MORPHO.","example":"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc"}},"required":["tokenAddress","amount","chainId"]},"withdraw":{"type":"object","properties":{"tokenAddress":{"description":"Token address (hexadecimal format).","example":"0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","type":"string"},"amount":{"type":"string","description":"Amount represented as decimal string.","example":"100"},"chainId":{"description":"The blockchain network where the lending quote will be created. \n Supported EVM chains:\n- Arbitrum One: 42161\n- Avalanche: 43114\n- Base: 8453\n- BNB Smart Chain: 56\n- Ethereum: 1\n- Gnosis: 100\n- OP Mainnet: 10\n- Polygon: 137\n- X Layer Mainnet: 196\n- Robinhood Chain: 4663","example":42161,"type":"number"},"marketId":{"type":"string","description":"The Morpho market ID. Required when provider is MORPHO.","example":"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc"}},"required":["tokenAddress","amount","chainId"]},"gas":{"type":"object","properties":{"paymentMethod":{"type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"],"description":"How gas interacts with leg amounts: ADD_TO_AMOUNT does not reduce quoted leg amounts; DEDUCT_FROM_AMOUNT subtracts estimated gas from a leg when `tokenAddress` matches that leg (supply/repay token, or borrow/withdraw output token for net display).","example":"DEDUCT_FROM_AMOUNT"},"tokenAddress":{"description":"Token that pays the user-operation gas (must exist on the same chain as the quote).","example":"0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","type":"string"}},"required":["paymentMethod","tokenAddress"],"description":"Token and mode used to pay the user-operation gas; must be whitelisted on the quote chain."},"metadata":{"description":"Optional key-value metadata attached to the resulting lending transaction and echoed back as `metadataValue` on transaction webhooks.","type":"object","additionalProperties":{"type":"string"},"example":{"key":"value"}}},"required":["walletAddress","provider","gas"]},"QuoteAmountResponseDTO":{"type":"object","properties":{"value":{"type":"string"},"usd":{"type":"object","nullable":true}},"required":["value","usd"]},"QuoteInputResponseDTO":{"type":"object","properties":{"tokenAddress":{"type":"string"},"chainId":{"type":"number"},"price":{"type":"object","nullable":true},"amount":{"$ref":"#/components/schemas/QuoteAmountResponseDTO"}},"required":["tokenAddress","chainId","price","amount"]},"QuoteOutputResponseDTO":{"type":"object","properties":{"tokenAddress":{"type":"string"},"chainId":{"type":"number"},"amount":{"$ref":"#/components/schemas/QuoteAmountResponseDTO"}},"required":["tokenAddress","chainId","amount"]},"SupplyQuoteResponseDTO":{"type":"object","properties":{"tokenIn":{"$ref":"#/components/schemas/QuoteInputResponseDTO"},"tokenOut":{"$ref":"#/components/schemas/QuoteOutputResponseDTO"}},"required":["tokenIn","tokenOut"]},"BorrowQuoteTokenResponseDTO":{"type":"object","properties":{"tokenAddress":{"type":"string"},"chainId":{"type":"number"},"amount":{"$ref":"#/components/schemas/QuoteAmountResponseDTO"}},"required":["tokenAddress","chainId","amount"]},"BorrowQuoteResponseDTO":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/BorrowQuoteTokenResponseDTO"}},"required":["token"]},"RepayQuoteResponseDTO":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/BorrowQuoteTokenResponseDTO"}},"required":["token"]},"WithdrawQuoteResponseDTO":{"type":"object","properties":{"tokenIn":{"$ref":"#/components/schemas/BorrowQuoteTokenResponseDTO"},"tokenOut":{"$ref":"#/components/schemas/BorrowQuoteTokenResponseDTO"}},"required":["tokenIn","tokenOut"]},"LendingProviderResponseDTO":{"type":"object","properties":{"name":{"type":"string"},"logo":{"type":"string"}},"required":["name","logo"]},"QuoteFeeAmountResponseDTO":{"type":"object","properties":{"value":{"type":"string"},"usd":{"type":"string"}},"required":["value","usd"]},"QuoteFeeResponseDTO":{"type":"object","properties":{"type":{"type":"string","enum":["GAS","NOTUS","CLIENT"]},"amount":{"$ref":"#/components/schemas/QuoteFeeAmountResponseDTO"},"tokenAddress":{"type":"string"},"nativeAmount":{"type":"string"},"recipient":{"type":"string"},"percent":{"type":"number"}},"required":["type","amount","tokenAddress"]},"AuthorizationSignDataResponseDTO":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"nonce":{"type":"number"},"hash":{"type":"string"}},"required":["chainId","address","nonce","hash"]},"SignDataResponseDTO":{"type":"object","properties":{"type":{"type":"string","enum":["USER_OPERATION","AUTHORIZATION"]},"hash":{"type":"string"},"authorization":{"$ref":"#/components/schemas/AuthorizationSignDataResponseDTO"}},"required":["type"]},"LendingQuoteResponseDTO":{"type":"object","properties":{"revertReason":{"type":"object","nullable":true},"walletAddress":{"type":"string"},"supply":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/SupplyQuoteResponseDTO"}]},"borrow":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BorrowQuoteResponseDTO"}]},"repay":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/RepayQuoteResponseDTO"}]},"withdraw":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/WithdrawQuoteResponseDTO"}]},"provider":{"$ref":"#/components/schemas/LendingProviderResponseDTO"},"fees":{"type":"array","items":{"$ref":"#/components/schemas/QuoteFeeResponseDTO"}},"signData":{"type":"array","items":{"$ref":"#/components/schemas/SignDataResponseDTO"}},"estimatedSettlementTime":{"type":"object","nullable":true},"expiresAt":{"type":"object","nullable":true},"metadata":{"type":"object","nullable":true,"additionalProperties":{"type":"string"}},"type":{"type":"string","enum":["LENDING_SUPPLY","LENDING_SUPPLY_BORROW","LENDING_BORROW","LENDING_WITHDRAW","LENDING_REPAY","LENDING_REPAY_WITHDRAW"]}},"required":["revertReason","walletAddress","provider","fees","signData","estimatedSettlementTime","expiresAt","metadata","type"]},"FundPartnerSummaryDTO":{"type":"object","properties":{"name":{"type":"string","description":"The name of the partner","example":"Targen"},"logoUrl":{"type":"string","description":"The logo of the partner","example":"https://assets.notus.team/partners/targen.png"},"url":{"type":"string","description":"URL to the partner's website","example":"https://targen.finance"}},"required":["name","logoUrl","url"]},"FundPerformanceDTO":{"type":"object","properties":{"period":{"type":"string","description":"The period of the performance","example":"30d"},"valuePct":{"type":"string","description":"The performance value in percentage","example":"0.42"}},"required":["period","valuePct"]},"FundFeesDTO":{"type":"object","properties":{"managementBps":{"type":"number","description":"The management fee in basis points","example":100},"performanceBps":{"type":"number","description":"The performance fee in basis points","example":1000}},"required":["managementBps","performanceBps"]},"FundCatalogItemDTO":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the fund","example":"f1e2d3c4-b5a6-9780-1234-567890abcdef"},"slug":{"type":"string","description":"The slug of the fund","example":"targen-vertex"},"name":{"type":"string","description":"The name of the fund","example":"Targen Vertex"},"logoUrl":{"type":"string","description":"The logo of the fund","example":"https://assets.notus.team/funds/targen-vertex-plus.png"},"partner":{"description":"The partner that manages the fund","allOf":[{"$ref":"#/components/schemas/FundPartnerSummaryDTO"}]},"protocol":{"type":"string","description":"The protocol of the fund","example":"ENZYME_BLUE"},"chain":{"description":"The chain of the fund","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"aumUsd":{"type":"string","description":"The AUM of the fund in USD","example":"12500000.00"},"investorsCount":{"type":"number","description":"Number of current vault depositors (investors). Null when Enzyme did not return a count.","example":56,"nullable":true},"topDepositorPercent":{"type":"number","description":"Largest depositor share of the vault as a percent of total shares. Null when Enzyme did not return depositor data.","example":38.2,"nullable":true},"netDeposits30dUsd":{"type":"string","description":"Net deposits minus redemptions over the last 30 days, in USD. Null when Enzyme did not return flow data.","example":"210000.00","nullable":true},"sharePrice":{"type":"string","description":"The share price of the fund","example":"1.0234"},"performance":{"description":"The performance of the fund","allOf":[{"$ref":"#/components/schemas/FundPerformanceDTO"}]},"fees":{"description":"The fees of the fund","allOf":[{"$ref":"#/components/schemas/FundFeesDTO"}]},"settlementMode":{"type":"string","example":"SYNC","description":"How the vault settles capital: SYNC, ASYNC, or HYBRID. HYBRID means it could be SYNC or ASYNC depending on rules of the fund."},"riskLevel":{"type":"string","description":"The risk level of the fund","example":"moderate"}},"required":["id","slug","name","logoUrl","partner","protocol","chain","aumUsd","investorsCount","topDepositorPercent","netDeposits30dUsd","sharePrice","performance","fees","settlementMode","riskLevel"]},"ListFundsCatalogResponseDTO":{"type":"object","properties":{"items":{"description":"The list of funds","type":"array","items":{"$ref":"#/components/schemas/FundCatalogItemDTO"}}},"required":["items"]},"FundAssetDTO":{"type":"object","properties":{"name":{"type":"string","example":"USD Coin","description":"Human readable name of the asset"},"symbol":{"type":"string","example":"USDC","description":"Symbol of the asset"},"decimals":{"type":"number","example":6,"description":"Number of decimals of the asset"},"address":{"type":"string","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","description":"Address of the asset contract"},"logoURL":{"type":"object","example":"https://assets.notus.team/usdc.png","nullable":true,"description":"URL to an image of the logo of the asset"}},"required":["name","symbol","decimals","address","logoURL"]},"FundPositionFundDTO":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the fund","example":"f1e2d3c4-b5a6-9780-1234-567890abcdef"},"slug":{"type":"string","description":"The slug of the fund","example":"targen-vertex"},"name":{"type":"string","description":"The name of the fund","example":"Targen Vertex"},"logoUrl":{"type":"string","description":"The logo of the fund","example":"https://assets.notus.team/funds/targen-vertex-plus.png"},"partner":{"description":"The partner that manages the fund","allOf":[{"$ref":"#/components/schemas/FundPartnerSummaryDTO"}]},"protocol":{"type":"string","description":"The protocol of the fund","example":"ENZYME_BLUE"},"chain":{"description":"The chain of the fund","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"aumUsd":{"type":"string","description":"The AUM of the fund in USD","example":"12500000.00"},"investorsCount":{"type":"number","description":"Number of current vault depositors (investors). Null when Enzyme did not return a count.","example":56,"nullable":true},"topDepositorPercent":{"type":"number","description":"Largest depositor share of the vault as a percent of total shares. Null when Enzyme did not return depositor data.","example":38.2,"nullable":true},"netDeposits30dUsd":{"type":"string","description":"Net deposits minus redemptions over the last 30 days, in USD. Null when Enzyme did not return flow data.","example":"210000.00","nullable":true},"sharePrice":{"type":"string","description":"The share price of the fund","example":"1.0234"},"performance":{"description":"The performance of the fund","allOf":[{"$ref":"#/components/schemas/FundPerformanceDTO"}]},"fees":{"description":"The fees of the fund","allOf":[{"$ref":"#/components/schemas/FundFeesDTO"}]},"settlementMode":{"type":"string","example":"SYNC","description":"How the vault settles capital: SYNC, ASYNC, or HYBRID. HYBRID means it could be SYNC or ASYNC depending on rules of the fund."},"riskLevel":{"type":"string","description":"The risk level of the fund","example":"moderate"},"vaultAddress":{"type":"string","description":"The address of the vault","example":"0x58783f682Bd1ea0D11e1187e28445D3185B6A173"},"denominationAsset":{"description":"The denomination asset of the fund","allOf":[{"$ref":"#/components/schemas/FundAssetDTO"}]}},"required":["id","slug","name","logoUrl","partner","protocol","chain","aumUsd","investorsCount","topDepositorPercent","netDeposits30dUsd","sharePrice","performance","fees","settlementMode","riskLevel","vaultAddress","denominationAsset"]},"FundPositionPendingOperationDTO":{"type":"object","properties":{"operationId":{"type":"string","description":"Identifier of the fund user operation","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1"},"userOperationHash":{"type":"string","description":"The hash of the user operation that is pending","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"requestId":{"type":"string","description":"Enzyme Onyx request id. Null for Enzyme Blue or before the request UserOp mines.","example":"123","nullable":true},"amount":{"type":"string","description":"The amount of the operation","example":"50.00"},"status":{"type":"string","description":"The status of the operation","example":"AWAITING_MANAGER"},"canCancelAt":{"type":"string","description":"When the user can cancel a queued Enzyme Onyx request. Null when cancel is not applicable.","example":"2026-08-04T16:30:00.000Z","nullable":true},"chain":{"description":"Chain of the fund this pending operation belongs to","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]}},"required":["operationId","userOperationHash","requestId","amount","status","canCancelAt","chain"]},"FundPositionDTO":{"type":"object","properties":{"fund":{"description":"Basic fund information","allOf":[{"$ref":"#/components/schemas/FundPositionFundDTO"}]},"sharesBalance":{"type":"string","description":"The balance of the shares","example":"50.00"},"valueUsd":{"type":"string","description":"The value of the shares in USD","example":"51.17"},"pnlApprox":{"type":"string","description":"The approximate PNL of the shares","example":"1.17","nullable":true},"valueChange24hUsd":{"type":"string","description":"Signed USD change of the current share balance over the 24 hours ending at the newest vault share-price point. Both prices come from that history and are interpolated when a snapshot does not land on the boundary. Null when the window is missing or this position was opened after the window started. A later deposit or redeem does not clear it. A queued deposit opens the position when it is recorded as completed, not when the request was sent.","example":"1.17","nullable":true},"investedSince":{"type":"string","description":"ISO timestamp of the wallet's earliest completed deposit into this fund. A later redeem, including a full exit, does not reset it. Null when no completed deposit is known.","example":"2026-08-25T14:35:00.000Z","nullable":true},"pendingDeposits":{"description":"The pending deposits of the fund","type":"array","items":{"$ref":"#/components/schemas/FundPositionPendingOperationDTO"}},"pendingRedeems":{"description":"The pending redeems of the fund","type":"array","items":{"$ref":"#/components/schemas/FundPositionPendingOperationDTO"}}},"required":["fund","sharesBalance","valueUsd","pnlApprox","valueChange24hUsd","investedSince","pendingDeposits","pendingRedeems"]},"ListFundPositionsResponseDTO":{"type":"object","properties":{"items":{"description":"The list of fund positions","type":"array","items":{"$ref":"#/components/schemas/FundPositionDTO"}}},"required":["items"]},"FundCompositionBalanceDTO":{"type":"object","properties":{"amount":{"type":"string","example":"1250000.50","description":"Vault balance in the token itself"},"amountIn":{"nullable":true,"description":"Vault balance converted to the currencies CoinGecko returns for this token","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]}},"required":["amount","amountIn"]},"FundCompositionItemDTO":{"type":"object","properties":{"name":{"type":"string","example":"USD Coin","description":"The name of the token"},"symbol":{"type":"string","example":"USDC","description":"The symbol of the token"},"logoURL":{"type":"object","example":"https://assets.notus.team/usdc.png","nullable":true,"description":"The logo URL of the token"},"address":{"type":"string","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","description":"The address of the token"},"price":{"nullable":true,"description":"Unit price in the currencies CoinGecko returns for this token","type":"object","allOf":[{"$ref":"#/components/schemas/QuoteAmountCurrencies"}]},"balance":{"description":"The balance of the token in the vault","allOf":[{"$ref":"#/components/schemas/FundCompositionBalanceDTO"}]},"allocationPercentage":{"type":"string","example":"45.20","description":"Share of vault USD value held in this asset"},"priceChangePercentage24h":{"type":"number","example":1.61,"nullable":true,"description":"CoinGecko USD price change over the last 24 hours, in percent. Null when the token has no CoinGecko id or the change is unavailable."}},"required":["name","symbol","logoURL","address","price","balance","allocationPercentage","priceChangePercentage24h"]},"FundCompositionResponseDTO":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/FundCompositionItemDTO"}}},"required":["items"]},"FundPerformanceChartPointDTO":{"type":"object","properties":{"timestamp":{"type":"string","example":"2026-03-15T12:00:00.000Z","description":"Bucket timestamp in ISO-8601 UTC"},"sharePrice":{"type":"object","example":"1.2345","nullable":true,"description":"Share price at the end of the bucket; null when the bucket is outside fund history"}},"required":["timestamp","sharePrice"]},"FundPerformanceChartResponseDTO":{"type":"object","properties":{"period":{"type":"string","example":"1m","description":"Requested chart period"},"aggregation":{"type":"string","example":"daily","enum":["hourly","daily","weekly","monthly"],"description":"Aggregation applied after young-fund fallback"},"points":{"description":"Chart points ordered oldest to newest","type":"array","items":{"$ref":"#/components/schemas/FundPerformanceChartPointDTO"}}},"required":["period","aggregation","points"]},"FundResultsReturnsDTO":{"type":"object","properties":{"currentMonthLabel":{"type":"string","example":"mar"},"weekPercent":{"type":"object","example":1.2,"nullable":true},"monthPercent":{"type":"object","example":3.4,"nullable":true},"quarterPercent":{"type":"object","example":8.1,"nullable":true},"sinceInceptionPercent":{"type":"object","example":15.6,"nullable":true}},"required":["currentMonthLabel","weekPercent","monthPercent","quarterPercent","sinceInceptionPercent"]},"FundMonthlyReturnDTO":{"type":"object","properties":{"month":{"type":"string","description":"UTC month this return belongs to","example":"2026-03"},"monthLabel":{"type":"string","example":"mar"},"returnPercent":{"type":"number","example":2.45,"nullable":true}},"required":["month","monthLabel","returnPercent"]},"FundResultsMonthlyReturnsDTO":{"type":"object","properties":{"year":{"type":"number","example":2024},"months":{"type":"array","items":{"$ref":"#/components/schemas/FundMonthlyReturnDTO"}}},"required":["year","months"]},"FundResultsIndicatorsDTO":{"type":"object","properties":{"volatility30dPercent":{"type":"object","example":12.3,"nullable":true},"sharpeRatio":{"type":"object","example":1.45,"nullable":true},"bestMonth":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/FundMonthlyReturnDTO"}]},"worstMonth":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/FundMonthlyReturnDTO"}]},"positiveMonthsCount":{"type":"object","example":8,"nullable":true},"trackedMonthsCount":{"type":"object","example":12,"nullable":true},"trackRecordLabel":{"type":"object","example":"12 meses","nullable":true}},"required":["volatility30dPercent","sharpeRatio","bestMonth","worstMonth","positiveMonthsCount","trackedMonthsCount","trackRecordLabel"]},"FundResultsResponseDTO":{"type":"object","properties":{"returns":{"$ref":"#/components/schemas/FundResultsReturnsDTO"},"inceptionLabel":{"type":"object","example":"jan/2024","nullable":true},"monthlyReturns":{"$ref":"#/components/schemas/FundResultsMonthlyReturnsDTO"},"indicators":{"$ref":"#/components/schemas/FundResultsIndicatorsDTO"}},"required":["returns","inceptionLabel","monthlyReturns","indicators"]},"GetFundSharesLockResponseDTO":{"type":"object","properties":{"unlocksAt":{"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))$","description":"When this account can redeem or transfer shares again. Null when the vault has no lock-up, the account has never bought shares, or the lock-up has already passed.","example":"2026-12-02T15:00:00.000Z","nullable":true}},"required":["unlocksAt"]},"FundPartnerDetailDTO":{"type":"object","properties":{"name":{"type":"string","description":"The name of the partner","example":"Targen"},"logoUrl":{"type":"string","description":"The logo of the partner","example":"https://assets.notus.team/partners/targen.png"},"url":{"type":"string","description":"URL to the partner's website","example":"https://targen.finance"},"description":{"type":"string","description":"The description of the partner","example":"Gestora parceira do piloto de fundos onchain na Chainless."}},"required":["name","logoUrl","url","description"]},"FundPerformanceHistoryPointDTO":{"type":"object","properties":{"timestamp":{"type":"string","description":"The timestamp of the performance history point","example":"2026-07-01T00:00:00.000Z"},"sharePrice":{"type":"string","description":"The share price of the fund at the given timestamp","example":"1.0100"}},"required":["timestamp","sharePrice"]},"FundDocumentDTO":{"type":"object","properties":{"name":{"type":"string","description":"Label shown on the terms step, for example \"Termo de adesão\"","example":"Termo de adesão"},"url":{"type":"string","description":"URL opened when the investor reads the document","example":"https://chainless.finance/documentos/estrategias/termo.pdf"}},"required":["name","url"]},"FundDetailDTO":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the fund","example":"f1e2d3c4-b5a6-9780-1234-567890abcdef"},"slug":{"type":"string","description":"The slug of the fund","example":"targen-vertex"},"name":{"type":"string","description":"The name of the fund","example":"Targen Vertex"},"logoUrl":{"type":"string","description":"The logo of the fund","example":"https://assets.notus.team/funds/targen-vertex-plus.png"},"partner":{"description":"The partner that manages the fund","allOf":[{"$ref":"#/components/schemas/FundPartnerDetailDTO"}]},"protocol":{"type":"string","description":"The protocol of the fund","example":"ENZYME_BLUE"},"chain":{"description":"The chain of the fund","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"aumUsd":{"type":"string","description":"The AUM of the fund in USD","example":"12500000.00"},"investorsCount":{"type":"number","description":"Number of current vault depositors (investors). Null when Enzyme did not return a count.","example":56,"nullable":true},"topDepositorPercent":{"type":"number","description":"Largest depositor share of the vault as a percent of total shares. Null when Enzyme did not return depositor data.","example":38.2,"nullable":true},"netDeposits30dUsd":{"type":"string","description":"Net deposits minus redemptions over the last 30 days, in USD. Null when Enzyme did not return flow data.","example":"210000.00","nullable":true},"sharePrice":{"type":"string","description":"The share price of the fund","example":"1.0234"},"performance":{"description":"The performance of the fund","allOf":[{"$ref":"#/components/schemas/FundPerformanceDTO"}]},"fees":{"description":"The fees of the fund","allOf":[{"$ref":"#/components/schemas/FundFeesDTO"}]},"settlementMode":{"type":"string","example":"SYNC","description":"How the vault settles capital: SYNC, ASYNC, or HYBRID. HYBRID means it could be SYNC or ASYNC depending on rules of the fund."},"riskLevel":{"type":"string","description":"The risk level of the fund","example":"moderate"},"url":{"type":"string","description":"URL to details about the fund on the partner's website","example":"https://site.targen.io/vertex-plus"},"thesis":{"type":"string","description":"The thesis of the fund"},"riskSummary":{"type":"string","description":"The risk summary of the fund"},"primaryAssets":{"description":"The primary assets of the fund","type":"array","items":{"$ref":"#/components/schemas/FundAssetDTO"}},"denominationAsset":{"description":"The denomination asset of the fund. The token that is used to enter and exit the fund","allOf":[{"$ref":"#/components/schemas/FundAssetDTO"}]},"vaultAddress":{"type":"string","description":"The address of the vault","example":"0x58783f682Bd1ea0D11e1187e28445D3185B6A173"},"managerAddress":{"type":"string","description":"Vault owner wallet. Enzyme Blue GetVault.owner, or Onyx vault configuration.owner. Null when the provider did not return one.","example":"0x7eB9A40C39C0b8b2eF1ECB11A0238198915aA037","nullable":true},"inception":{"type":"string","description":"When the vault was created. Enzyme Blue GetVault.inception, or Onyx vault.createdAt. Null when unavailable.","example":"2026-04-23T18:56:47.000Z","nullable":true},"highWaterMark":{"type":"string","description":"Performance fee high watermark, in denomination-asset units per share. Enzyme Blue reads PerformanceFee.getFeeInfoForFund. Onyx reads the continuous flat-rate performance fee tracker. Null when the vault has no performance fee.","example":"1.411123","nullable":true},"protocolFeeBps":{"type":"number","description":"Annual Enzyme protocol fee in basis points, from ProtocolFeeTracker.getFeeBpsForVault. Null for Enzyme Onyx, which does not charge a protocol fee.","example":25,"nullable":true},"sharesLockUpPeriodSeconds":{"type":"number","description":"Enzyme Blue shares lock-up period in seconds. After buying shares, that account cannot redeem or transfer them until this many seconds have passed. Zero means the vault has no lock-up. Null for Enzyme Onyx, which has no shares lock-up.","example":172800,"nullable":true},"performanceHistory":{"description":"The performance history of the fund","type":"array","items":{"$ref":"#/components/schemas/FundPerformanceHistoryPointDTO"}},"liquidityPolicy":{"type":"string","description":"The liquidity policy of the fund"},"acceptsDeposit":{"type":"boolean","description":"Whether the fund accepts deposits","example":true},"acceptsRedeem":{"type":"boolean","description":"Whether the fund accepts redemptions","example":true},"disclaimers":{"description":"The disclaimers of the fund","type":"array","items":{"type":"string"}},"documents":{"description":"Documents the investor can read before depositing. Empty when this fund has none.","type":"array","items":{"$ref":"#/components/schemas/FundDocumentDTO"}},"stale":{"type":"boolean","description":"Whether the fund is stale","example":false},"minimumDepositUsd":{"type":"string","description":"Minimum deposit in USD. The same value for every fund; it is not configured per vault.","example":"50.00"},"sharePriceUpdatedAt":{"type":"string","description":"When `sharePrice` was read from its source. Null when the price comes from the editorial fallback.","example":"2026-10-28T19:40:12.000Z","nullable":true}},"required":["id","slug","name","logoUrl","partner","protocol","chain","aumUsd","investorsCount","topDepositorPercent","netDeposits30dUsd","sharePrice","performance","fees","settlementMode","riskLevel","url","thesis","riskSummary","primaryAssets","denominationAsset","vaultAddress","managerAddress","inception","highWaterMark","protocolFeeBps","sharesLockUpPeriodSeconds","performanceHistory","liquidityPolicy","acceptsDeposit","acceptsRedeem","disclaimers","documents","stale","minimumDepositUsd","sharePriceUpdatedAt"]},"CreateFundDepositQuoteBodyDTO":{"type":"object","properties":{"walletAddress":{"description":"Smart wallet that will execute the deposit.","example":"0x6E397DDf51D9f15DbE0414538e7529f51f2E5464","type":"string"},"amount":{"type":"string","description":"Amount of tokenIn to deposit, as a decimal string.","example":"100.00"},"chainIdIn":{"description":"Chain the deposit token is on. Defaults to the fund chain. Cross-chain deposits are supported for Enzyme Onyx only.","example":8453,"type":"number"},"tokenIn":{"description":"Token the user is depositing from.","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","type":"string"},"payGasFeeToken":{"description":"Token used to pay the user-operation gas.","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","type":"string"},"gasFeePaymentMethod":{"default":"ADD_TO_AMOUNT","description":"Defines how the gas fee will be paid: `ADD_TO_AMOUNT` adds it on top of the input amount, while `DEDUCT_FROM_AMOUNT` subtracts it from the input amount when `payGasFeeToken` is that same token.","example":"ADD_TO_AMOUNT","type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"]},"slippage":{"default":1,"description":"Optional parameter controlling the maximum deviation allowed of the expected share price and the actual price at which the deposit is executed, with a minimum value of 0.5 and a maximum value of 99, default is 1, where 1 unit equals 1%. When a swap is required first, swap slippage is 0.5% less than this value, or half of it when the deposit slippage is below 1%.","example":1,"type":"number","minimum":0.5,"maximum":99},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["walletAddress","amount","tokenIn","payGasFeeToken"]},"FundDepositQuoteSwapProviderDTO":{"type":"object","properties":{"name":{"type":"string","example":"Enso","description":"Human readable name of the swap provider"},"logo":{"type":"string","example":"https://assets.notus.team/enso.png","description":"URL to an image of the logo of the swap provider"}},"required":["name","logo"]},"FundDepositQuoteSwapAmountsDTO":{"type":"object","properties":{"min":{"type":"string","example":"96.15","description":"Minimum amount the swap should send after slippage."},"expected":{"type":"string","example":"99.00","description":"Expected amount the swap should send."}},"required":["min","expected"]},"FundDepositQuoteSwapDTO":{"type":"object","properties":{"provider":{"description":"The provider of the swap","allOf":[{"$ref":"#/components/schemas/FundDepositQuoteSwapProviderDTO"}]},"amountsOut":{"description":"The assets and amounts the user will receive from the swap","allOf":[{"$ref":"#/components/schemas/FundDepositQuoteSwapAmountsDTO"}]},"tokenOut":{"type":"string","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","description":"Vault denomination asset address the swap converts the deposit token into"}},"required":["provider","amountsOut","tokenOut"]},"FundDepositQuoteResponseDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"userOperationHash":{"type":"string","nullable":true,"example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$","description":"The hash of the user operation that will be executed to deposit the funds into the fund"},"revertReason":{"nullable":true,"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.","type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]},"walletAddress":{"type":"string","example":"0x6E397DDf51D9f15DbE0414538e7529f51f2E5464","description":"The address of the wallet that will be used to deposit the funds into the fund"},"expiresAt":{"type":"string","example":"2026-07-31T15:00:00.000Z","description":"The date and time the quote will expire"},"amounts":{"description":"The assets and amounts being sent and received by the user","allOf":[{"$ref":"#/components/schemas/FundDepositQuoteAmountsDTO"}]},"fees":{"description":"The fees that will be charged","type":"array","items":{"$ref":"#/components/schemas/FeeDTO"}},"estimatedGasFees":{"description":"The estimated gas fees for the user operation","allOf":[{"$ref":"#/components/schemas/EstimatedGasFeesDTO"}]},"chain":{"description":"The chain the user operation will be executed on. For cross-chain Enzyme Onyx deposits this is the source chain; vault settlement happens on the fund chain.","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"vaultProvider":{"type":"string","example":"ENZYME_BLUE","description":"The provider protocol of the vault: ENZYME_BLUE or ENZYME_ONYX."},"fundId":{"type":"string","example":"f1e2d3c4-b5a6-9780-1234-567890abcdef","description":"The ID of the fund"},"vaultAddress":{"type":"string","example":"0x58783f682Bd1ea0D11e1187e28445D3185B6A173","description":"The address of the vault"},"settlementMode":{"type":"string","example":"SYNC","description":"How the vault settles capital: SYNC, ASYNC, or HYBRID. HYBRID means it could be SYNC or ASYNC depending on rules of the fund."},"settlement":{"type":"string","example":"immediate","description":"Whether this operation settles in the same UserOp (immediate) or via a manager queue (queued). Enzyme Onyx async quotes are queued."},"swap":{"nullable":true,"description":"Present when the deposit token is swapped into the vault denomination asset first.","type":"object","allOf":[{"$ref":"#/components/schemas/FundDepositQuoteSwapDTO"}]}},"required":["metadata","userOperationHash","revertReason","authorization","walletAddress","expiresAt","amounts","fees","estimatedGasFees","chain","vaultProvider","fundId","vaultAddress","settlementMode","settlement","swap"]},"CreateFundRedeemQuoteBodyDTO":{"type":"object","properties":{"walletAddress":{"description":"Smart wallet that will execute the redeem.","example":"0x6E397DDf51D9f15DbE0414538e7529f51f2E5464","type":"string"},"sharesAmount":{"type":"string","description":"Amount of vault shares to redeem, as a decimal string.","example":"50.00"},"payGasFeeToken":{"description":"Token used to pay the user-operation gas.","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","type":"string"},"gasFeePaymentMethod":{"default":"ADD_TO_AMOUNT","description":"Defines how the gas fee will be paid: `ADD_TO_AMOUNT` adds it on top of the redeemed amount, while `DEDUCT_FROM_AMOUNT` subtracts it from that amount when `payGasFeeToken` is the same asset (denomination for Enzyme Blue, vault shares for Enzyme Onyx).","example":"ADD_TO_AMOUNT","type":"string","enum":["ADD_TO_AMOUNT","DEDUCT_FROM_AMOUNT"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["walletAddress","sharesAmount","payGasFeeToken"]},"FundRedeemQuoteAmountInDTO":{"type":"object","properties":{"token":{"description":"Vault shares being redeemed","allOf":[{"$ref":"#/components/schemas/FundAssetDTO"}]},"amount":{"type":"string","example":"50.00","description":"Amount of shares being redeemed."}},"required":["token","amount"]},"FundRedeemQuoteAmountOutDTO":{"type":"object","properties":{"token":{"description":"Denomination asset the user will receive","allOf":[{"$ref":"#/components/schemas/FundAssetDTO"}]},"minAmount":{"type":"object","example":"50.66","nullable":true,"description":"Minimum denomination payout. Null when the vault call does not enforce a minimum on-chain."},"expectedAmount":{"type":"string","example":"51.17","description":"Expected amount of the denomination asset the user will receive after fees."}},"required":["token","minAmount","expectedAmount"]},"FundRedeemQuoteAmountsDTO":{"type":"object","properties":{"in":{"description":"The assets and amounts being sent by the user","type":"array","items":{"$ref":"#/components/schemas/FundRedeemQuoteAmountInDTO"}},"out":{"description":"The assets and amounts the user will receive","type":"array","items":{"$ref":"#/components/schemas/FundRedeemQuoteAmountOutDTO"}}},"required":["in","out"]},"FundRedeemQuoteResponseDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true},"userOperationHash":{"type":"string","nullable":true,"example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$","description":"The hash of the user operation that will be executed to redeem shares from the fund"},"revertReason":{"nullable":true,"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.","type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"authorization":{"nullable":true,"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]},"walletAddress":{"type":"string","example":"0x6E397DDf51D9f15DbE0414538e7529f51f2E5464","description":"The address of the wallet that will be used to redeem shares from the fund"},"expiresAt":{"type":"string","example":"2026-07-31T15:00:00.000Z","description":"The date and time the quote will expire"},"amounts":{"description":"The assets and amounts being sent and received by the user","allOf":[{"$ref":"#/components/schemas/FundRedeemQuoteAmountsDTO"}]},"fees":{"description":"The fees that will be charged","type":"array","items":{"$ref":"#/components/schemas/FeeDTO"}},"estimatedGasFees":{"description":"The estimated gas fees for the user operation","allOf":[{"$ref":"#/components/schemas/EstimatedGasFeesDTO"}]},"chain":{"description":"The chain the user operation will be executed on","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"vaultProvider":{"type":"string","example":"ENZYME_BLUE","description":"The provider protocol of the vault: ENZYME_BLUE or ENZYME_ONYX."},"fundId":{"type":"string","example":"f1e2d3c4-b5a6-9780-1234-567890abcdef","description":"The ID of the fund"},"vaultAddress":{"type":"string","example":"0x58783f682Bd1ea0D11e1187e28445D3185B6A173","description":"The address of the vault"},"settlementMode":{"type":"string","example":"SYNC","description":"How the vault settles capital: SYNC, ASYNC, or HYBRID. HYBRID means it could be SYNC or ASYNC depending on rules of the fund."},"settlement":{"type":"string","example":"immediate","description":"Whether this operation settles in the same UserOp (immediate) or via a manager queue (queued). Enzyme Onyx async quotes are queued."}},"required":["metadata","userOperationHash","revertReason","authorization","walletAddress","expiresAt","amounts","fees","estimatedGasFees","chain","vaultProvider","fundId","vaultAddress","settlementMode","settlement"]},"CreateFundCancelQuoteBodyDTO":{"type":"object","properties":{"walletAddress":{"description":"Smart wallet that owns the queued request being cancelled.","example":"0x6E397DDf51D9f15DbE0414538e7529f51f2E5464","type":"string"},"payGasFeeToken":{"description":"Token used to pay the cancel user-operation gas.","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Custom metadata. Key-value pairs with string values. Max 1KB size.","example":{"key":"value"}}},"required":["walletAddress","payGasFeeToken"]},"MetadataOutputDTO":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata object you set for this transaction, null if none","example":{"key":"value"},"nullable":true}},"required":["metadata"]},"FundCancelQuoteResponseDTO":{"type":"object","properties":{"userOperationHash":{"type":"string","description":"Hash of the cancel user operation. Null when simulation reverted.","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$","nullable":true},"revertReason":{"description":"Reason why the user operation hash is `null`. This is decoded from the blockchain contract, you can try to check the contracts you're interacting with and find this in the contract source code.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/RevertReasonDTO"}]},"authorization":{"description":"EIP-7702 Authorization. If the wallet is supposed to be an EIP-7702 wallet, then this field will be available for the first user operation. Signing this is mandatory for EIP-7702, and is not part of the signing of the user operation hash.\n\n**ATTENTION**: This signature is not the same as the user operation signature, you don't use viem's `signMessage` but `signAuthorization`, or plain `sign` with the `hash` field.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AuthorizationDTO"}]},"walletAddress":{"type":"string","example":"0x6E397DDf51D9f15DbE0414538e7529f51f2E5464","description":"Smart wallet that will execute the cancel."},"expiresAt":{"type":"string","example":"2026-08-04T18:00:00.000Z","description":"When the cancel user operation expires."},"status":{"type":"string","example":"CREATED","description":"Status of the cancel user operation. CREATED means it is waiting for signature."},"settlement":{"type":"string","example":"queued","description":"Settlement of the original request being cancelled."},"externalRequestId":{"type":"string","example":"123","description":"Enzyme Onyx request id being cancelled."},"canCancelAt":{"type":"string","example":"2026-08-04T16:30:00.000Z","description":"Timestamp after which the vault allows cancelDeposit/cancelRedeem."},"estimatedGasFees":{"$ref":"#/components/schemas/EstimatedGasFeesDTO"},"chain":{"$ref":"#/components/schemas/ChainDTO"},"fundId":{"type":"string","example":"f1e2d3c4-b5a6-9780-1234-567890abcdef","description":"Fund of the original request."},"metadata":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/MetadataOutputDTO"}]}},"required":["userOperationHash","revertReason","authorization","walletAddress","expiresAt","status","settlement","externalRequestId","canCancelAt","estimatedGasFees","chain","fundId","metadata"]},"QuoteFiatDTO":{"type":"object","properties":{"from":{"type":"object","properties":{"currency":{"anyOf":[{"type":"string","enum":["USDC","BRZ","USDT","BRS","BRLA"],"description":"Cryptocurrency.\n\nSupported chains by cryptocurrency:\n- USDC: [1, 137, 8453, 42161]\n- BRZ: [137]\n- USDT: [1, 137]\n- BRS: [137]\n- BRLA: [137]"},{"type":"string","enum":["BRL","USD","MXN","COP","ARS"],"description":"Fiat currency (BRL)"}],"example":"BRL"},"amount":{"type":"string"}},"required":["currency"]},"to":{"type":"object","properties":{"currency":{"anyOf":[{"type":"string","enum":["USDC","BRZ","USDT","BRS","BRLA"],"description":"Cryptocurrency.\n\nSupported chains by cryptocurrency:\n- USDC: [1, 137, 8453, 42161]\n- BRZ: [137]\n- USDT: [1, 137]\n- BRS: [137]\n- BRLA: [137]"},{"type":"string","enum":["BRL","USD","MXN","COP","ARS"],"description":"Fiat currency (BRL)"}],"example":"BRZ"},"amount":{"type":"string"}},"required":["currency"]},"chainId":{"description":"Chain where the token will be sent from. \n - Polygon: 137\n- Arbitrum One: 42161\n- Base: 8453\n- Ethereum: 1","type":"number"},"identityId":{"type":"string","description":"The ID of the individual or business, as returned by the KYC endpoints.","example":"12345678-1234-1234-1234-123456789012"},"fees":{"type":"object","properties":{"percent":{"description":"Percentage fee to be charged (0 to 99%). The fee is deducted from the input token and sent to treasuryAddress, if configured. Note: Fees are only available for withdrawals.","type":"number","minimum":0,"maximum":99.99},"fixed":{"description":"Fixed fee to be charged in the input token units. The fee is deducted from the input token and sent to treasuryAddress, if configured. Note: Fees are only available for withdrawals.","type":"string"}}},"walletAddress":{"description":"Wallet address. Required for validating the wallet and accurate gas estimation.","type":"string"},"provider":{"description":"Fiat provider that must process the quote and the order created from it. When omitted, the provider is chosen automatically from the currency and chain. The request fails if the provider does not support the operation. `FOUR_P_FINANCE` is retired (deprecated) and always fails as not supported.","example":"TRANSFERO","type":"string","enum":["TRANSFERO","FOUR_P_FINANCE","PODS"]},"brCode":{"description":"Pix BR Code (QR code or copy and paste) the withdrawal will pay. The quote is priced for the amount written in the code, so the amounts can be left out; `to.amount` is only read when the code has no amount, and without either the request fails with `BR_CODE_AMOUNT_REQUIRED`. The response brings `brCode` (what is written in the code) and `pixReceiver` (who the Pix network says the code pays). A code can only pay a company: one that pays a CPF fails with `PIX_QR_CODE_RECEIVER_NOT_COMPANY`, and one whose payee nobody confirms fails with `PIX_QR_CODE_RECEIVER_UNKNOWN`. Only providers that look up who a code pays (Pods) take it; on any other the request fails with `PIX_QR_CODE_RECEIVER_UNKNOWN` before the provider is asked. Every error of a quote asked with a BR Code brings the same `brCode` in `extra`. Note: only available for withdrawals.","type":"string","minLength":1}},"required":["from","to","chainId","identityId","walletAddress"]},"FromDTO":{"type":"object","properties":{"currency":{"type":"string","description":"The source currency","example":"USDC"},"amount":{"type":"string","description":"The source amount","example":"100.50"}},"required":["currency","amount"]},"ToDTO":{"type":"object","properties":{"currency":{"type":"string","description":"The target currency","example":"BRL"},"amount":{"type":"string","description":"The target amount","example":"550.75"}},"required":["currency","amount"]},"QuotedBRCodeDTO":{"type":"object","properties":{"receiver":{"type":"string","description":"Receiver name written in the code. Whoever generated the code typed it, so it is not proof of who is paid: `pixReceiver` is.","example":"Loja Exemplo"},"amount":{"type":"number","description":"Amount written in the code, in BRL. Null when the code leaves the amount to the payer.","example":25.9,"nullable":true}},"required":["receiver","amount"]},"PixReceiverDTO":{"type":"object","properties":{"name":{"type":"string","description":"Name of the account holder","example":"LOJA EXEMPLO LTDA","nullable":true},"documentId":{"type":"string","description":"CPF or CNPJ of the account holder, digits only. Null when the Pix network masks it, as it does for a CPF.","example":"50224164000170","nullable":true},"documentType":{"type":"string","description":"Kind of document of the account holder, read even when the Pix network masks its digits. Null when the network gives none.","enum":["CPF","CNPJ"],"example":"CNPJ","nullable":true},"institution":{"type":"string","description":"Bank or payment institution that holds the account","example":"BANCO EXEMPLO S.A.","nullable":true}},"required":["name","documentId","documentType","institution"]},"FiatQuoteV2ResponseDTO":{"type":"object","properties":{"from":{"description":"The source currency and amount information","allOf":[{"$ref":"#/components/schemas/FromDTO"}]},"to":{"description":"The target currency and amount information","allOf":[{"$ref":"#/components/schemas/ToDTO"}]},"quoteId":{"type":"string","description":"The quote ID","example":"123e4567-e89b-12d3-a456-426614174000"},"chain":{"description":"The chain information for the quote","allOf":[{"$ref":"#/components/schemas/ChainDTO"}]},"type":{"type":"string","description":"The quote type","enum":["DEPOSIT","WITHDRAWAL"],"example":"DEPOSIT"},"expiresAt":{"type":"string","description":"The quote expiration timestamp","example":"2024-01-01T12:00:00.000Z"},"isEstimate":{"type":"boolean","description":"Whether the returned amount is only informational and not locked in.","example":false},"brCode":{"description":"What is written in the BR Code the quote was asked with. Only present when the quote was asked with `brCode`.","allOf":[{"$ref":"#/components/schemas/QuotedBRCodeDTO"}]},"pixReceiver":{"description":"Who the Pix network says the BR Code pays. Only present when the quote was asked with `brCode` and the provider looks the receiver up.","allOf":[{"$ref":"#/components/schemas/PixReceiverDTO"}]}},"required":["from","to","quoteId","chain","type","expiresAt"]},"FiatDepositOrderDTO":{"type":"object","properties":{"quoteId":{"type":"string","description":"The ID of the quote generated by the Deposit Quote endpoint","example":"12345678-1234-1234-1234-123456789012"}},"required":["quoteId"]},"FiatDepositOrderFromDTO":{"type":"object","properties":{"currency":{"type":"string","description":"The fiat currency code","example":"BRL","enum":["BRL","USD","MXN","COP","ARS"]},"amount":{"type":"string","description":"The fiat amount to deposit","example":"100.50"}},"required":["currency","amount"]},"FiatDepositOrderToDTO":{"type":"object","properties":{"currency":{"type":"string","description":"The cryptocurrency symbol","example":"USDC","enum":["USDC","BRZ","USDT","BRS","BRLA"]},"amount":{"type":"string","description":"The cryptocurrency amount to receive","example":"99.50"}},"required":["currency","amount"]},"FiatDepositOrderV2ResponseDTO":{"type":"object","properties":{"id":{"type":"string","description":"The deposit order id","example":"123e4567-e89b-12d3-a456-426614174000"},"from":{"description":"The fiat currency and amount information","allOf":[{"$ref":"#/components/schemas/FiatDepositOrderFromDTO"}]},"to":{"description":"The cryptocurrency and amount information","allOf":[{"$ref":"#/components/schemas/FiatDepositOrderToDTO"}]},"depositInstructions":{"description":"The deposit instructions","oneOf":[{"$ref":"#/components/schemas/AchPaymentDetailsDto","title":"Ach"},{"$ref":"#/components/schemas/PixPaymentDetailsToSendDto","title":"Pix"},{"$ref":"#/components/schemas/WirePaymentDetailsDto","title":"Wire"},{"$ref":"#/components/schemas/SpeiPaymentDetailsDto","title":"Spei"}]}},"required":["id","from","to","depositInstructions"]},"FiatWithdrawalOrderDTO":{"type":"object","properties":{"quoteId":{"type":"string","description":"The ID of the quote generated by the Withdrawal Quote endpoint","example":"12345678-1234-1234-1234-123456789012"},"paymentMethod":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["PIX"]},"pixKey":{"type":"string"}},"required":["type","pixKey"]},{"type":"object","properties":{"type":{"type":"string","enum":["PIX_QR_CODE"]},"brCode":{"type":"string"}},"required":["type","brCode"]}],"description":"Payment method details for receiving the fiat currency"}},"required":["quoteId","paymentMethod"]},"FiatWithdrawalOrderFromDTO":{"type":"object","properties":{"currency":{"type":"string","description":"The cryptocurrency symbol","example":"USDC","enum":["USDC","BRZ","USDT","BRS","BRLA"]},"amount":{"type":"string","description":"The cryptocurrency amount to send","example":"100.50"}},"required":["currency","amount"]},"FiatWithdrawalOrderToDTO":{"type":"object","properties":{"currency":{"type":"string","description":"The fiat currency code","example":"BRL","enum":["BRL","USD","MXN","COP","ARS"]},"amount":{"type":"string","description":"The fiat amount to receive","example":"550.75"}},"required":["currency","amount"]},"FiatWithdrawalOrderFeesDTO":{"type":"object","properties":{"transactionFee":{"type":"string","description":"Amount of the transaction fee in crypto currency.","example":"1.50"},"gasFee":{"type":"string","description":"Amount of the estimated gas fee in crypto currency.","example":"0.05"},"treasuryAddress":{"type":"object","description":"Address that receives the collected fees (treasury address).","example":"0x6e397ddf51d9f15dbe0414538e7529f51f2e5464","pattern":"^0x[a-fA-F0-9]{40}$","nullable":true}},"required":["transactionFee","gasFee","treasuryAddress"]},"WithdrawalInstructionsDTO":{"type":"object","properties":{"userOperationHash":{"type":"string","description":"Unique identifier that is the hash of the user operation","example":"0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1","pattern":"^0x[a-fA-F0-9]{64}$"},"authorization":{"type":"object","nullable":true,"description":"Authorization data for EIP-7702 delegated transactions. Contains the authorization signature and related data when using account delegation."}},"required":["userOperationHash","authorization"]},"FiatWithdrawalOrderV2ResponseDTO":{"type":"object","properties":{"id":{"type":"string","description":"The withdrawal order id","example":"123e4567-e89b-12d3-a456-426614174000"},"from":{"description":"The cryptocurrency and amount information","allOf":[{"$ref":"#/components/schemas/FiatWithdrawalOrderFromDTO"}]},"to":{"description":"The fiat currency and amount information","allOf":[{"$ref":"#/components/schemas/FiatWithdrawalOrderToDTO"}]},"expiresAt":{"type":"string","description":"Expiration date of the quote/order","example":"2023-12-31T23:59:59.999Z"},"fees":{"description":"Fee information for the withdrawal","allOf":[{"$ref":"#/components/schemas/FiatWithdrawalOrderFeesDTO"}]},"withdrawalInstructions":{"description":"Instructions for executing the withdrawal","allOf":[{"$ref":"#/components/schemas/WithdrawalInstructionsDTO"}]}},"required":["id","from","to","expiresAt","fees","withdrawalInstructions"]},"DecodedBRCodeDataDTO":{"type":"object","properties":{"status":{"type":"string","description":"Payment status","example":"created"},"receiver":{"type":"string","description":"Receiver name (from BR code)","example":"Brla Digital Ltda"},"institution":{"type":"string","description":"Institution name (registered name from tax ID lookup)","example":"BRLA DIGITAL LTDA","nullable":true},"documentId":{"type":"string","description":"Document ID (CPF/CNPJ). Null if censored.","example":"50224164000170","nullable":true},"amount":{"type":"number","description":"Total amount to pay","example":0,"nullable":true}},"required":["status","receiver","institution","documentId","amount"]},"DecodedBRCodeDTO":{"type":"object","properties":{"brCode":{"description":"Decoded BRCode data","allOf":[{"$ref":"#/components/schemas/DecodedBRCodeDataDTO"}]}},"required":["brCode"]},"GetIdentityProvidersResponseDTO":{"type":"object","properties":{"providers":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["TRANSFERO","PODS"]},"status":{"type":"string","enum":["PENDING","NEEDS_DATA","APPROVED","REJECTED_RETRYABLE","REJECTED"]},"action":{"type":"string","enum":["NONE","WAIT","REVERIFY"],"description":"What the individual or business has to do: NONE, WAIT for the provider, or REVERIFY with a new verification session."},"retriesLeft":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reason":{"type":"string","nullable":true},"requiredData":{"type":"array","items":{"type":"string","enum":["EMAIL","ADDRESS","CITY","STATE","POSTAL_CODE"]},"description":"What a verification must carry for this provider. Send these fields on a reverification, or the provider stays NEEDS_DATA."},"unlocks":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","BRZ","USDT","BRS","BRLA"]},"chainIds":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"fiat":{"type":"string","enum":["BRL","USD","MXN","COP","ARS"]},"paymentMethods":{"type":"array","items":{"type":"string"}},"operations":{"type":"array","items":{"type":"string","enum":["DEPOSIT","WITHDRAW"]}}},"required":["asset","chainIds","fiat","paymentMethods","operations"]},"description":"What the provider enables once it approves the individual or business."},"limits":{"type":"object","properties":{"fiatCurrency":{"type":"string","enum":["BRL","USD","MXN","COP","ARS"]},"isBlocked":{"type":"boolean","description":"The provider blocked the individual: nothing can be ramped."},"deposit":{"type":"object","properties":{"remainingInFiatCurrency":{"description":"What is left to ramp in the fiat currency, null when the provider sets no limit.","type":"string","nullable":true},"remainingInUSD":{"description":"What is left to ramp in USD, null when the provider sets no limit.","type":"string","nullable":true}},"required":["remainingInFiatCurrency","remainingInUSD"]},"withdraw":{"type":"object","properties":{"remainingInFiatCurrency":{"description":"What is left to ramp in the fiat currency, null when the provider sets no limit.","type":"string","nullable":true},"remainingInUSD":{"description":"What is left to ramp in USD, null when the provider sets no limit.","type":"string","nullable":true}},"required":["remainingInFiatCurrency","remainingInUSD"]}},"required":["fiatCurrency","isBlocked","deposit","withdraw"],"description":"The provider's own limits for the individual, read from the provider on each request. null when the provider has not approved them, keeps no limits of its own or did not answer.","nullable":true}},"required":["provider","status","action","retriesLeft","reason","requiredData","unlocks","limits"]}}},"required":["providers"]},"CreateIndividualReverificationDTO":{"type":"object","properties":{"provider":{"description":"The provider the individual is verifying again for. When omitted, every provider waiting for a new verification gets it.","type":"string","enum":["PODS"]},"firstName":{"type":"string"},"lastName":{"type":"string"},"birthDate":{"description":"The birth date in DD/MM/YYYY format.","type":"string"},"documentCategory":{"description":"The category of the document photographed this time. Defaults to the approved one.","type":"string","enum":["PASSPORT","DRIVERS_LICENSE","IDENTITY_CARD"]},"email":{"description":"Only used when the approved verification has no email.","type":"string"},"address":{"description":"Send address, city, state and postalCode together. Used when the approved verification has no complete address.","type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"phoneNumber":{"description":"Only used when the approved verification has no phone number.","type":"string"},"metadata":{"description":"Custom metadata. Put the wallet the individual ramps with in `walletAddress` so Pods gets the new verification as soon as the session is approved, instead of on the first quote.","type":"object","additionalProperties":{"type":"string"},"example":{"key":"value"}}},"default":{}}}},"security":[{"x-api-key":[]}]}