From 446b08acdeaa0b73c8b5a8a8fd07417287fdd382 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Wed, 16 Apr 2025 18:31:46 +0000 Subject: [PATCH 01/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 3705 +++++++++++++++++++++++++++++++ 1 file changed, 3705 insertions(+) create mode 100644 docs/pages/api/api/api.gen.yaml diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml new file mode 100644 index 00000000..b751f85f --- /dev/null +++ b/docs/pages/api/api/api.gen.yaml @@ -0,0 +1,3705 @@ +# sequence-api v0.4.0 41bad73b43784be3b15b6b47dc632c4484669ba4 +# -- +# Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT +# +# webrpc-gen -service=API -match=@public -schema=proto/api.ridl -target=openapi -title=Sequence Api -servers=https://api.sequence.app/;Api -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/api.gen.yaml +openapi: 3.0.0 +info: + title: 'Sequence Api' + version: '' +servers: + - url: 'https://api.sequence.app/' + description: 'Api' +components: + securitySchemes: {'ApiKeyAuth': {'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key'}} + schemas: + ErrorWebrpcEndpoint: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcEndpoint" + code: + type: number + example: 0 + msg: + type: string + example: "endpoint error" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcRequestFailed: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcRequestFailed" + code: + type: number + example: -1 + msg: + type: string + example: "request failed" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcBadRoute: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadRoute" + code: + type: number + example: -2 + msg: + type: string + example: "bad route" + cause: + type: string + status: + type: number + example: 404 + ErrorWebrpcBadMethod: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadMethod" + code: + type: number + example: -3 + msg: + type: string + example: "bad method" + cause: + type: string + status: + type: number + example: 405 + ErrorWebrpcBadRequest: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadRequest" + code: + type: number + example: -4 + msg: + type: string + example: "bad request" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcBadResponse: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadResponse" + code: + type: number + example: -5 + msg: + type: string + example: "bad response" + cause: + type: string + status: + type: number + example: 500 + ErrorWebrpcServerPanic: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcServerPanic" + code: + type: number + example: -6 + msg: + type: string + example: "server panic" + cause: + type: string + status: + type: number + example: 500 + ErrorWebrpcInternalError: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcInternalError" + code: + type: number + example: -7 + msg: + type: string + example: "internal error" + cause: + type: string + status: + type: number + example: 500 + ErrorWebrpcClientDisconnected: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcClientDisconnected" + code: + type: number + example: -8 + msg: + type: string + example: "client disconnected" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcStreamLost: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcStreamLost" + code: + type: number + example: -9 + msg: + type: string + example: "stream lost" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcStreamFinished: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcStreamFinished" + code: + type: number + example: -10 + msg: + type: string + example: "stream finished" + cause: + type: string + status: + type: number + example: 200 + ErrorUnauthorized: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Unauthorized" + code: + type: number + example: 1000 + msg: + type: string + example: "Unauthorized access" + cause: + type: string + status: + type: number + example: 401 + ErrorPermissionDenied: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "PermissionDenied" + code: + type: number + example: 1001 + msg: + type: string + example: "Permission denied" + cause: + type: string + status: + type: number + example: 403 + ErrorSessionExpired: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "SessionExpired" + code: + type: number + example: 1002 + msg: + type: string + example: "Session expired" + cause: + type: string + status: + type: number + example: 403 + ErrorMethodNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "MethodNotFound" + code: + type: number + example: 1003 + msg: + type: string + example: "Method not found" + cause: + type: string + status: + type: number + example: 404 + ErrorRequestConflict: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "RequestConflict" + code: + type: number + example: 1004 + msg: + type: string + example: "Conflict with target resource" + cause: + type: string + status: + type: number + example: 409 + ErrorAborted: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Aborted" + code: + type: number + example: 1005 + msg: + type: string + example: "Request aborted" + cause: + type: string + status: + type: number + example: 400 + ErrorGeoblocked: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Geoblocked" + code: + type: number + example: 1006 + msg: + type: string + example: "Geoblocked region" + cause: + type: string + status: + type: number + example: 451 + ErrorRateLimited: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "RateLimited" + code: + type: number + example: 1007 + msg: + type: string + example: "Rate-limited. Please slow down." + cause: + type: string + status: + type: number + example: 429 + ErrorProjectNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "ProjectNotFound" + code: + type: number + example: 1008 + msg: + type: string + example: "Project not found" + cause: + type: string + status: + type: number + example: 401 + ErrorAccessKeyNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "AccessKeyNotFound" + code: + type: number + example: 1101 + msg: + type: string + example: "Access key not found" + cause: + type: string + status: + type: number + example: 401 + ErrorAccessKeyMismatch: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "AccessKeyMismatch" + code: + type: number + example: 1102 + msg: + type: string + example: "Access key mismatch" + cause: + type: string + status: + type: number + example: 409 + ErrorInvalidOrigin: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "InvalidOrigin" + code: + type: number + example: 1103 + msg: + type: string + example: "Invalid origin for Access Key" + cause: + type: string + status: + type: number + example: 403 + ErrorInvalidService: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "InvalidService" + code: + type: number + example: 1104 + msg: + type: string + example: "Service not enabled for Access key" + cause: + type: string + status: + type: number + example: 403 + ErrorUnauthorizedUser: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "UnauthorizedUser" + code: + type: number + example: 1105 + msg: + type: string + example: "Unauthorized user" + cause: + type: string + status: + type: number + example: 403 + ErrorQuotaExceeded: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "QuotaExceeded" + code: + type: number + example: 1200 + msg: + type: string + example: "Quota request exceeded" + cause: + type: string + status: + type: number + example: 429 + ErrorQuotaRateLimit: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "QuotaRateLimit" + code: + type: number + example: 1201 + msg: + type: string + example: "Quota rate limit exceeded" + cause: + type: string + status: + type: number + example: 429 + ErrorNoDefaultKey: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "NoDefaultKey" + code: + type: number + example: 1300 + msg: + type: string + example: "No default access key found" + cause: + type: string + status: + type: number + example: 403 + ErrorMaxAccessKeys: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "MaxAccessKeys" + code: + type: number + example: 1301 + msg: + type: string + example: "Access keys limit reached" + cause: + type: string + status: + type: number + example: 403 + ErrorAtLeastOneKey: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "AtLeastOneKey" + code: + type: number + example: 1302 + msg: + type: string + example: "You need at least one Access Key" + cause: + type: string + status: + type: number + example: 403 + ErrorTimeout: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Timeout" + code: + type: number + example: 1900 + msg: + type: string + example: "Request timed out" + cause: + type: string + status: + type: number + example: 408 + ErrorInvalidArgument: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "InvalidArgument" + code: + type: number + example: 2000 + msg: + type: string + example: "Invalid argument" + cause: + type: string + status: + type: number + example: 400 + ErrorUnavailable: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Unavailable" + code: + type: number + example: 2002 + msg: + type: string + example: "Unavailable resource" + cause: + type: string + status: + type: number + example: 400 + ErrorQueryFailed: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "QueryFailed" + code: + type: number + example: 2003 + msg: + type: string + example: "Query failed" + cause: + type: string + status: + type: number + example: 400 + ErrorNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "NotFound" + code: + type: number + example: 3000 + msg: + type: string + example: "Resource not found" + cause: + type: string + status: + type: number + example: 400 + ErrorUnsupportedNetwork: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "UnsupportedNetwork" + code: + type: number + example: 3008 + msg: + type: string + example: "Unsupported network" + cause: + type: string + status: + type: number + example: 422 + SortOrder: + type: string + description: Represented as uint32 on the server side + enum: + - DESC + - ASC + SardinePaymentType: + type: string + description: Represented as uint32 on the server side + enum: + - ach + - debit + - credit + - us_debit + - international_debit + - international_credit + SardineQuoteType: + type: string + description: Represented as uint32 on the server side + enum: + - buy + - sell + TokenType: + type: string + description: Represented as uint8 on the server side + enum: + - ERC20 + - ERC721 + - ERC1155 + TransakBuySell: + type: string + description: Represented as uint8 on the server side + enum: + - UNKNOWN + - BUY + - SELL + Version: + type: object + required: + - webrpcVersion + - schemaVersion + - schemaHash + - appVersion + properties: + webrpcVersion: + type: string + schemaVersion: + type: string + schemaHash: + type: string + appVersion: + type: string + RuntimeStatus: + type: object + required: + - healthOK + - startTime + - uptime + - ver + - branch + - commitHash + - checks + - numTxnsRelayed + properties: + healthOK: + type: boolean + startTime: + type: string + uptime: + type: number + ver: + type: string + branch: + type: string + commitHash: + type: string + checks: + $ref: '#/components/schemas/RuntimeChecks' + numTxnsRelayed: + type: object + description: 'map' + additionalProperties: + $ref: '#/components/schemas/NumTxnsRelayed' + NumTxnsRelayed: + type: object + required: + - chainID + - prev + - current + - period + properties: + chainID: + type: number + prev: + type: number + current: + type: number + period: + type: number + RuntimeChecks: + type: object + SequenceContext: + type: object + required: + - factory + - mainModule + - mainModuleUpgradable + - guestModule + - utils + properties: + factory: + type: string + mainModule: + type: string + mainModuleUpgradable: + type: string + guestModule: + type: string + utils: + type: string + PublicKey: + type: object + required: + - id + - x + - y + properties: + id: + type: string + x: + type: string + y: + type: string + User: + type: object + required: + - address + - username + - normalizedUsername + - avatar + - bio + - location + - locale + - sysAdmin + properties: + address: + type: string + username: + type: string + normalizedUsername: + type: string + avatar: + type: string + bio: + type: string + location: + type: string + locale: + type: string + backup: + type: boolean + backupConfirmed: + type: boolean + maxInvites: + type: number + updatedAt: + type: string + createdAt: + type: string + sysAdmin: + type: boolean + WalletBackup: + type: object + required: + - accountAddress + - secretHash + - encryptedWallet + - userConfirmed + properties: + accountAddress: + type: string + secretHash: + type: string + encryptedWallet: + type: string + userConfirmed: + type: boolean + updatedAt: + type: string + createdAt: + type: string + Friend: + type: object + required: + - id + - userAddress + - friendAddress + - nickname + properties: + id: + type: number + userAddress: + type: string + friendAddress: + type: string + nickname: + type: string + user: + $ref: '#/components/schemas/User' + createdAt: + type: string + InviteCode: + type: object + required: + - code + - source + - usesLeft + - ownerAccount + - url + properties: + code: + type: string + source: + type: string + usesLeft: + type: number + ownerAccount: + type: string + email: + type: string + url: + type: string + createdAt: + type: string + expiresAt: + type: string + InviteCodeAccount: + type: object + required: + - code + - claimedByUserAddress + properties: + code: + type: string + claimedByUserAddress: + type: string + claimedAt: + type: string + InviteInfo: + type: object + required: + - expiryInHours + - max + - invites + properties: + expiryInHours: + type: number + max: + type: number + invites: + type: array + description: '[]InviteCode' + items: + $ref: '#/components/schemas/InviteCode' + ContractCall: + type: object + required: + - signature + - function + - args + properties: + signature: + type: string + function: + type: string + args: + type: array + description: '[]TupleComponent' + items: + $ref: '#/components/schemas/TupleComponent' + TupleComponent: + type: object + required: + - type + - value + properties: + name: + type: string + type: + type: string + value: + type: object + IntentPrecondition: + type: object + required: + - type + - chainID + - data + properties: + type: + type: string + chainID: + type: string + data: + type: object + IntentSolution: + type: object + required: + - transactions + properties: + transactions: + type: array + description: '[]Transactions' + items: + $ref: '#/components/schemas/Transactions' + Transactions: + type: object + required: + - chainID + - transactions + properties: + chainID: + type: string + transactions: + type: array + description: '[]Transaction' + items: + $ref: '#/components/schemas/Transaction' + preconditions: + type: array + description: '[]IntentPrecondition' + items: + $ref: '#/components/schemas/IntentPrecondition' + Transaction: + type: object + required: + - delegateCall + - revertOnError + - gasLimit + - target + - value + - data + properties: + delegateCall: + type: boolean + revertOnError: + type: boolean + gasLimit: + type: string + target: + type: string + value: + type: string + data: + type: string + UserStorage: + type: object + required: + - userAddress + - key + - value + properties: + userAddress: + type: string + key: + type: string + value: + type: object + Token: + type: object + required: + - chainId + - contractAddress + properties: + chainId: + type: number + contractAddress: + type: string + tokenId: + type: string + Price: + type: object + required: + - value + - currency + properties: + value: + type: number + currency: + type: string + TokenPrice: + type: object + required: + - token + - floorPrice + - buyPrice + - sellPrice + - updatedAt + properties: + token: + $ref: '#/components/schemas/Token' + price: + $ref: '#/components/schemas/Price' + price24hChange: + $ref: '#/components/schemas/Price' + floorPrice: + $ref: '#/components/schemas/Price' + buyPrice: + $ref: '#/components/schemas/Price' + sellPrice: + $ref: '#/components/schemas/Price' + updatedAt: + type: string + ExchangeRate: + type: object + required: + - name + - symbol + - value + - vsCurrency + - currencyType + properties: + name: + type: string + symbol: + type: string + value: + type: number + vsCurrency: + type: string + currencyType: + type: string + LinkedWallet: + type: object + required: + - id + - walletAddress + - linkedWalletAddress + properties: + id: + type: number + walletType: + type: string + walletAddress: + type: string + linkedWalletAddress: + type: string + createdAt: + type: string + Page: + type: object + properties: + pageSize: + type: number + page: + type: number + totalRecords: + type: number + column: + type: string + before: + type: object + after: + type: object + sort: + type: array + description: '[]SortBy' + items: + $ref: '#/components/schemas/SortBy' + more: + type: boolean + SortBy: + type: object + required: + - column + - order + properties: + column: + type: string + order: + $ref: '#/components/schemas/SortOrder' + SardineNFTCheckoutParams: + type: object + required: + - name + - imageUrl + - network + - recipientAddress + - blockchainNftId + - contractAddress + - quantity + - tokenAmount + - tokenAddress + - tokenSymbol + - calldata + - platform + properties: + name: + type: string + imageUrl: + type: string + network: + type: string + recipientAddress: + type: string + blockchainNftId: + type: string + contractAddress: + type: string + quantity: + type: number + decimals: + type: number + tokenAmount: + type: string + tokenAddress: + type: string + tokenSymbol: + type: string + tokenDecimals: + type: number + calldata: + type: string + platform: + type: string + approvedSpenderAddress: + type: string + SardineNFTCheckout: + type: object + required: + - token + - expiresAt + - orderId + properties: + token: + type: string + expiresAt: + type: string + orderId: + type: string + SardineOrder: + type: object + required: + - id + - referenceId + - status + - fiatCurrency + - fiatExchangeRateUSD + - transactionId + - total + - subTotal + - transactionFee + - networkFee + - transactionType + - name + - price + - imageUrl + - recipientAddress + properties: + id: + type: string + createdAt: + type: string + referenceId: + type: string + status: + type: string + fiatCurrency: + type: string + fiatExchangeRateUSD: + type: number + transactionId: + type: string + expiresAt: + type: string + total: + type: number + subTotal: + type: number + transactionFee: + type: number + networkFee: + type: number + paymentCurrency: + type: string + paymentMethodType: + type: string + transactionType: + type: string + name: + type: string + price: + type: number + imageUrl: + type: string + contractAddress: + type: string + transactionHash: + type: string + recipientAddress: + type: string + SardineRegion: + type: object + required: + - countryCode + - isAllowedOnRamp + - isAllowedOnNFT + - isBasicKycRequired + - isSsnRequired + - name + - currencyCode + - isPayrollSupported + - supportedDocuments + - paymentMethods + - states + properties: + countryCode: + type: string + isAllowedOnRamp: + type: boolean + isAllowedOnNFT: + type: boolean + isBasicKycRequired: + type: array + description: '[]string' + items: + type: string + isSsnRequired: + type: array + description: '[]string' + items: + type: string + name: + type: string + currencyCode: + type: string + isPayrollSupported: + type: boolean + supportedDocuments: + type: array + description: '[]string' + items: + type: string + paymentMethods: + type: array + description: '[]SardineRegionPaymentMethod' + items: + $ref: '#/components/schemas/SardineRegionPaymentMethod' + states: + type: array + description: '[]SardineRegionState' + items: + $ref: '#/components/schemas/SardineRegionState' + SardineRegionPaymentMethod: + type: object + required: + - name + - isAllowedOnRamp + - isAllowedOnNFT + - subTypes + - type + - subType + properties: + name: + type: string + isAllowedOnRamp: + type: boolean + isAllowedOnNFT: + type: boolean + subTypes: + type: array + description: '[]string' + items: + type: string + type: + type: string + subType: + type: string + SardineRegionState: + type: object + required: + - code + - name + - isAllowedOnRamp + - isAllowedOnNFT + properties: + code: + type: string + name: + type: string + isAllowedOnRamp: + type: boolean + isAllowedOnNFT: + type: boolean + SardineSupportedToken: + type: object + required: + - network + - assetSymbol + - assetName + - chainId + - tokenName + - token + - tokenAddress + properties: + network: + type: string + assetSymbol: + type: string + assetName: + type: string + chainId: + type: string + tokenName: + type: string + token: + type: string + tokenAddress: + type: string + SardineSupportedTokenForSwap: + type: object + required: + - isSupported + - isSupportedForAbstraction + - currentBalance + properties: + isSupported: + type: boolean + isSupportedForAbstraction: + type: boolean + currentBalance: + type: string + SardineEnabledToken: + type: object + required: + - network + - assetSymbol + - assetName + - chainId + - tokenName + - token + - tokenAddress + properties: + network: + type: string + assetSymbol: + type: string + assetName: + type: string + chainId: + type: string + tokenName: + type: string + token: + type: string + tokenAddress: + type: string + SardineGetQuoteParams: + type: object + required: + - assetType + - network + - total + properties: + assetType: + type: string + network: + type: string + total: + type: number + currency: + type: string + paymentType: + $ref: '#/components/schemas/SardinePaymentType' + quoteType: + $ref: '#/components/schemas/SardineQuoteType' + walletAddress: + type: string + SardineQuote: + type: object + required: + - quantity + - network + - assetType + - total + - currency + - expiresAt + - paymentType + - price + - subtotal + - transactionFee + - networkFee + - highNetworkFee + - minTransactionValue + - maxTransactionValue + - liquidityProvider + properties: + quantity: + type: number + network: + type: string + assetType: + type: string + total: + type: number + currency: + type: string + expiresAt: + type: string + paymentType: + type: string + price: + type: number + subtotal: + type: number + transactionFee: + type: number + networkFee: + type: number + highNetworkFee: + type: boolean + minTransactionValue: + type: number + maxTransactionValue: + type: number + liquidityProvider: + type: string + SardineFiatCurrency: + type: object + required: + - currencyCode + - name + - currencySymbol + - paymentOptions + - supportingCountries + properties: + currencyCode: + type: string + name: + type: string + currencySymbol: + type: string + paymentOptions: + type: array + description: '[]SardinePaymentOption' + items: + $ref: '#/components/schemas/SardinePaymentOption' + supportingCountries: + type: array + description: '[]string' + items: + type: string + SardinePaymentOption: + type: object + required: + - name + - dailyLimit + - weeklyLimit + - monthlyLimit + - maxAmount + - minAmount + - subTypes + - type + - subType + - processingTime + properties: + name: + type: string + dailyLimit: + type: number + weeklyLimit: + type: number + monthlyLimit: + type: number + maxAmount: + type: number + minAmount: + type: number + subTypes: + type: array + description: '[]string' + items: + type: string + type: + type: string + subType: + type: string + processingTime: + type: string + SwapPermit2Price: + type: object + required: + - currencyAddress + - currencyBalance + - price + - maxPrice + - transactionValue + properties: + currencyAddress: + type: string + currencyBalance: + type: string + price: + type: string + maxPrice: + type: string + transactionValue: + type: string + SwapPermit2Quote: + type: object + required: + - currencyAddress + - currencyBalance + - price + - maxPrice + - to + - transactionData + - transactionValue + - approveData + properties: + currencyAddress: + type: string + currencyBalance: + type: string + price: + type: string + maxPrice: + type: string + to: + type: string + transactionData: + type: string + transactionValue: + type: string + approveData: + type: string + SwapPrice: + type: object + required: + - currencyAddress + - currencyBalance + - price + - maxPrice + - transactionValue + properties: + currencyAddress: + type: string + currencyBalance: + type: string + price: + type: string + maxPrice: + type: string + transactionValue: + type: string + SwapQuote: + type: object + required: + - currencyAddress + - currencyBalance + - price + - maxPrice + - to + - transactionData + - transactionValue + - approveData + properties: + currencyAddress: + type: string + currencyBalance: + type: string + price: + type: string + maxPrice: + type: string + to: + type: string + transactionData: + type: string + transactionValue: + type: string + approveData: + type: string + CurrencyGroup: + type: object + required: + - name + - tokens + properties: + name: + type: string + tokens: + type: array + description: '[]CurrencyGroupToken' + items: + $ref: '#/components/schemas/CurrencyGroupToken' + CurrencyGroupToken: + type: object + required: + - chainId + - tokenAddress + properties: + chainId: + type: number + tokenAddress: + type: string + OffchainInventory: + type: object + required: + - id + - projectId + - chainId + - externalProductId + - paymentTokenAddress + - paymentTokenType + - paymentTokenId + - paymentAmount + - paymentRecipient + - createdAt + properties: + id: + type: number + projectId: + type: number + chainId: + type: number + externalProductId: + type: string + paymentTokenAddress: + type: string + paymentTokenType: + $ref: '#/components/schemas/TokenType' + paymentTokenId: + type: number + paymentAmount: + type: number + paymentRecipient: + type: string + chainedCallAddress: + type: string + chainedCallData: + type: string + allowCrossChainPayments: + type: boolean + callbackURL: + type: string + createdAt: + type: string + deletedAt: + type: string + OffchainPayment: + type: object + required: + - id + - offchainInventoryId + - productRecipient + - paymentChainId + - paymentTokenAddress + - expiration + - createdAt + properties: + id: + type: number + offchainInventoryId: + type: number + productRecipient: + type: string + paymentChainId: + type: number + paymentTokenAddress: + type: string + expiration: + type: string + createdAt: + type: string + completedAt: + type: string + processedAt: + type: string + PaymentResponse: + type: object + required: + - paymentId + - offchainInventoryId + - chainId + - externalProductId + - paymentTokenAddress + - paymentTokenType + - paymentTokenId + - paymentTotal + - expiration + - signature + - txTo + - txData + properties: + paymentId: + type: number + offchainInventoryId: + type: number + chainId: + type: number + externalProductId: + type: string + paymentTokenAddress: + type: string + paymentTokenType: + $ref: '#/components/schemas/TokenType' + paymentTokenId: + type: number + paymentTotal: + type: number + expiration: + type: string + signature: + type: string + txTo: + type: string + txData: + type: string + AdoptedChildWallet: + type: object + required: + - address + properties: + address: + type: string + Pack: + type: object + required: + - id + - chainId + - projectId + - contractAddress + - content + properties: + id: + type: number + chainId: + type: number + projectId: + type: number + contractAddress: + type: string + content: + type: array + description: '[]PackContent' + items: + $ref: '#/components/schemas/PackContent' + createdAt: + type: string + PackContent: + type: object + required: + - tokenAddresses + - tokenIds + - amounts + properties: + tokenAddresses: + type: array + description: '[]string' + items: + type: string + tokenIds: + type: array + description: '[][]string' + items: + type: array + description: '[]string' + items: + type: string + amounts: + type: array + description: '[][]string' + items: + type: array + description: '[]string' + items: + type: string + TransakCountry: + type: object + required: + - alpha2 + - alpha3 + - isAllowed + - isLightKycAllowed + - name + - currencyCode + - supportedDocuments + - partners + - states + properties: + alpha2: + type: string + alpha3: + type: string + isAllowed: + type: boolean + isLightKycAllowed: + type: boolean + name: + type: string + currencyCode: + type: string + supportedDocuments: + type: array + description: '[]string' + items: + type: string + partners: + type: array + description: '[]TransakPartner' + items: + $ref: '#/components/schemas/TransakPartner' + states: + type: array + description: '[]TransakState' + items: + $ref: '#/components/schemas/TransakState' + TransakPartner: + type: object + required: + - name + - isCardPayment + - currencyCode + properties: + name: + type: string + isCardPayment: + type: boolean + currencyCode: + type: string + TransakState: + type: object + required: + - code + - name + - isAllowed + properties: + code: + type: string + name: + type: string + isAllowed: + type: boolean + TransakCryptoCurrency: + type: object + required: + - id + - coinID + - address + - addressAdditionalData + - createdAt + - decimals + - image + - isAllowed + - isPopular + - isStable + - name + - roundOff + - symbol + - isIgnorePriceVerification + - imageBk + - kycCountriesNotSupported + - network + - uniqueID + - tokenType + - tokenIdentifier + - isPayInAllowed + - isSuspended + properties: + id: + type: string + coinID: + type: string + address: + type: string + addressAdditionalData: + type: object + createdAt: + type: string + decimals: + type: number + image: + $ref: '#/components/schemas/TransakCryptoCurrencyImage' + isAllowed: + type: boolean + isPopular: + type: boolean + isStable: + type: boolean + name: + type: string + roundOff: + type: number + symbol: + type: string + isIgnorePriceVerification: + type: boolean + imageBk: + $ref: '#/components/schemas/TransakCryptoCurrencyImage' + kycCountriesNotSupported: + type: array + description: '[]string' + items: + type: string + network: + $ref: '#/components/schemas/TransakCryptoCurrencyNetwork' + uniqueID: + type: string + tokenType: + type: string + tokenIdentifier: + type: string + isPayInAllowed: + type: boolean + isSuspended: + type: boolean + TransakCryptoCurrencyImage: + type: object + required: + - large + - small + - thumb + properties: + large: + type: string + small: + type: string + thumb: + type: string + TransakCryptoCurrencyNetwork: + type: object + required: + - name + - fiatCurrenciesNotSupported + - chainID + properties: + name: + type: string + fiatCurrenciesNotSupported: + type: array + description: '[]any' + items: + type: object + chainID: + type: string + TransakCryptoCurrencyNetworkFiatNotSupported: + type: object + required: + - fiatCurrency + - paymentMethod + properties: + fiatCurrency: + type: string + paymentMethod: + type: string + TransakFiatCurrency: + type: object + required: + - symbol + - supportingCountries + - logoSymbol + - name + - paymentOptions + - isPopular + - isAllowed + - roundOff + - isPayOutAllowed + - defaultCountryForNFT + - icon + - displayMessage + properties: + symbol: + type: string + supportingCountries: + type: array + description: '[]string' + items: + type: string + logoSymbol: + type: string + name: + type: string + paymentOptions: + type: array + description: '[]TransakFiatCurrencyPaymentOption' + items: + $ref: '#/components/schemas/TransakFiatCurrencyPaymentOption' + isPopular: + type: boolean + isAllowed: + type: boolean + roundOff: + type: number + isPayOutAllowed: + type: boolean + defaultCountryForNFT: + type: string + icon: + type: string + displayMessage: + type: string + TransakFiatCurrencyPaymentOption: + type: object + required: + - name + - id + - isNftAllowed + - isNonCustodial + - processingTime + - displayText + - icon + - limitCurrency + - isActive + - provider + - maxAmount + - minAmount + - defaultAmount + - isConverted + - visaPayoutCountries + - mastercardPayoutCountries + - isPayOutAllowed + - minAmountForPayOut + - maxAmountForPayOut + - defaultAmountForPayOut + properties: + name: + type: string + id: + type: string + isNftAllowed: + type: boolean + isNonCustodial: + type: boolean + processingTime: + type: string + displayText: + type: boolean + icon: + type: string + limitCurrency: + type: string + isActive: + type: boolean + provider: + type: string + maxAmount: + type: number + minAmount: + type: number + defaultAmount: + type: number + isConverted: + type: boolean + visaPayoutCountries: + type: array + description: '[]string' + items: + type: string + mastercardPayoutCountries: + type: array + description: '[]string' + items: + type: string + isPayOutAllowed: + type: boolean + minAmountForPayOut: + type: number + maxAmountForPayOut: + type: number + defaultAmountForPayOut: + type: number + TransakPrice: + type: object + required: + - quoteID + - conversionPrice + - marketConversionPrice + - slippage + - fiatCurrency + - cryptoCurrency + - paymentMethod + - fiatAmount + - cryptoAmount + - isBuyOrSell + - network + - feeDecimal + - totalFee + - feeBreakdown + - nonce + - cryptoLiquidityProvider + - notes + properties: + quoteID: + type: string + conversionPrice: + type: number + marketConversionPrice: + type: number + slippage: + type: number + fiatCurrency: + type: string + cryptoCurrency: + type: string + paymentMethod: + type: string + fiatAmount: + type: number + cryptoAmount: + type: number + isBuyOrSell: + type: string + network: + type: string + feeDecimal: + type: number + totalFee: + type: number + feeBreakdown: + type: array + description: '[]TransakPriceFeeBreakdown' + items: + $ref: '#/components/schemas/TransakPriceFeeBreakdown' + nonce: + type: number + cryptoLiquidityProvider: + type: string + notes: + type: array + description: '[]any' + items: + type: object + TransakPriceFeeBreakdown: + type: object + required: + - Name + - Value + - ID + - Ids + properties: + Name: + type: string + Value: + type: number + ID: + type: string + Ids: + type: array + description: '[]string' + items: + type: string + TransakGetPriceParams: + type: object + required: + - fiatCurrency + - cryptoCurrency + - isBuyOrSell + - network + - paymentMethod + - fiatAmount + - cryptoAmount + - quoteCountryCode + properties: + fiatCurrency: + type: string + cryptoCurrency: + type: string + isBuyOrSell: + $ref: '#/components/schemas/TransakBuySell' + network: + type: string + paymentMethod: + type: string + fiatAmount: + type: number + cryptoAmount: + type: number + quoteCountryCode: + type: string + TransakChain: + type: object + required: + - name + - chainId + properties: + name: + type: string + chainId: + type: number + API_IsValidSignature_Request: + type: object + properties: + chainId: + type: string + walletAddress: + type: string + digest: + type: string + signature: + type: string + API_IsValidMessageSignature_Request: + type: object + properties: + chainId: + type: string + walletAddress: + type: string + message: + type: string + signature: + type: string + API_IsValidTypedDataSignature_Request: + type: object + properties: + chainId: + type: string + walletAddress: + type: string + typedData: + type: object + signature: + type: string + API_IsValidETHAuthProof_Request: + type: object + properties: + chainId: + type: string + walletAddress: + type: string + ethAuthProofString: + type: string + API_LinkWallet_Request: + type: object + properties: + parentWalletAddress: + type: string + parentWalletMessage: + type: string + parentWalletSignature: + type: string + linkedWalletAddress: + type: string + linkedWalletMessage: + type: string + linkedWalletSignature: + type: string + signatureChainId: + type: string + linkedWalletType: + type: string + API_GetLinkedWallets_Request: + type: object + properties: + parentWalletAddress: + type: string + parentWalletMessage: + type: string + parentWalletSignature: + type: string + signatureChainId: + type: string + API_RemoveLinkedWallet_Request: + type: object + properties: + parentWalletAddress: + type: string + parentWalletMessage: + type: string + parentWalletSignature: + type: string + linkedWalletAddress: + type: string + signatureChainId: + type: string + API_GetSwapPermit2Price_Request: + type: object + properties: + buyCurrencyAddress: + type: string + sellCurrencyAddress: + type: string + buyAmount: + type: string + chainId: + type: number + slippagePercentage: + type: number + API_GetSwapPermit2Prices_Request: + type: object + properties: + userAddress: + type: string + buyCurrencyAddress: + type: string + buyAmount: + type: string + chainId: + type: number + slippagePercentage: + type: number + API_GetSwapPermit2Quote_Request: + type: object + properties: + userAddress: + type: string + buyCurrencyAddress: + type: string + sellCurrencyAddress: + type: string + buyAmount: + type: string + chainId: + type: number + includeApprove: + type: boolean + slippagePercentage: + type: number + API_GetSwapPrice_Request: + type: object + properties: + buyCurrencyAddress: + type: string + sellCurrencyAddress: + type: string + buyAmount: + type: string + chainId: + type: number + slippagePercentage: + type: number + API_GetSwapPrices_Request: + type: object + properties: + userAddress: + type: string + buyCurrencyAddress: + type: string + buyAmount: + type: string + chainId: + type: number + slippagePercentage: + type: number + API_GetSwapQuote_Request: + type: object + properties: + userAddress: + type: string + buyCurrencyAddress: + type: string + sellCurrencyAddress: + type: string + buyAmount: + type: string + chainId: + type: number + includeApprove: + type: boolean + slippagePercentage: + type: number + API_GetSwapQuoteV2_Request: + type: object + properties: + userAddress: + type: string + buyCurrencyAddress: + type: string + sellCurrencyAddress: + type: string + buyAmount: + type: string + chainId: + type: number + includeApprove: + type: boolean + slippagePercentage: + type: number + API_GetLifiChains_Request: + type: object + API_GetLifiTokens_Request: + type: object + properties: + chainIds: + type: array + description: '[]uint64' + items: + type: number + API_IsValidSignature_Response: + type: object + properties: + isValid: + type: boolean + API_IsValidMessageSignature_Response: + type: object + properties: + isValid: + type: boolean + API_IsValidTypedDataSignature_Response: + type: object + properties: + isValid: + type: boolean + API_IsValidETHAuthProof_Response: + type: object + properties: + isValid: + type: boolean + API_LinkWallet_Response: + type: object + properties: + status: + type: boolean + API_GetLinkedWallets_Response: + type: object + properties: + linkedWallets: + type: array + description: '[]LinkedWallet' + items: + $ref: '#/components/schemas/LinkedWallet' + API_RemoveLinkedWallet_Response: + type: object + properties: + status: + type: boolean + API_GetSwapPermit2Price_Response: + type: object + properties: + swapPermit2Price: + $ref: '#/components/schemas/SwapPermit2Price' + API_GetSwapPermit2Prices_Response: + type: object + properties: + swapPermit2Prices: + type: array + description: '[]SwapPermit2Price' + items: + $ref: '#/components/schemas/SwapPermit2Price' + API_GetSwapPermit2Quote_Response: + type: object + properties: + swapPermit2Quote: + $ref: '#/components/schemas/SwapPermit2Quote' + API_GetSwapPrice_Response: + type: object + properties: + swapPrice: + $ref: '#/components/schemas/SwapPrice' + API_GetSwapPrices_Response: + type: object + properties: + swapPrices: + type: array + description: '[]SwapPrice' + items: + $ref: '#/components/schemas/SwapPrice' + API_GetSwapQuote_Response: + type: object + properties: + swapQuote: + $ref: '#/components/schemas/SwapQuote' + API_GetSwapQuoteV2_Response: + type: object + properties: + swapQuote: + $ref: '#/components/schemas/SwapQuote' + API_GetLifiChains_Response: + type: object + properties: + chains: + type: array + description: '[]uint64' + items: + type: number + API_GetLifiTokens_Response: + type: object + properties: + tokens: + type: array + description: '[]Token' + items: + $ref: '#/components/schemas/Token' +paths: + /rpc/API/IsValidSignature: + post: + tags: ["API"] + summary: "TODO: we can add walletContext optional in the future when we need it" + description: | + NOTE: chainId can be either a number or canonical name + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_IsValidSignature_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_IsValidSignature_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/IsValidMessageSignature: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_IsValidMessageSignature_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_IsValidMessageSignature_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/IsValidTypedDataSignature: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_IsValidTypedDataSignature_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_IsValidTypedDataSignature_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/IsValidETHAuthProof: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_IsValidETHAuthProof_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_IsValidETHAuthProof_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/LinkWallet: + post: + tags: ["API"] + summary: "" + description: | + Linked wallets (v0 -- simple support) + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_LinkWallet_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_LinkWallet_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetLinkedWallets: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetLinkedWallets_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetLinkedWallets_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/RemoveLinkedWallet: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_RemoveLinkedWallet_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_RemoveLinkedWallet_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetSwapPermit2Price: + post: + tags: ["API"] + summary: "" + description: | + Currency abstraction + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapPermit2Price_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapPermit2Price_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetSwapPermit2Prices: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapPermit2Prices_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapPermit2Prices_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetSwapPermit2Quote: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapPermit2Quote_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapPermit2Quote_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetSwapPrice: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapPrice_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapPrice_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetSwapPrices: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapPrices_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapPrices_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetSwapQuote: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapQuote_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapQuote_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetSwapQuoteV2: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapQuoteV2_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetSwapQuoteV2_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetLifiChains: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetLifiChains_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetLifiChains_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetLifiTokens: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetLifiTokens_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetLifiTokens_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' From feb6f8140b363540a411e0891b00b21be7e00bd2 Mon Sep 17 00:00:00 2001 From: taylanpince <12650+taylanpince@users.noreply.github.com> Date: Mon, 21 Apr 2025 13:03:41 +0000 Subject: [PATCH 02/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 40 +++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index b751f85f..79b0ad4a 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 41bad73b43784be3b15b6b47dc632c4484669ba4 +# sequence-api v0.4.0 32605a4c16cb4db0c0c2dcc0a6c319830539af0e # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -1788,6 +1788,40 @@ components: type: string approveData: type: string + SwapQuoteV2: + type: object + required: + - currencyAddress + - currencyBalance + - price + - maxPrice + - to + - transactionData + - transactionValue + - approveData + - amount + - amountMin + properties: + currencyAddress: + type: string + currencyBalance: + type: string + price: + type: string + maxPrice: + type: string + to: + type: string + transactionData: + type: string + transactionValue: + type: string + approveData: + type: string + amount: + type: string + amountMin: + type: string CurrencyGroup: type: object required: @@ -2577,6 +2611,8 @@ components: type: string buyAmount: type: string + sellAmount: + type: string chainId: type: number includeApprove: @@ -2671,7 +2707,7 @@ components: type: object properties: swapQuote: - $ref: '#/components/schemas/SwapQuote' + $ref: '#/components/schemas/SwapQuoteV2' API_GetLifiChains_Response: type: object properties: From 98c58388ee916ccd11af29922eb17408559822e1 Mon Sep 17 00:00:00 2001 From: taylanpince <12650+taylanpince@users.noreply.github.com> Date: Fri, 25 Apr 2025 07:57:36 +0000 Subject: [PATCH 03/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 616 ++++---------------------------- 1 file changed, 75 insertions(+), 541 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 79b0ad4a..08939774 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 32605a4c16cb4db0c0c2dcc0a6c319830539af0e +# sequence-api v0.4.0 ea5f935084c6c8c9852049f80e752b3a216b6032 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -1694,101 +1694,57 @@ components: type: string processingTime: type: string - SwapPermit2Price: + LifiToken: type: object required: - - currencyAddress - - currencyBalance - - price - - maxPrice - - transactionValue - properties: - currencyAddress: - type: string - currencyBalance: - type: string - price: - type: string - maxPrice: - type: string - transactionValue: - type: string - SwapPermit2Quote: - type: object - required: - - currencyAddress - - currencyBalance - - price - - maxPrice - - to - - transactionData - - transactionValue - - approveData + - chainId + - address + - symbol + - name + - decimals + - priceUsd + - coinKey + - logoUri properties: - currencyAddress: - type: string - currencyBalance: - type: string - price: - type: string - maxPrice: - type: string - to: - type: string - transactionData: - type: string - transactionValue: - type: string - approveData: + chainId: + type: number + address: type: string - SwapPrice: - type: object - required: - - currencyAddress - - currencyBalance - - price - - maxPrice - - transactionValue - properties: - currencyAddress: + symbol: type: string - currencyBalance: + name: type: string - price: + decimals: + type: number + priceUsd: type: string - maxPrice: + coinKey: type: string - transactionValue: + logoUri: type: string - SwapQuote: + LifiSwapRoute: type: object required: - - currencyAddress - - currencyBalance - - price - - maxPrice - - to - - transactionData - - transactionValue - - approveData + - fromChainId + - toChainId + - fromTokens + - toTokens properties: - currencyAddress: - type: string - currencyBalance: - type: string - price: - type: string - maxPrice: - type: string - to: - type: string - transactionData: - type: string - transactionValue: - type: string - approveData: - type: string - SwapQuoteV2: + fromChainId: + type: number + toChainId: + type: number + fromTokens: + type: array + description: '[]LifiToken' + items: + $ref: '#/components/schemas/LifiToken' + toTokens: + type: array + description: '[]LifiToken' + items: + $ref: '#/components/schemas/LifiToken' + LifiSwapQuote: type: object required: - currencyAddress @@ -2514,93 +2470,24 @@ components: type: string signatureChainId: type: string - API_GetSwapPermit2Price_Request: - type: object - properties: - buyCurrencyAddress: - type: string - sellCurrencyAddress: - type: string - buyAmount: - type: string - chainId: - type: number - slippagePercentage: - type: number - API_GetSwapPermit2Prices_Request: - type: object - properties: - userAddress: - type: string - buyCurrencyAddress: - type: string - buyAmount: - type: string - chainId: - type: number - slippagePercentage: - type: number - API_GetSwapPermit2Quote_Request: + API_GetLifiChains_Request: type: object - properties: - userAddress: - type: string - buyCurrencyAddress: - type: string - sellCurrencyAddress: - type: string - buyAmount: - type: string - chainId: - type: number - includeApprove: - type: boolean - slippagePercentage: - type: number - API_GetSwapPrice_Request: + API_GetLifiTokens_Request: type: object properties: - buyCurrencyAddress: - type: string - sellCurrencyAddress: - type: string - buyAmount: - type: string - chainId: - type: number - slippagePercentage: - type: number - API_GetSwapPrices_Request: + chainIds: + type: array + description: '[]uint64' + items: + type: number + API_GetLifiSwapRoutes_Request: type: object properties: - userAddress: - type: string - buyCurrencyAddress: - type: string - buyAmount: - type: string chainId: type: number - slippagePercentage: - type: number - API_GetSwapQuote_Request: - type: object - properties: - userAddress: - type: string - buyCurrencyAddress: - type: string - sellCurrencyAddress: - type: string - buyAmount: + toTokenAddress: type: string - chainId: - type: number - includeApprove: - type: boolean - slippagePercentage: - type: number - API_GetSwapQuoteV2_Request: + API_GetLifiSwapQuote_Request: type: object properties: userAddress: @@ -2619,16 +2506,6 @@ components: type: boolean slippagePercentage: type: number - API_GetLifiChains_Request: - type: object - API_GetLifiTokens_Request: - type: object - properties: - chainIds: - type: array - description: '[]uint64' - items: - type: number API_IsValidSignature_Response: type: object properties: @@ -2667,47 +2544,6 @@ components: properties: status: type: boolean - API_GetSwapPermit2Price_Response: - type: object - properties: - swapPermit2Price: - $ref: '#/components/schemas/SwapPermit2Price' - API_GetSwapPermit2Prices_Response: - type: object - properties: - swapPermit2Prices: - type: array - description: '[]SwapPermit2Price' - items: - $ref: '#/components/schemas/SwapPermit2Price' - API_GetSwapPermit2Quote_Response: - type: object - properties: - swapPermit2Quote: - $ref: '#/components/schemas/SwapPermit2Quote' - API_GetSwapPrice_Response: - type: object - properties: - swapPrice: - $ref: '#/components/schemas/SwapPrice' - API_GetSwapPrices_Response: - type: object - properties: - swapPrices: - type: array - description: '[]SwapPrice' - items: - $ref: '#/components/schemas/SwapPrice' - API_GetSwapQuote_Response: - type: object - properties: - swapQuote: - $ref: '#/components/schemas/SwapQuote' - API_GetSwapQuoteV2_Response: - type: object - properties: - swapQuote: - $ref: '#/components/schemas/SwapQuoteV2' API_GetLifiChains_Response: type: object properties: @@ -2724,6 +2560,19 @@ components: description: '[]Token' items: $ref: '#/components/schemas/Token' + API_GetLifiSwapRoutes_Response: + type: object + properties: + routes: + type: array + description: '[]LifiSwapRoute' + items: + $ref: '#/components/schemas/LifiSwapRoute' + API_GetLifiSwapQuote_Response: + type: object + properties: + quote: + $ref: '#/components/schemas/LifiSwapQuote' paths: /rpc/API/IsValidSignature: post: @@ -3170,7 +3019,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetSwapPermit2Price: + /rpc/API/GetLifiChains: post: tags: ["API"] summary: "" @@ -3180,14 +3029,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/API_GetSwapPermit2Price_Request' + $ref: '#/components/schemas/API_GetLifiChains_Request' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/API_GetSwapPermit2Price_Response' + $ref: '#/components/schemas/API_GetLifiChains_Response' '4XX': description: Client error content: @@ -3235,7 +3084,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetSwapPermit2Prices: + /rpc/API/GetLifiTokens: post: tags: ["API"] summary: "" @@ -3243,14 +3092,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/API_GetSwapPermit2Prices_Request' + $ref: '#/components/schemas/API_GetLifiTokens_Request' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/API_GetSwapPermit2Prices_Response' + $ref: '#/components/schemas/API_GetLifiTokens_Response' '4XX': description: Client error content: @@ -3298,7 +3147,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetSwapPermit2Quote: + /rpc/API/GetLifiSwapRoutes: post: tags: ["API"] summary: "" @@ -3306,14 +3155,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/API_GetSwapPermit2Quote_Request' + $ref: '#/components/schemas/API_GetLifiSwapRoutes_Request' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/API_GetSwapPermit2Quote_Response' + $ref: '#/components/schemas/API_GetLifiSwapRoutes_Response' '4XX': description: Client error content: @@ -3361,7 +3210,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetSwapPrice: + /rpc/API/GetLifiSwapQuote: post: tags: ["API"] summary: "" @@ -3369,329 +3218,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/API_GetSwapPrice_Request' + $ref: '#/components/schemas/API_GetLifiSwapQuote_Request' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/API_GetSwapPrice_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetSwapPrices: - post: - tags: ["API"] - summary: "" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetSwapPrices_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetSwapPrices_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetSwapQuote: - post: - tags: ["API"] - summary: "" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetSwapQuote_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetSwapQuote_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetSwapQuoteV2: - post: - tags: ["API"] - summary: "" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetSwapQuoteV2_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetSwapQuoteV2_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetLifiChains: - post: - tags: ["API"] - summary: "" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetLifiChains_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetLifiChains_Response' - '4XX': - description: Client error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcEndpoint' - - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' - - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' - - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - - $ref: '#/components/schemas/ErrorUnauthorized' - - $ref: '#/components/schemas/ErrorPermissionDenied' - - $ref: '#/components/schemas/ErrorSessionExpired' - - $ref: '#/components/schemas/ErrorMethodNotFound' - - $ref: '#/components/schemas/ErrorRequestConflict' - - $ref: '#/components/schemas/ErrorAborted' - - $ref: '#/components/schemas/ErrorGeoblocked' - - $ref: '#/components/schemas/ErrorRateLimited' - - $ref: '#/components/schemas/ErrorProjectNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyNotFound' - - $ref: '#/components/schemas/ErrorAccessKeyMismatch' - - $ref: '#/components/schemas/ErrorInvalidOrigin' - - $ref: '#/components/schemas/ErrorInvalidService' - - $ref: '#/components/schemas/ErrorUnauthorizedUser' - - $ref: '#/components/schemas/ErrorQuotaExceeded' - - $ref: '#/components/schemas/ErrorQuotaRateLimit' - - $ref: '#/components/schemas/ErrorNoDefaultKey' - - $ref: '#/components/schemas/ErrorMaxAccessKeys' - - $ref: '#/components/schemas/ErrorAtLeastOneKey' - - $ref: '#/components/schemas/ErrorTimeout' - - $ref: '#/components/schemas/ErrorInvalidArgument' - - $ref: '#/components/schemas/ErrorUnavailable' - - $ref: '#/components/schemas/ErrorQueryFailed' - - $ref: '#/components/schemas/ErrorNotFound' - - $ref: '#/components/schemas/ErrorUnsupportedNetwork' - '5XX': - description: Server error - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - - $ref: '#/components/schemas/ErrorWebrpcInternalError' - /rpc/API/GetLifiTokens: - post: - tags: ["API"] - summary: "" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetLifiTokens_Request' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/API_GetLifiTokens_Response' + $ref: '#/components/schemas/API_GetLifiSwapQuote_Response' '4XX': description: Client error content: From a652952a8808f381156e54922dc8c95ecf30bf5e Mon Sep 17 00:00:00 2001 From: taylanpince <12650+taylanpince@users.noreply.github.com> Date: Mon, 28 Apr 2025 09:03:42 +0000 Subject: [PATCH 04/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 48 +++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 17 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 08939774..1733d49d 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 ea5f935084c6c8c9852049f80e752b3a216b6032 +# sequence-api v0.4.0 7c417993003ad9db6c6663ecdced295ce553f5cc # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -1744,6 +1744,34 @@ components: description: '[]LifiToken' items: $ref: '#/components/schemas/LifiToken' + GetLifiSwapQuoteParams: + type: object + required: + - chainId + - walletAddress + - fromTokenAddress + - toTokenAddress + - fromTokenAmount + - toTokenAmount + - includeApprove + - slippageBps + properties: + chainId: + type: number + walletAddress: + type: string + fromTokenAddress: + type: string + toTokenAddress: + type: string + fromTokenAmount: + type: string + toTokenAmount: + type: string + includeApprove: + type: boolean + slippageBps: + type: number LifiSwapQuote: type: object required: @@ -2490,22 +2518,8 @@ components: API_GetLifiSwapQuote_Request: type: object properties: - userAddress: - type: string - buyCurrencyAddress: - type: string - sellCurrencyAddress: - type: string - buyAmount: - type: string - sellAmount: - type: string - chainId: - type: number - includeApprove: - type: boolean - slippagePercentage: - type: number + params: + $ref: '#/components/schemas/GetLifiSwapQuoteParams' API_IsValidSignature_Response: type: object properties: From ee09916e9f2523de7234e1c493ccecca10639acd Mon Sep 17 00:00:00 2001 From: david-littlefarmer <17728576+david-littlefarmer@users.noreply.github.com> Date: Tue, 29 Apr 2025 13:18:13 +0000 Subject: [PATCH 05/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 1733d49d..e48c7214 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 7c417993003ad9db6c6663ecdced295ce553f5cc +# sequence-api v0.4.0 02eb143212dbe1ff30a8c31da3b8878822fd4664 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -1751,8 +1751,6 @@ components: - walletAddress - fromTokenAddress - toTokenAddress - - fromTokenAmount - - toTokenAmount - includeApprove - slippageBps properties: From 07cb6a3e9bf97c6ec3d6963cb84008553a0b281c Mon Sep 17 00:00:00 2001 From: david-littlefarmer <17728576+david-littlefarmer@users.noreply.github.com> Date: Tue, 29 Apr 2025 13:32:31 +0000 Subject: [PATCH 06/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 73 ++++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index e48c7214..f1375d86 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 02eb143212dbe1ff30a8c31da3b8878822fd4664 +# sequence-api v0.4.0 eef43d6589a237ffd7a69fd2fdb1b21bfa6f0177 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -841,6 +841,33 @@ components: - UNKNOWN - BUY - SELL + CheckoutOptionCrypto: + type: string + description: Represented as uint32 on the server side + enum: + - none + - partially + - all + CheckoutOptionNFTCheckoutProvider: + type: string + description: Represented as uint32 on the server side + enum: + - unknown + - sardine + - transak + CheckoutOptionOnRampProvider: + type: string + description: Represented as uint32 on the server side + enum: + - unknown + - sardine + - transak + CheckoutOptionSwapProvider: + type: string + description: Represented as uint32 on the server side + enum: + - unknown + - lifi Version: type: object required: @@ -2411,6 +2438,50 @@ components: type: string chainId: type: number + SecondaryCheckoutOptionsParams: + type: object + required: + - collectionAddress + - marketplaceAddress + - currencyAddress + - priceAmount + - tokenId + properties: + collectionAddress: + type: string + marketplaceAddress: + type: string + currencyAddress: + type: string + priceAmount: + type: string + tokenId: + type: string + CheckoutOptions: + type: object + required: + - crypto + - swap + - nftCheckout + - onRamp + properties: + crypto: + $ref: '#/components/schemas/CheckoutOptionCrypto' + swap: + type: array + description: '[]CheckoutOptionSwapProvider' + items: + $ref: '#/components/schemas/CheckoutOptionSwapProvider' + nftCheckout: + type: array + description: '[]CheckoutOptionNFTCheckoutProvider' + items: + $ref: '#/components/schemas/CheckoutOptionNFTCheckoutProvider' + onRamp: + type: array + description: '[]CheckoutOptionOnRampProvider' + items: + $ref: '#/components/schemas/CheckoutOptionOnRampProvider' API_IsValidSignature_Request: type: object properties: From d9e02be2865f17039f4e247d22cea72f35b03ba6 Mon Sep 17 00:00:00 2001 From: david-littlefarmer <17728576+david-littlefarmer@users.noreply.github.com> Date: Wed, 30 Apr 2025 09:34:02 +0000 Subject: [PATCH 07/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index f1375d86..f259d9dc 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 eef43d6589a237ffd7a69fd2fdb1b21bfa6f0177 +# sequence-api v0.4.0 b5065d99fec9c2284e4a1e95770f79987f52cf4f # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -1744,7 +1744,7 @@ components: decimals: type: number priceUsd: - type: string + type: number coinKey: type: string logoUri: @@ -2584,6 +2584,8 @@ components: type: number toTokenAddress: type: string + walletAddress: + type: string API_GetLifiSwapQuote_Request: type: object properties: From c66dbf3e85a3cd13d0fb90bcfa6de08b96f24da3 Mon Sep 17 00:00:00 2001 From: taylanpince <12650+taylanpince@users.noreply.github.com> Date: Wed, 30 Apr 2025 12:35:21 +0000 Subject: [PATCH 08/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index f259d9dc..1393f00e 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 b5065d99fec9c2284e4a1e95770f79987f52cf4f +# sequence-api v0.4.0 e39251a72e6ce1712b3b13eccfb4b0b1bccef3c7 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -1745,6 +1745,8 @@ components: type: number priceUsd: type: number + price: + type: string coinKey: type: string logoUri: @@ -2584,6 +2586,8 @@ components: type: number toTokenAddress: type: string + toTokenAmount: + type: string walletAddress: type: string API_GetLifiSwapQuote_Request: From 25c5a795162bb53937eabeb8945c8ea3da2de9af Mon Sep 17 00:00:00 2001 From: david-littlefarmer <17728576+david-littlefarmer@users.noreply.github.com> Date: Thu, 1 May 2025 12:21:23 +0000 Subject: [PATCH 09/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 1393f00e..efee19cd 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 e39251a72e6ce1712b3b13eccfb4b0b1bccef3c7 +# sequence-api v0.4.0 f6cda8c5a138f42fc73f91a8dbfaa1dc55eaf72f # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -2440,7 +2440,17 @@ components: type: string chainId: type: number - SecondaryCheckoutOptionsParams: + CheckoutOptionsPrimaryParams: + type: object + required: + - quantity + - tokenId + properties: + quantity: + type: string + tokenId: + type: string + CheckoutOptionsSecondaryParams: type: object required: - collectionAddress From 060135bc0b243267344c9c6a979eae18ec720439 Mon Sep 17 00:00:00 2001 From: taylanpince <12650+taylanpince@users.noreply.github.com> Date: Wed, 7 May 2025 08:56:47 +0000 Subject: [PATCH 10/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index efee19cd..2a93b93b 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 f6cda8c5a138f42fc73f91a8dbfaa1dc55eaf72f +# sequence-api v0.4.0 500d1a85196c9349b877d8b94877c0cf9f0176e8 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # From c028b3e57331bf6ae7338c653de66286105e144d Mon Sep 17 00:00:00 2001 From: nachopiris <66640666+nachopiris@users.noreply.github.com> Date: Mon, 7 Jul 2025 22:21:35 +0000 Subject: [PATCH 11/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 2a93b93b..9090a658 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 500d1a85196c9349b877d8b94877c0cf9f0176e8 +# sequence-api v0.4.0 3c839236e45fcfcb22a0309d0a5b12b0f43bb377 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -1983,6 +1983,7 @@ components: - chainId - projectId - contractAddress + - packId - content properties: id: @@ -1993,6 +1994,8 @@ components: type: number contractAddress: type: string + packId: + type: string content: type: array description: '[]PackContent' @@ -2004,6 +2007,7 @@ components: type: object required: - tokenAddresses + - isERC721 - tokenIds - amounts properties: @@ -2012,6 +2016,11 @@ components: description: '[]string' items: type: string + isERC721: + type: array + description: '[]bool' + items: + type: boolean tokenIds: type: array description: '[][]string' From aab61d1685a443ed2a76bae18451013cfceca0db Mon Sep 17 00:00:00 2001 From: david-littlefarmer <17728576+david-littlefarmer@users.noreply.github.com> Date: Mon, 14 Jul 2025 15:39:10 +0000 Subject: [PATCH 12/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 174 +++++++++++++++++++++++++++++++- 1 file changed, 171 insertions(+), 3 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 9090a658..13df7c43 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 3c839236e45fcfcb22a0309d0a5b12b0f43bb377 +# sequence-api v0.4.0 6aa48894cfc5520348ee50b7cf3061dce1f326d2 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -2503,6 +2503,176 @@ components: description: '[]CheckoutOptionOnRampProvider' items: $ref: '#/components/schemas/CheckoutOptionOnRampProvider' + FortePayCreateIntent: + type: object + required: + - blockchain + - buyer + - currency + - idempotencyKey + - items + - seller + - transactionType + properties: + blockchain: + type: string + buyer: + $ref: '#/components/schemas/FortePayBuyer' + currency: + type: string + idempotencyKey: + type: string + items: + type: array + description: '[]FortePayItem' + items: + $ref: '#/components/schemas/FortePayItem' + seller: + $ref: '#/components/schemas/FortePayWallet' + transactionType: + type: string + FortePayBuyer: + type: object + required: + - wallet + - email + - id + properties: + wallet: + $ref: '#/components/schemas/FortePayWallet' + email: + type: string + id: + type: string + FortePayWallet: + type: object + required: + - address + - blockchain + properties: + address: + type: string + blockchain: + type: string + FortePayItem: + type: object + required: + - amount + - description + - id + - imageUrl + - listingData + - nftData + - mintData + - title + properties: + amount: + type: string + description: + type: string + id: + type: string + imageUrl: + type: string + listingData: + $ref: '#/components/schemas/FortePayItemListingData' + nftData: + $ref: '#/components/schemas/FortePayItemNFTData' + mintData: + $ref: '#/components/schemas/FortePayItemMintData' + title: + type: string + FortePayItemListingData: + type: object + required: + - orderHash + - protocol + - protocolAddress + - auctionHouse + - tokenAddress + - calldata + - payToAddress + - structuredCalldata + properties: + orderHash: + type: string + protocol: + type: string + protocolAddress: + type: string + auctionHouse: + type: string + tokenAddress: + type: string + calldata: + type: string + payToAddress: + type: string + structuredCalldata: + type: object + FortePayItemNFTData: + type: object + required: + - contractAddress + - tokenId + properties: + contractAddress: + type: string + tokenId: + type: string + FortePayItemMintData: + type: object + required: + - nonce + - protocol + - protocolAddress + - signature + - tokenIds + - calldata + - payToAddress + - tokenContractAddress + - structuredCalldata + properties: + nonce: + type: string + protocol: + type: string + protocolAddress: + type: string + signature: + type: string + tokenIds: + type: array + description: '[]string' + items: + type: string + calldata: + type: string + payToAddress: + type: string + tokenContractAddress: + type: string + structuredCalldata: + type: object + FortePayIntent: + type: object + required: + - flow + - widgetData + - paymentIntentId + - notes + properties: + flow: + type: string + widgetData: + type: string + paymentIntentId: + type: string + notes: + type: array + description: '[]string' + items: + type: string API_IsValidSignature_Request: type: object properties: @@ -3131,8 +3301,6 @@ paths: post: tags: ["API"] summary: "" - description: | - Currency abstraction requestBody: content: application/json: From 294d9300d2746394213d6918d4a7b634ec76bbc3 Mon Sep 17 00:00:00 2001 From: SamueleA <26363061+SamueleA@users.noreply.github.com> Date: Fri, 18 Jul 2025 13:54:49 +0000 Subject: [PATCH 13/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 13df7c43..93b176a2 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 6aa48894cfc5520348ee50b7cf3061dce1f326d2 +# sequence-api v0.4.0 1903426523ab00db8143b3757b145f81e2685540 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -2528,7 +2528,7 @@ components: items: $ref: '#/components/schemas/FortePayItem' seller: - $ref: '#/components/schemas/FortePayWallet' + $ref: '#/components/schemas/FortePaySeller' transactionType: type: string FortePayBuyer: @@ -2544,6 +2544,13 @@ components: type: string id: type: string + FortePaySeller: + type: object + required: + - wallet + properties: + wallet: + $ref: '#/components/schemas/FortePayWallet' FortePayWallet: type: object required: @@ -2558,7 +2565,6 @@ components: type: object required: - amount - - description - id - imageUrl - listingData @@ -2568,8 +2574,6 @@ components: properties: amount: type: string - description: - type: string id: type: string imageUrl: @@ -2673,6 +2677,16 @@ components: description: '[]string' items: type: string + FortePaymentStatus: + type: object + required: + - paymentIntentId + - status + properties: + paymentIntentId: + type: string + status: + type: string API_IsValidSignature_Request: type: object properties: From bb37c17dd5095caeb75b24b19c82f4d7f7f1d1aa Mon Sep 17 00:00:00 2001 From: david-littlefarmer <17728576+david-littlefarmer@users.noreply.github.com> Date: Wed, 6 Aug 2025 09:05:01 +0000 Subject: [PATCH 14/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 93b176a2..a6a26a66 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 1903426523ab00db8143b3757b145f81e2685540 +# sequence-api v0.4.0 0b8efdfc0a7213cdf649c64bd3a31cde14b94342 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -827,6 +827,12 @@ components: enum: - buy - sell + GetLifiSwapRouteDirection: + type: string + description: Represented as uint8 on the server side + enum: + - to + - from TokenType: type: string description: Represented as uint8 on the server side @@ -1751,6 +1757,25 @@ components: type: string logoUri: type: string + GetLifiSwapRouteParams: + type: object + required: + - direction + - chainId + - walletAddress + - tokenAddress + - tokenAmount + properties: + direction: + $ref: '#/components/schemas/GetLifiSwapRouteDirection' + chainId: + type: number + walletAddress: + type: string + tokenAddress: + type: string + tokenAmount: + type: string LifiSwapRoute: type: object required: @@ -2785,6 +2810,8 @@ components: API_GetLifiSwapRoutes_Request: type: object properties: + params: + $ref: '#/components/schemas/GetLifiSwapRouteParams' chainId: type: number toTokenAddress: @@ -3440,7 +3467,9 @@ paths: /rpc/API/GetLifiSwapRoutes: post: tags: ["API"] - summary: "" + summary: "All parameters except `params` are deprecated." + description: | + Use only the `params` object to pass values. requestBody: content: application/json: From 32f37c621f8db7e84789bb850be1b574e893ff33 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Wed, 13 Aug 2025 00:24:34 +0000 Subject: [PATCH 15/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 187 +++++++++++++++++++++++++++++++- 1 file changed, 186 insertions(+), 1 deletion(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index a6a26a66..fe179f94 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 0b8efdfc0a7213cdf649c64bd3a31cde14b94342 +# sequence-api v0.4.0 ff5dfa4f3b3ff9dfca0dff670949b5ed898307f6 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -1925,6 +1925,37 @@ components: type: string deletedAt: type: string + CCTPTransfer: + type: object + required: + - id + - sourceTxHash + - sourceChainId + - destinationChainId + - message + - attestation + - status + - createdAt + - updatedAt + properties: + id: + type: string + sourceTxHash: + type: string + sourceChainId: + type: number + destinationChainId: + type: number + message: + type: string + attestation: + type: string + status: + type: string + createdAt: + type: string + updatedAt: + type: string OffchainPayment: type: object required: @@ -2825,6 +2856,22 @@ components: properties: params: $ref: '#/components/schemas/GetLifiSwapQuoteParams' + API_GetCCTPTransfer_Request: + type: object + properties: + id: + type: string + API_QueueCCTPTransfer_Request: + type: object + properties: + sourceTxHash: + type: string + metaTxHash: + type: string + sourceChainId: + type: number + destinationChainId: + type: number API_IsValidSignature_Response: type: object properties: @@ -2892,6 +2939,16 @@ components: properties: quote: $ref: '#/components/schemas/LifiSwapQuote' + API_GetCCTPTransfer_Response: + type: object + properties: + transfer: + $ref: '#/components/schemas/CCTPTransfer' + API_QueueCCTPTransfer_Response: + type: object + properties: + transfer: + $ref: '#/components/schemas/CCTPTransfer' paths: /rpc/API/IsValidSignature: post: @@ -3592,3 +3649,131 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetCCTPTransfer: + post: + tags: ["API"] + summary: "" + description: | + CCTP + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetCCTPTransfer_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetCCTPTransfer_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/QueueCCTPTransfer: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_QueueCCTPTransfer_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_QueueCCTPTransfer_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' From 98a7ac436a884e32a06aa6d98629a76cc3447f71 Mon Sep 17 00:00:00 2001 From: taylanpince <12650+taylanpince@users.noreply.github.com> Date: Mon, 18 Aug 2025 07:22:03 +0000 Subject: [PATCH 16/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 307 +++++++++++++++++++++++++++----- 1 file changed, 261 insertions(+), 46 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index fe179f94..cf5fb482 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 ff5dfa4f3b3ff9dfca0dff670949b5ed898307f6 +# sequence-api v0.4.0 d83adcfbb5b771a1c154413314fde41e50b9eedb # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -847,6 +847,12 @@ components: - UNKNOWN - BUY - SELL + TradeType: + type: string + description: Represented as string on the server side + enum: + - EXACT_INPUT + - EXACT_OUTPUT CheckoutOptionCrypto: type: string description: Represented as uint32 on the server side @@ -1049,6 +1055,96 @@ components: $ref: '#/components/schemas/User' createdAt: type: string + MetaTxn: + type: object + required: + - id + - chainId + - walletAddress + - contract + - input + properties: + id: + type: string + chainId: + type: string + walletAddress: + type: string + contract: + type: string + input: + type: string + Call: + type: object + required: + - to + properties: + to: + type: string + value: + type: string + data: + type: string + gasLimit: + type: string + delegateCall: + type: boolean + onlyFallback: + type: boolean + behaviorOnError: + type: number + IntentCallsPayload: + type: object + required: + - chainId + - calls + properties: + chainId: + type: string + space: + type: string + nonce: + type: string + calls: + type: array + description: '[]Call' + items: + $ref: '#/components/schemas/Call' + IntentConfig: + type: object + required: + - id + - configHash + - originIntentAddress + - destinationIntentAddress + - mainSigner + - calls + - preconditions + properties: + id: + type: number + configHash: + type: string + originIntentAddress: + type: string + destinationIntentAddress: + type: string + mainSigner: + type: string + calls: + type: array + description: '[]IntentCallsPayload' + items: + $ref: '#/components/schemas/IntentCallsPayload' + preconditions: + type: array + description: '[]IntentPrecondition' + items: + $ref: '#/components/schemas/IntentPrecondition' + updatedAt: + type: string + createdAt: + type: string InviteCode: type: object required: @@ -1130,69 +1226,54 @@ components: type: string value: type: object - IntentPrecondition: + AddressOverrides: type: object - required: - - type - - chainID - - data properties: - type: + trailsLiFiSapientSignerAddress: type: string - chainID: + trailsRelaySapientSignerAddress: type: string - data: - type: object - IntentSolution: + trailsCCTPV2SapientSignerAddress: + type: string + TakerFee: type: object required: - - transactions + - address + - bps properties: - transactions: - type: array - description: '[]Transactions' - items: - $ref: '#/components/schemas/Transactions' - Transactions: + address: + type: string + bps: + type: number + OriginCall: type: object required: - - chainID - - transactions + - chainId + - to + - transactionData + - transactionValue properties: - chainID: + chainId: + type: number + to: type: string - transactions: - type: array - description: '[]Transaction' - items: - $ref: '#/components/schemas/Transaction' - preconditions: - type: array - description: '[]IntentPrecondition' - items: - $ref: '#/components/schemas/IntentPrecondition' - Transaction: + transactionData: + type: string + transactionValue: + type: string + IntentPrecondition: type: object required: - - delegateCall - - revertOnError - - gasLimit - - target - - value + - type + - chainId - data properties: - delegateCall: - type: boolean - revertOnError: - type: boolean - gasLimit: - type: string - target: + type: type: string - value: + chainId: type: string data: - type: string + type: object UserStorage: type: object required: @@ -2743,6 +2824,140 @@ components: type: string status: type: string + CrossChainFee: + type: object + required: + - providerFee + - trailsSwapFee + - providerFeeUSD + - trailsSwapFeeUSD + - totalFeeAmount + - totalFeeUSD + properties: + providerFee: + type: string + trailsSwapFee: + type: string + providerFeeUSD: + type: number + trailsSwapFeeUSD: + type: number + totalFeeAmount: + type: string + totalFeeUSD: + type: number + MetaTxnFeeDetail: + type: object + required: + - metaTxnID + - estimatedGasLimit + - feeNative + properties: + metaTxnID: + type: string + estimatedGasLimit: + type: string + feeNative: + type: string + ChainExecuteQuote: + type: object + required: + - chainId + - totalGasLimit + - gasPrice + - totalFeeAmount + - nativeTokenSymbol + - metaTxnFeeDetails + properties: + chainId: + type: string + totalGasLimit: + type: string + gasPrice: + type: string + totalFeeAmount: + type: string + nativeTokenSymbol: + type: string + nativeTokenPrice: + type: string + metaTxnFeeDetails: + type: array + description: '[]MetaTxnFeeDetail' + items: + $ref: '#/components/schemas/MetaTxnFeeDetail' + totalFeeUSD: + type: string + ExecuteQuote: + type: object + required: + - chainQuotes + properties: + chainQuotes: + type: array + description: '[]ChainExecuteQuote' + items: + $ref: '#/components/schemas/ChainExecuteQuote' + TrailsFee: + type: object + required: + - executeQuote + - trailsFixedFeeUSD + properties: + executeQuote: + $ref: '#/components/schemas/ExecuteQuote' + crossChainFee: + $ref: '#/components/schemas/CrossChainFee' + takerFeeAmount: + type: string + takerFeeUSD: + type: number + trailsFixedFeeUSD: + type: number + feeToken: + type: string + originTokenTotalAmount: + type: string + totalFeeAmount: + type: string + totalFeeUSD: + type: string + quoteProvider: + type: string + IntentQuote: + type: object + required: + - fromAmount + - fromAmountMin + - toAmount + - toAmountMin + - priceImpact + - priceImpactUsd + - maxSlippage + - quoteProvider + - quoteProviderRequestId + - quoteProviderFeeUsd + properties: + fromAmount: + type: string + fromAmountMin: + type: string + toAmount: + type: string + toAmountMin: + type: string + priceImpact: + type: number + priceImpactUsd: + type: string + maxSlippage: + type: number + quoteProvider: + type: string + quoteProviderRequestId: + type: string + quoteProviderFeeUsd: + type: string API_IsValidSignature_Request: type: object properties: From f52c979330bd99867f4322d56bf7e7ccafc27af7 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Thu, 28 Aug 2025 09:40:26 +0000 Subject: [PATCH 17/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 323 +++++++++++++++++++++++++++++++- 1 file changed, 322 insertions(+), 1 deletion(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index cf5fb482..9467f811 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 d83adcfbb5b771a1c154413314fde41e50b9eedb +# sequence-api v0.4.0 2e3b9931a7dffc999365e09e36b3d92a1b5abab6 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -1141,10 +1141,30 @@ components: description: '[]IntentPrecondition' items: $ref: '#/components/schemas/IntentPrecondition' + executionStatus: + type: string + metaTxnId: + type: string + txnHash: + type: string updatedAt: type: string createdAt: type: string + MetaTxnReceipt: + type: object + required: + - metaTxID + - status + properties: + metaTxID: + type: string + status: + type: string + txnReceipt: + type: string + revertReason: + type: string InviteCode: type: object required: @@ -3087,6 +3107,28 @@ components: type: number destinationChainId: type: number + API_QueueIntentConfigExecution_Request: + type: object + properties: + intentConfigId: + type: number + API_GetIntentConfigExecutionStatus_Request: + type: object + properties: + intentConfigId: + type: number + API_ListIntentConfigs_Request: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + executionStatus: + type: string + API_QueueMetaTxnReceipt_Request: + type: object + properties: + metaTxID: + type: string API_IsValidSignature_Response: type: object properties: @@ -3164,6 +3206,31 @@ components: properties: transfer: $ref: '#/components/schemas/CCTPTransfer' + API_QueueIntentConfigExecution_Response: + type: object + properties: + status: + type: boolean + API_GetIntentConfigExecutionStatus_Response: + type: object + properties: + executionStatus: + type: string + API_ListIntentConfigs_Response: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + intentConfigs: + type: array + description: '[]IntentConfig' + items: + $ref: '#/components/schemas/IntentConfig' + API_QueueMetaTxnReceipt_Response: + type: object + properties: + status: + type: boolean paths: /rpc/API/IsValidSignature: post: @@ -3992,3 +4059,257 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/QueueIntentConfigExecution: + post: + tags: ["API"] + summary: "" + description: | + Intent Machine Worker + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_QueueIntentConfigExecution_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_QueueIntentConfigExecution_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/GetIntentConfigExecutionStatus: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetIntentConfigExecutionStatus_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_GetIntentConfigExecutionStatus_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/ListIntentConfigs: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_ListIntentConfigs_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_ListIntentConfigs_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/API/QueueMetaTxnReceipt: + post: + tags: ["API"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/API_QueueMetaTxnReceipt_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/API_QueueMetaTxnReceipt_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' From b0bfae997b0009f6db3a759d8101442b94af35c2 Mon Sep 17 00:00:00 2001 From: taylanpince <12650+taylanpince@users.noreply.github.com> Date: Mon, 8 Sep 2025 16:46:30 +0000 Subject: [PATCH 18/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 9467f811..825a093b 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 2e3b9931a7dffc999365e09e36b3d92a1b5abab6 +# sequence-api v0.4.0 81afc75dde59f7b052655ac2b874bd1e41c44977 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -1344,6 +1344,8 @@ components: $ref: '#/components/schemas/Price' price24hChange: $ref: '#/components/schemas/Price' + price24hVol: + $ref: '#/components/schemas/Price' floorPrice: $ref: '#/components/schemas/Price' buyPrice: From 89d4fec4a9d23b617f5180e79d6eb3baa6c1c9cd Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Tue, 9 Sep 2025 06:26:08 +0000 Subject: [PATCH 19/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 825a093b..473ad4c2 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 81afc75dde59f7b052655ac2b874bd1e41c44977 +# sequence-api v0.4.0 e2bff919127ed95949ac2d416904a0474f2162b4 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -2980,6 +2980,8 @@ components: type: string quoteProviderFeeUsd: type: string + apiAttestation: + type: string API_IsValidSignature_Request: type: object properties: From a3b57587df637a479905416c270f58f971adf26f Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Thu, 11 Sep 2025 06:47:19 +0000 Subject: [PATCH 20/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 473ad4c2..eccffe70 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 e2bff919127ed95949ac2d416904a0474f2162b4 +# sequence-api v0.4.0 619589d584342314ce02f15955bfec22e2b3be20 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -2959,6 +2959,7 @@ components: - quoteProvider - quoteProviderRequestId - quoteProviderFeeUsd + - feeQuotes properties: fromAmount: type: string @@ -2980,8 +2981,11 @@ components: type: string quoteProviderFeeUsd: type: string - apiAttestation: - type: string + feeQuotes: + type: object + description: 'map' + additionalProperties: + type: string API_IsValidSignature_Request: type: object properties: From c4674c79469c6544cadf05dce7701177d2be3802 Mon Sep 17 00:00:00 2001 From: taylanpince <12650+taylanpince@users.noreply.github.com> Date: Tue, 4 Nov 2025 12:18:11 +0000 Subject: [PATCH 21/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 501 +++++--------------------------- 1 file changed, 74 insertions(+), 427 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index eccffe70..56b92ddb 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,4 +1,4 @@ -# sequence-api v0.4.0 619589d584342314ce02f15955bfec22e2b3be20 +# sequence-api v0.4.0 f06ea0c33f7a6ee53ec00fb38d2366aca55b9635 # -- # Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT # @@ -811,22 +811,6 @@ components: enum: - DESC - ASC - SardinePaymentType: - type: string - description: Represented as uint32 on the server side - enum: - - ach - - debit - - credit - - us_debit - - international_debit - - international_credit - SardineQuoteType: - type: string - description: Represented as uint32 on the server side - enum: - - buy - - sell GetLifiSwapRouteDirection: type: string description: Represented as uint8 on the server side @@ -865,14 +849,12 @@ components: description: Represented as uint32 on the server side enum: - unknown - - sardine - transak CheckoutOptionOnRampProvider: type: string description: Represented as uint32 on the server side enum: - unknown - - sardine - transak CheckoutOptionSwapProvider: type: string @@ -1422,414 +1404,6 @@ components: type: string order: $ref: '#/components/schemas/SortOrder' - SardineNFTCheckoutParams: - type: object - required: - - name - - imageUrl - - network - - recipientAddress - - blockchainNftId - - contractAddress - - quantity - - tokenAmount - - tokenAddress - - tokenSymbol - - calldata - - platform - properties: - name: - type: string - imageUrl: - type: string - network: - type: string - recipientAddress: - type: string - blockchainNftId: - type: string - contractAddress: - type: string - quantity: - type: number - decimals: - type: number - tokenAmount: - type: string - tokenAddress: - type: string - tokenSymbol: - type: string - tokenDecimals: - type: number - calldata: - type: string - platform: - type: string - approvedSpenderAddress: - type: string - SardineNFTCheckout: - type: object - required: - - token - - expiresAt - - orderId - properties: - token: - type: string - expiresAt: - type: string - orderId: - type: string - SardineOrder: - type: object - required: - - id - - referenceId - - status - - fiatCurrency - - fiatExchangeRateUSD - - transactionId - - total - - subTotal - - transactionFee - - networkFee - - transactionType - - name - - price - - imageUrl - - recipientAddress - properties: - id: - type: string - createdAt: - type: string - referenceId: - type: string - status: - type: string - fiatCurrency: - type: string - fiatExchangeRateUSD: - type: number - transactionId: - type: string - expiresAt: - type: string - total: - type: number - subTotal: - type: number - transactionFee: - type: number - networkFee: - type: number - paymentCurrency: - type: string - paymentMethodType: - type: string - transactionType: - type: string - name: - type: string - price: - type: number - imageUrl: - type: string - contractAddress: - type: string - transactionHash: - type: string - recipientAddress: - type: string - SardineRegion: - type: object - required: - - countryCode - - isAllowedOnRamp - - isAllowedOnNFT - - isBasicKycRequired - - isSsnRequired - - name - - currencyCode - - isPayrollSupported - - supportedDocuments - - paymentMethods - - states - properties: - countryCode: - type: string - isAllowedOnRamp: - type: boolean - isAllowedOnNFT: - type: boolean - isBasicKycRequired: - type: array - description: '[]string' - items: - type: string - isSsnRequired: - type: array - description: '[]string' - items: - type: string - name: - type: string - currencyCode: - type: string - isPayrollSupported: - type: boolean - supportedDocuments: - type: array - description: '[]string' - items: - type: string - paymentMethods: - type: array - description: '[]SardineRegionPaymentMethod' - items: - $ref: '#/components/schemas/SardineRegionPaymentMethod' - states: - type: array - description: '[]SardineRegionState' - items: - $ref: '#/components/schemas/SardineRegionState' - SardineRegionPaymentMethod: - type: object - required: - - name - - isAllowedOnRamp - - isAllowedOnNFT - - subTypes - - type - - subType - properties: - name: - type: string - isAllowedOnRamp: - type: boolean - isAllowedOnNFT: - type: boolean - subTypes: - type: array - description: '[]string' - items: - type: string - type: - type: string - subType: - type: string - SardineRegionState: - type: object - required: - - code - - name - - isAllowedOnRamp - - isAllowedOnNFT - properties: - code: - type: string - name: - type: string - isAllowedOnRamp: - type: boolean - isAllowedOnNFT: - type: boolean - SardineSupportedToken: - type: object - required: - - network - - assetSymbol - - assetName - - chainId - - tokenName - - token - - tokenAddress - properties: - network: - type: string - assetSymbol: - type: string - assetName: - type: string - chainId: - type: string - tokenName: - type: string - token: - type: string - tokenAddress: - type: string - SardineSupportedTokenForSwap: - type: object - required: - - isSupported - - isSupportedForAbstraction - - currentBalance - properties: - isSupported: - type: boolean - isSupportedForAbstraction: - type: boolean - currentBalance: - type: string - SardineEnabledToken: - type: object - required: - - network - - assetSymbol - - assetName - - chainId - - tokenName - - token - - tokenAddress - properties: - network: - type: string - assetSymbol: - type: string - assetName: - type: string - chainId: - type: string - tokenName: - type: string - token: - type: string - tokenAddress: - type: string - SardineGetQuoteParams: - type: object - required: - - assetType - - network - - total - properties: - assetType: - type: string - network: - type: string - total: - type: number - currency: - type: string - paymentType: - $ref: '#/components/schemas/SardinePaymentType' - quoteType: - $ref: '#/components/schemas/SardineQuoteType' - walletAddress: - type: string - SardineQuote: - type: object - required: - - quantity - - network - - assetType - - total - - currency - - expiresAt - - paymentType - - price - - subtotal - - transactionFee - - networkFee - - highNetworkFee - - minTransactionValue - - maxTransactionValue - - liquidityProvider - properties: - quantity: - type: number - network: - type: string - assetType: - type: string - total: - type: number - currency: - type: string - expiresAt: - type: string - paymentType: - type: string - price: - type: number - subtotal: - type: number - transactionFee: - type: number - networkFee: - type: number - highNetworkFee: - type: boolean - minTransactionValue: - type: number - maxTransactionValue: - type: number - liquidityProvider: - type: string - SardineFiatCurrency: - type: object - required: - - currencyCode - - name - - currencySymbol - - paymentOptions - - supportingCountries - properties: - currencyCode: - type: string - name: - type: string - currencySymbol: - type: string - paymentOptions: - type: array - description: '[]SardinePaymentOption' - items: - $ref: '#/components/schemas/SardinePaymentOption' - supportingCountries: - type: array - description: '[]string' - items: - type: string - SardinePaymentOption: - type: object - required: - - name - - dailyLimit - - weeklyLimit - - monthlyLimit - - maxAmount - - minAmount - - subTypes - - type - - subType - - processingTime - properties: - name: - type: string - dailyLimit: - type: number - weeklyLimit: - type: number - monthlyLimit: - type: number - maxAmount: - type: number - minAmount: - type: number - subTypes: - type: array - description: '[]string' - items: - type: string - type: - type: string - subType: - type: string - processingTime: - type: string LifiToken: type: object required: @@ -2598,6 +2172,79 @@ components: type: number quoteCountryCode: type: string + TransakNFTData: + type: object + required: + - imageUrl + - nftName + - collectionAddress + - tokenIds + - prices + - quantity + - nftType + properties: + imageUrl: + type: string + nftName: + type: string + collectionAddress: + type: string + tokenIds: + type: array + description: '[]string' + items: + type: string + prices: + type: array + description: '[]float64' + items: + type: number + quantity: + type: number + nftType: + type: string + TransakGetWidgetURLParams: + type: object + required: + - nftData + properties: + targetContractAddress: + type: string + isNft: + type: boolean + calldata: + type: string + cryptoCurrencyCode: + type: string + estimatedGasLimit: + type: number + nftData: + type: array + description: '[]TransakNFTData' + items: + $ref: '#/components/schemas/TransakNFTData' + walletAddress: + type: string + disableWalletAddressForm: + type: boolean + partnerOrderId: + type: string + network: + type: string + referrerDomain: + type: string + fiatAmount: + type: string + fiatCurrency: + type: string + defaultFiatAmount: + type: string + defaultCryptoCurrency: + type: string + cryptoCurrencyList: + type: string + networks: + type: string TransakChain: type: object required: From bdcede4650513d0ea28c41cb0e3b58d01b3ffe6f Mon Sep 17 00:00:00 2001 From: taylanpince <12650+taylanpince@users.noreply.github.com> Date: Tue, 2 Dec 2025 08:28:48 +0000 Subject: [PATCH 22/23] [AUTOMATED] Update: api/proto/docs/api.gen.yaml --- docs/pages/api/api/api.gen.yaml | 69 +++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 30 deletions(-) diff --git a/docs/pages/api/api/api.gen.yaml b/docs/pages/api/api/api.gen.yaml index 56b92ddb..4458a4d9 100644 --- a/docs/pages/api/api/api.gen.yaml +++ b/docs/pages/api/api/api.gen.yaml @@ -1,6 +1,6 @@ -# sequence-api v0.4.0 f06ea0c33f7a6ee53ec00fb38d2366aca55b9635 +# sequence-api v0.4.0 4d5fad1e2ba72d78a45fdbafbf060cdd748c8eba # -- -# Code generated by webrpc-gen@v0.25.3 with openapi generator; DO NOT EDIT +# Code generated by webrpc-gen@v0.31.0 with openapi generator; DO NOT EDIT # # webrpc-gen -service=API -match=@public -schema=proto/api.ridl -target=openapi -title=Sequence Api -servers=https://api.sequence.app/;Api -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/api.gen.yaml openapi: 3.0.0 @@ -189,7 +189,7 @@ components: status: type: number example: 500 - ErrorWebrpcClientDisconnected: + ErrorWebrpcClientAborted: type: object required: - error @@ -199,13 +199,13 @@ components: properties: error: type: string - example: "WebrpcClientDisconnected" + example: "WebrpcClientAborted" code: type: number example: -8 msg: type: string - example: "client disconnected" + example: "request aborted by client" cause: type: string status: @@ -2733,14 +2733,6 @@ components: properties: params: $ref: '#/components/schemas/GetLifiSwapRouteParams' - chainId: - type: number - toTokenAddress: - type: string - toTokenAmount: - type: string - walletAddress: - type: string API_GetLifiSwapQuote_Request: type: object properties: @@ -2889,6 +2881,7 @@ components: paths: /rpc/API/IsValidSignature: post: + operationId: API-IsValidSignature tags: ["API"] summary: "TODO: we can add walletContext optional in the future when we need it" description: | @@ -2916,7 +2909,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -2954,6 +2947,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/IsValidMessageSignature: post: + operationId: API-IsValidMessageSignature tags: ["API"] summary: "" requestBody: @@ -2979,7 +2973,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3017,6 +3011,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/IsValidTypedDataSignature: post: + operationId: API-IsValidTypedDataSignature tags: ["API"] summary: "" requestBody: @@ -3042,7 +3037,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3080,6 +3075,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/IsValidETHAuthProof: post: + operationId: API-IsValidETHAuthProof tags: ["API"] summary: "" requestBody: @@ -3105,7 +3101,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3143,6 +3139,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/LinkWallet: post: + operationId: API-LinkWallet tags: ["API"] summary: "" description: | @@ -3170,7 +3167,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3208,6 +3205,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/GetLinkedWallets: post: + operationId: API-GetLinkedWallets tags: ["API"] summary: "" requestBody: @@ -3233,7 +3231,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3271,6 +3269,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/RemoveLinkedWallet: post: + operationId: API-RemoveLinkedWallet tags: ["API"] summary: "" requestBody: @@ -3296,7 +3295,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3334,6 +3333,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/GetLifiChains: post: + operationId: API-GetLifiChains tags: ["API"] summary: "" requestBody: @@ -3359,7 +3359,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3397,6 +3397,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/GetLifiTokens: post: + operationId: API-GetLifiTokens tags: ["API"] summary: "" requestBody: @@ -3422,7 +3423,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3460,6 +3461,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/GetLifiSwapRoutes: post: + operationId: API-GetLifiSwapRoutes tags: ["API"] summary: "All parameters except `params` are deprecated." description: | @@ -3487,7 +3489,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3525,6 +3527,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/GetLifiSwapQuote: post: + operationId: API-GetLifiSwapQuote tags: ["API"] summary: "" requestBody: @@ -3550,7 +3553,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3588,6 +3591,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/GetCCTPTransfer: post: + operationId: API-GetCCTPTransfer tags: ["API"] summary: "" description: | @@ -3615,7 +3619,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3653,6 +3657,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/QueueCCTPTransfer: post: + operationId: API-QueueCCTPTransfer tags: ["API"] summary: "" requestBody: @@ -3678,7 +3683,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3716,6 +3721,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/QueueIntentConfigExecution: post: + operationId: API-QueueIntentConfigExecution tags: ["API"] summary: "" description: | @@ -3743,7 +3749,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3781,6 +3787,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/GetIntentConfigExecutionStatus: post: + operationId: API-GetIntentConfigExecutionStatus tags: ["API"] summary: "" requestBody: @@ -3806,7 +3813,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3844,6 +3851,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/ListIntentConfigs: post: + operationId: API-ListIntentConfigs tags: ["API"] summary: "" requestBody: @@ -3869,7 +3877,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' @@ -3907,6 +3915,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' /rpc/API/QueueMetaTxnReceipt: post: + operationId: API-QueueMetaTxnReceipt tags: ["API"] summary: "" requestBody: @@ -3932,7 +3941,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadRoute' - $ref: '#/components/schemas/ErrorWebrpcBadMethod' - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcClientAborted' - $ref: '#/components/schemas/ErrorWebrpcStreamLost' - $ref: '#/components/schemas/ErrorUnauthorized' - $ref: '#/components/schemas/ErrorPermissionDenied' From 56e5d01aef6e4c784f9afa6b1adf32161d485406 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 2 Dec 2025 08:29:20 +0000 Subject: [PATCH 23/23] Auto-update guide cards metadata [skip ci] --- guides/guide-cards.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/guide-cards.json b/guides/guide-cards.json index 97a2c63a..b52eccae 100644 --- a/guides/guide-cards.json +++ b/guides/guide-cards.json @@ -1,6 +1,6 @@ { - "lastUpdated": "2025-09-03T12:15:39.593Z", - "totalCards": 6, + "lastUpdated": "2025-12-02T08:29:20.242Z", + "totalCards": 7, "sections": [ { "title": "Game Developers",