removedInput schema / allOf
Removed value: -[
- {
- "anyOf": [
- {
- "required": [
- "orderId"
- ]
- },
- {
- "required": [
- "ordenId"
- ]
- }
- ]
- }
-]
removedInput schema / properties / acepta_terminos_y_descarga_inmediata
Removed value: -{
- "deprecated": true,
- "description": "DEPRECATED alias of `acceptTermsAndImmediateDownload`: it still works, but use `acceptTermsAndImmediateDownload` (it will be removed in a future round, no date yet). Optional, no longer required. Completing the deposit means accepting Bernuvia's terms, including the immediate download after payment, which waives the 14-day right of withdrawal. If you send it as true, it is also recorded as express consent with the date, the time, the version of the Terms and this order.",
- "type": "boolean"
-}
removedInput schema / properties / ordenId
Removed value: -{
- "deprecated": true,
- "description": "DEPRECATED alias of `orderId`: it still works, but use `orderId` (it will be removed in a future round, no date yet). The ordenId (uuid) returned by prepare_payment.",
- "type": "string"
-}
changedInput schema / properties / orderId / description
Previous value: -"The ordenId (uuid) returned by prepare_payment."New value: +"The orderId (uuid) returned by prepare_payment."
changedInput schema / properties / singleSignature / description
Previous value: -"Optional. true = GASLESS variant (phase 6, only if the platform has it active and the escrow contract supports it): on top of the usual response it returns `unaSolaFirma.typedData`, an EIP-3009 (ReceiveWithAuthorization) authorization of the USDC that you sign with signTypedData, and then you call submit_signed_deposit; Bernuvia sends the transaction and pays the gas. The quote lasts less than in the classic path. Your wallet cannot have code (contracts or EIP-7702)."New value: +"Optional. true = GASLESS variant (phase 6, only if the platform has it active and the escrow contract supports it): on top of the usual response it returns `singleSignature.typedData`, an EIP-3009 (ReceiveWithAuthorization) authorization of the USDC that you sign with signTypedData, and then you call submit_signed_deposit; Bernuvia sends the transaction and pays the gas. The quote lasts less than in the classic path. Your wallet cannot have code (contracts or EIP-7702)."
removedInput schema / properties / una_sola_firma
Removed value: -{
- "deprecated": true,
- "description": "DEPRECATED alias of `singleSignature`: it still works, but use `singleSignature` (it will be removed in a future round, no date yet). Optional. true = GASLESS variant (phase 6, only if the platform has it active and the escrow contract supports it): on top of the usual response it returns `unaSolaFirma.typedData`, an EIP-3009 (ReceiveWithAuthorization) authorization of the USDC that you sign with signTypedData, and then you call submit_signed_deposit; Bernuvia sends the transaction and pays the gas. The quote lasts less than in the classic path. Your wallet cannot have code (contracts or EIP-7702).",
- "type": "boolean"
-}
addedInput schema / required
Added value: +[
+ "orderId"
+]
removedInput schema / x-bernuvia-aliases
Removed value: -{
- "acceptTermsAndImmediateDownload": "acepta_terminos_y_descarga_inmediata",
- "orderId": "ordenId",
- "singleSignature": "una_sola_firma"
-}
addedOutput schema / properties / amount
Added value: +{
+ "additionalProperties": true,
+ "description": "The deposit amount, in both units.",
+ "properties": {
+ "units": {
+ "description": "Minimal units of USDC (6 decimals), as a decimal string.",
+ "type": "string"
+ },
+ "usdc": {
+ "description": "The same amount in human USDC, as a decimal string.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "units",
+ "usdc"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / balances
Added value: +{
+ "additionalProperties": true,
+ "description": "Balances of the wallet, read on the fly. If the RPC did not respond, it arrives with `note` only.",
+ "properties": {
+ "allowanceSufficient": {
+ "description": "Does the allowance cover the amount? If true, skip step 1.",
+ "type": "boolean"
+ },
+ "allowanceUnits": {
+ "description": "Allowance granted to the escrow, in minimal units and as a decimal string.",
+ "type": "string"
+ },
+ "note": {
+ "description": "Text clarification; it is the ONLY field if the balances could not be read.",
+ "type": "string"
+ },
+ "polMissing": {
+ "description": "The same shortfall in human POL, as a decimal string.",
+ "type": "string"
+ },
+ "polMissingWei": {
+ "description": "POL that is missing, in wei and as a decimal string (\"0\" if there is enough).",
+ "type": "string"
+ },
+ "polSufficient": {
+ "description": "Is the POL enough for the gas of both steps?",
+ "type": "boolean"
+ },
+ "polWei": {
+ "description": "Native POL balance in wei, as a decimal string.",
+ "type": "string"
+ },
+ "usdcMissingUnits": {
+ "description": "USDC that is missing, in minimal units and as a decimal string (\"0\" if there is enough).",
+ "type": "string"
+ },
+ "usdcSufficient": {
+ "description": "Does the USDC balance cover the amount?",
+ "type": "boolean"
+ },
+ "usdcUnits": {
+ "description": "USDC balance in minimal units, as a decimal string.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
removedOutput schema / properties / caducaEn
Removed value: -{
- "description": "Expiry of the quote in ISO 8601.",
- "type": "string"
-}
removedOutput schema / properties / compraId
Removed value: -{
- "description": "The on-chain identifier (bytes32) of the purchase: the same as cotizacion.orderId.",
- "type": "string"
-}
addedOutput schema / properties / contracts
Added value: +{
+ "additionalProperties": true,
+ "description": "Addresses the signatures are made against.",
+ "properties": {
+ "escrow": {
+ "description": "Escrow contract (destination of step 2).",
+ "type": "string"
+ },
+ "usdc": {
+ "description": "USDC token contract (destination of step 1).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "escrow",
+ "usdc"
+ ],
+ "type": "object"
+}
removedOutput schema / properties / contratos
Removed value: -{
- "additionalProperties": true,
- "description": "Addresses the signatures are made against.",
- "properties": {
- "escrow": {
- "description": "Escrow contract (destination of step 2).",
- "type": "string"
- },
- "usdc": {
- "description": "USDC token contract (destination of step 1).",
- "type": "string"
- }
- },
- "required": [
- "escrow",
- "usdc"
- ],
- "type": "object"
-}
removedOutput schema / properties / cotizacion
Removed value: -{
- "additionalProperties": true,
- "description": "The quote signed by Bernuvia: send it back AS IS in submit_signed_deposit, and it is what fundPurchase consumes.",
- "properties": {
- "amount": {
- "description": "Amount in minimal units of USDC, as a decimal string.",
- "type": "string"
- },
- "autoReleaseAfter": {
- "description": "Seconds in escrow before the automatic release.",
- "type": "number"
- },
- "buyer": {
- "description": "Buyer wallet: the only one that can deposit.",
- "type": "string"
- },
- "chainId": {
- "description": "Chain the signature was made against.",
- "type": "number"
- },
- "deadline": {
- "description": "Expiry of the signature (epoch s): the same instant as caducaEn.",
- "type": "number"
- },
- "feeBps": {
- "description": "Fee in basis points (100 = 1 %).",
- "type": "number"
- },
- "issuedAt": {
- "description": "Issuance (epoch s). Only in the contracts that require it; absent in v1.",
- "type": "number"
- },
- "nonce": {
- "description": "Anti-replay nonce (uint256) as a decimal string.",
- "type": "string"
- },
- "orderId": {
- "description": "bytes32 of the purchase (the same as compraId).",
- "type": "string"
- },
- "seller": {
- "description": "The seller's payout wallet.",
- "type": "string"
- },
- "signature": {
- "description": "EIP-712 signature of Bernuvia's quoteSigner (0x…).",
- "type": "string"
- },
- "token": {
- "description": "Address of the USDC.",
- "type": "string"
- },
- "verifyingContract": {
- "description": "Escrow contract of the EIP-712 domain.",
- "type": "string"
- }
- },
- "required": [
- "orderId",
- "buyer",
- "seller",
- "token",
- "amount",
- "feeBps",
- "autoReleaseAfter",
- "nonce",
- "deadline",
- "signature",
- "chainId",
- "verifyingContract"
- ],
- "type": "object"
-}
removedOutput schema / properties / estado
Removed value: -{
- "description": "State of the order once quoted: always \"quoted\".",
- "type": "string"
-}
addedOutput schema / properties / expiresAt
Added value: +{
+ "description": "Expiry of the quote in ISO 8601.",
+ "type": "string"
+}
changedOutput schema / properties / gas / description
Previous value: -"Suggested fees and estimated cost. If the RPC did not respond, it arrives with `nota` only."New value: +"Suggested fees and estimated cost. If the RPC did not respond, it arrives with `note` only."
removedOutput schema / properties / gas / properties / calculadoEn
Removed value: -{
- "description": "When the fees were estimated (ISO 8601): they expire in ~1 minute.",
- "type": "string"
-}
addedOutput schema / properties / gas / properties / calculatedAt
Added value: +{
+ "description": "When the fees were estimated (ISO 8601): they expire in ~1 minute.",
+ "type": "string"
+}
removedOutput schema / properties / gas / properties / maxFeePerGasSugerido
Removed value: -{
- "description": "maxFeePerGas in wei, in DECIMAL (string). For compatibility.",
- "type": "string"
-}
removedOutput schema / properties / gas / properties / maxFeePerGasSugeridoHex
Removed value: -{
- "description": "The SAME maxFeePerGas in HEXADECIMAL with 0x: what the JSON-RPC requires.",
- "type": "string"
-}
addedOutput schema / properties / gas / properties / maxFeePerGasSuggested
Added value: +{
+ "description": "maxFeePerGas in wei, in DECIMAL (string). For compatibility.",
+ "type": "string"
+}
addedOutput schema / properties / gas / properties / maxFeePerGasSuggestedHex
Added value: +{
+ "description": "The SAME maxFeePerGas in HEXADECIMAL with 0x: what the JSON-RPC requires.",
+ "type": "string"
+}
removedOutput schema / properties / gas / properties / maxPriorityFeePerGasSugerido
Removed value: -{
- "description": "maxPriorityFeePerGas in wei, in DECIMAL (string). For compatibility.",
- "type": "string"
-}
removedOutput schema / properties / gas / properties / maxPriorityFeePerGasSugeridoHex
Removed value: -{
- "description": "The SAME maxPriorityFeePerGas in HEXADECIMAL with 0x: what the JSON-RPC requires.",
- "type": "string"
-}
addedOutput schema / properties / gas / properties / maxPriorityFeePerGasSuggested
Added value: +{
+ "description": "maxPriorityFeePerGas in wei, in DECIMAL (string). For compatibility.",
+ "type": "string"
+}
addedOutput schema / properties / gas / properties / maxPriorityFeePerGasSuggestedHex
Added value: +{
+ "description": "The SAME maxPriorityFeePerGas in HEXADECIMAL with 0x: what the JSON-RPC requires.",
+ "type": "string"
+}
addedOutput schema / properties / gas / properties / minPriorityGwei
Added value: +{
+ "description": "Minimum priority in gwei below which the transaction gets stuck on Polygon.",
+ "type": "number"
+}
removedOutput schema / properties / gas / properties / nota
Removed value: -{
- "description": "Text clarification; it is the ONLY field if the fees could not be estimated.",
- "type": "string"
-}
addedOutput schema / properties / gas / properties / note
Added value: +{
+ "description": "Text clarification; it is the ONLY field if the fees could not be estimated.",
+ "type": "string"
+}
removedOutput schema / properties / gas / properties / polNecesario
Removed value: -{
- "description": "The same figure in human POL, as a decimal string.",
- "type": "string"
-}
removedOutput schema / properties / gas / properties / polNecesarioWei
Removed value: -{
- "description": "POL you need to hold for the gas of both steps, in wei and as a decimal string.",
- "type": "string"
-}
addedOutput schema / properties / gas / properties / polNeeded
Added value: +{
+ "description": "The same figure in human POL, as a decimal string.",
+ "type": "string"
+}
addedOutput schema / properties / gas / properties / polNeededWei
Added value: +{
+ "description": "POL you need to hold for the gas of both steps, in wei and as a decimal string.",
+ "type": "string"
+}
removedOutput schema / properties / gas / properties / prioridadMinimaGwei
Removed value: -{
- "description": "Minimum priority in gwei below which the transaction gets stuck on Polygon.",
- "type": "number"
-}
removedOutput schema / properties / importe
Removed value: -{
- "additionalProperties": true,
- "description": "The deposit amount, in both units.",
- "properties": {
- "unidades": {
- "description": "Minimal units of USDC (6 decimals), as a decimal string.",
- "type": "string"
- },
- "usdc": {
- "description": "The same amount in human USDC, as a decimal string.",
- "type": "string"
- }
- },
- "required": [
- "unidades",
- "usdc"
- ],
- "type": "object"
-}
removedOutput schema / properties / instrucciones
Removed value: -{
- "description": "Steps in text, in order, including the rules about hexadecimal amounts.",
- "items": {
- "type": "string"
- },
- "type": "array"
-}
addedOutput schema / properties / instructions
Added value: +{
+ "description": "Steps in text, in order, including the rules about hexadecimal amounts.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedOutput schema / properties / network
Added value: +{
+ "additionalProperties": true,
+ "description": "The network where the transactions have to be sent.",
+ "properties": {
+ "chainId": {
+ "description": "Chain id (137 = Polygon).",
+ "type": "number"
+ },
+ "name": {
+ "description": "Readable name of the network.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "chainId",
+ "name"
+ ],
+ "type": "object"
+}
removedOutput schema / properties / ordenId
Removed value: -{
- "description": "The uuid of the order in Bernuvia.",
- "type": "string"
-}
addedOutput schema / properties / orderId
Added value: +{
+ "description": "The uuid of the order in Bernuvia.",
+ "type": "string"
+}
addedOutput schema / properties / purchaseId
Added value: +{
+ "description": "The on-chain identifier (bytes32) of the purchase: the same as quote.orderId.",
+ "type": "string"
+}
addedOutput schema / properties / quote
Added value: +{
+ "additionalProperties": true,
+ "description": "The quote signed by Bernuvia: send it back AS IS in submit_signed_deposit, and it is what fundPurchase consumes.",
+ "properties": {
+ "amount": {
+ "description": "Amount in minimal units of USDC, as a decimal string.",
+ "type": "string"
+ },
+ "autoReleaseAfter": {
+ "description": "Seconds in escrow before the automatic release.",
+ "type": "number"
+ },
+ "buyer": {
+ "description": "Buyer wallet: the only one that can deposit.",
+ "type": "string"
+ },
+ "chainId": {
+ "description": "Chain the signature was made against.",
+ "type": "number"
+ },
+ "deadline": {
+ "description": "Expiry of the signature (epoch s): the same instant as expiresAt.",
+ "type": "number"
+ },
+ "feeBps": {
+ "description": "Fee in basis points (100 = 1 %).",
+ "type": "number"
+ },
+ "issuedAt": {
+ "description": "Issuance (epoch s). Only in the contracts that require it; absent in v1.",
+ "type": "number"
+ },
+ "nonce": {
+ "description": "Anti-replay nonce (uint256) as a decimal string.",
+ "type": "string"
+ },
+ "orderId": {
+ "description": "bytes32 of the purchase (the same as purchaseId).",
+ "type": "string"
+ },
+ "seller": {
+ "description": "The seller's payout wallet.",
+ "type": "string"
+ },
+ "signature": {
+ "description": "EIP-712 signature of Bernuvia's quoteSigner (0x…).",
+ "type": "string"
+ },
+ "token": {
+ "description": "Address of the USDC.",
+ "type": "string"
+ },
+ "verifyingContract": {
+ "description": "Escrow contract of the EIP-712 domain.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "orderId",
+ "buyer",
+ "seller",
+ "token",
+ "amount",
+ "feeBps",
+ "autoReleaseAfter",
+ "nonce",
+ "deadline",
+ "signature",
+ "chainId",
+ "verifyingContract"
+ ],
+ "type": "object"
+}
removedOutput schema / properties / red
Removed value: -{
- "additionalProperties": true,
- "description": "The network where the transactions have to be sent.",
- "properties": {
- "chainId": {
- "description": "Chain id (137 = Polygon).",
- "type": "number"
- },
- "nombre": {
- "description": "Readable name of the network.",
- "type": "string"
- }
- },
- "required": [
- "chainId",
- "nombre"
- ],
- "type": "object"
-}
removedOutput schema / properties / saldos
Removed value: -{
- "additionalProperties": true,
- "description": "Balances of the wallet, read on the fly. If the RPC did not respond, it arrives with `nota` only.",
- "properties": {
- "allowanceSuficiente": {
- "description": "Does the allowance cover the amount? If true, skip step 1.",
- "type": "boolean"
- },
- "allowanceUnidades": {
- "description": "Allowance granted to the escrow, in minimal units and as a decimal string.",
- "type": "string"
- },
- "nota": {
- "description": "Text clarification; it is the ONLY field if the balances could not be read.",
- "type": "string"
- },
- "polFaltante": {
- "description": "The same shortfall in human POL, as a decimal string.",
- "type": "string"
- },
- "polFaltanteWei": {
- "description": "POL that is missing, in wei and as a decimal string (\"0\" if there is enough).",
- "type": "string"
- },
- "polSuficiente": {
- "description": "Is the POL enough for the gas of both steps?",
- "type": "boolean"
- },
- "polWei": {
- "description": "Native POL balance in wei, as a decimal string.",
- "type": "string"
- },
- "usdcFaltanteUnidades": {
- "description": "USDC that is missing, in minimal units and as a decimal string (\"0\" if there is enough).",
- "type": "string"
- },
- "usdcSuficiente": {
- "description": "Does the USDC balance cover the amount?",
- "type": "boolean"
- },
- "usdcUnidades": {
- "description": "USDC balance in minimal units, as a decimal string.",
- "type": "string"
- }
- },
- "type": "object"
-}
addedOutput schema / properties / secondsLeft
Added value: +{
+ "description": "Seconds left on the quote at the time of the response.",
+ "type": "number"
+}
removedOutput schema / properties / segundosRestantes
Removed value: -{
- "description": "Seconds left on the quote at the time of the response.",
- "type": "number"
-}
addedOutput schema / properties / singleSignature
Added value: +{
+ "additionalProperties": true,
+ "description": "Only with `singleSignature: true`: the EIP-3009 authorization you sign so that Bernuvia sends the deposit and pays the gas.",
+ "properties": {
+ "cancel": {
+ "description": "How to withdraw the authorization if you decide not to pay.",
+ "type": "string"
+ },
+ "nextStep": {
+ "description": "What to do with the signature.",
+ "type": "string"
+ },
+ "nonce": {
+ "description": "The bytes32 of the authorization. SAVE IT: it is what cancel_deposit_authorization asks for.",
+ "type": "string"
+ },
+ "originDomain": {
+ "description": "Where the EIP-712 domain came from: \"chain\" (read from the token) or \"assumed\".",
+ "type": "string"
+ },
+ "typedData": {
+ "additionalProperties": true,
+ "description": "The EIP-712 message (ReceiveWithAuthorization) to sign with signTypedData, WITHOUT touching any field.",
+ "properties": {
+ "domain": {
+ "additionalProperties": true,
+ "description": "EIP-712 domain of the USDC (name, version, chainId, verifyingContract).",
+ "type": "object"
+ },
+ "message": {
+ "additionalProperties": true,
+ "description": "The signed values. Amounts go as a decimal string, not as a number.",
+ "properties": {
+ "from": {
+ "description": "Your linked wallet.",
+ "type": "string"
+ },
+ "nonce": {
+ "description": "bytes32 of the authorization (digest of the quote).",
+ "type": "string"
+ },
+ "to": {
+ "description": "The escrow contract.",
+ "type": "string"
+ },
+ "validAfter": {
+ "description": "Start of the window (epoch s), as a decimal string.",
+ "type": "string"
+ },
+ "validBefore": {
+ "description": "End of the window (epoch s), as a decimal string: it is the expiry of the quote.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Authorized amount in minimal units of USDC, as a decimal string.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "value",
+ "validAfter",
+ "validBefore",
+ "nonce"
+ ],
+ "type": "object"
+ },
+ "primaryType": {
+ "description": "Always \"ReceiveWithAuthorization\".",
+ "type": "string"
+ },
+ "types": {
+ "additionalProperties": true,
+ "description": "EIP-712 type definitions.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "domain",
+ "types",
+ "primaryType",
+ "message"
+ ],
+ "type": "object"
+ },
+ "validAfter": {
+ "description": "The same validAfter from the message (epoch s), as a decimal string.",
+ "type": "string"
+ },
+ "validBefore": {
+ "description": "The same validBefore from the message (epoch s), as a decimal string.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "typedData",
+ "nonce",
+ "validAfter",
+ "validBefore",
+ "originDomain",
+ "nextStep",
+ "cancel"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / status
Added value: +{
+ "description": "State of the order once quoted: always \"quoted\".",
+ "type": "string"
+}
removedOutput schema / properties / transacciones
Removed value: -{
- "description": "The transactions of the classic path, IN ORDER: approve (step 1) and fundPurchase (step 2).",
- "items": {
- "additionalProperties": true,
- "properties": {
- "data": {
- "description": "Already encoded calldata (0x…).",
- "type": "string"
- },
- "descripcion": {
- "description": "What that transaction does.",
- "type": "string"
- },
- "gasLimitSugerido": {
- "description": "Suggested gas limit in DECIMAL (string). Kept for compatibility.",
- "type": "string"
- },
- "gasLimitSugeridoHex": {
- "description": "The SAME limit in HEXADECIMAL with 0x: it is the one the JSON-RPC requires (eth_sendTransaction or eth_estimateGas).",
- "type": "string"
- },
- "nombre": {
- "description": "Function that is called: \"approve\" or \"fundPurchase\".",
- "type": "string"
- },
- "omitir": {
- "description": "Only in step 1: true if the allowance already covers the amount and you can skip it.",
- "type": "boolean"
- },
- "paso": {
- "description": "Sending order: 1 approve, 2 fundPurchase.",
- "type": "number"
- },
- "to": {
- "description": "Destination contract of the transaction.",
- "type": "string"
- },
- "value": {
- "description": "Native POL to send, in HEXADECIMAL with 0x (JSON-RPC QUANTITY): always \"0x0\".",
- "type": "string"
- }
- },
- "required": [
- "paso",
- "nombre",
- "to",
- "data",
- "value",
- "gasLimitSugerido",
- "gasLimitSugeridoHex",
- "descripcion"
- ],
- "type": "object"
- },
- "type": "array"
-}
addedOutput schema / properties / transactions
Added value: +{
+ "description": "The transactions of the classic path, IN ORDER: approve (step 1) and fundPurchase (step 2).",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "data": {
+ "description": "Already encoded calldata (0x…).",
+ "type": "string"
+ },
+ "description": {
+ "description": "What that transaction does.",
+ "type": "string"
+ },
+ "gasLimitSuggested": {
+ "description": "Suggested gas limit in DECIMAL (string). Kept for compatibility.",
+ "type": "string"
+ },
+ "gasLimitSuggestedHex": {
+ "description": "The SAME limit in HEXADECIMAL with 0x: it is the one the JSON-RPC requires (eth_sendTransaction or eth_estimateGas).",
+ "type": "string"
+ },
+ "name": {
+ "description": "Function that is called: \"approve\" or \"fundPurchase\".",
+ "type": "string"
+ },
+ "skip": {
+ "description": "Only in step 1: true if the allowance already covers the amount and you can skip it.",
+ "type": "boolean"
+ },
+ "step": {
+ "description": "Sending order: 1 approve, 2 fundPurchase.",
+ "type": "number"
+ },
+ "to": {
+ "description": "Destination contract of the transaction.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Native POL to send, in HEXADECIMAL with 0x (JSON-RPC QUANTITY): always \"0x0\".",
+ "type": "string"
+ }
+ },
+ "required": [
+ "step",
+ "name",
+ "to",
+ "data",
+ "value",
+ "gasLimitSuggested",
+ "gasLimitSuggestedHex",
+ "description"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
removedOutput schema / properties / unaSolaFirma
Removed value: -{
- "additionalProperties": true,
- "description": "Only with `una_sola_firma: true`: the EIP-3009 authorization you sign so that Bernuvia sends the deposit and pays the gas.",
- "properties": {
- "cancelar": {
- "description": "How to withdraw the authorization if you decide not to pay.",
- "type": "string"
- },
- "dominioOrigen": {
- "description": "Where the EIP-712 domain came from: \"cadena\" (read from the token) or \"asumido\".",
- "type": "string"
- },
- "nonce": {
- "description": "The bytes32 of the authorization. SAVE IT: it is what cancel_deposit_authorization asks for.",
- "type": "string"
- },
- "siguientePaso": {
- "description": "What to do with the signature.",
- "type": "string"
- },
- "typedData": {
- "additionalProperties": true,
- "description": "The EIP-712 message (ReceiveWithAuthorization) to sign with signTypedData, WITHOUT touching any field.",
- "properties": {
- "domain": {
- "additionalProperties": true,
- "description": "EIP-712 domain of the USDC (name, version, chainId, verifyingContract).",
- "type": "object"
- },
- "message": {
- "additionalProperties": true,
- "description": "The signed values. Amounts go as a decimal string, not as a number.",
- "properties": {
- "from": {
- "description": "Your linked wallet.",
- "type": "string"
- },
- "nonce": {
- "description": "bytes32 of the authorization (digest of the quote).",
- "type": "string"
- },
- "to": {
- "description": "The escrow contract.",
- "type": "string"
- },
- "validAfter": {
- "description": "Start of the window (epoch s), as a decimal string.",
- "type": "string"
- },
- "validBefore": {
- "description": "End of the window (epoch s), as a decimal string: it is the expiry of the quote.",
- "type": "string"
- },
- "value": {
- "description": "Authorized amount in minimal units of USDC, as a decimal string.",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "value",
- "validAfter",
- "validBefore",
- "nonce"
- ],
- "type": "object"
- },
- "primaryType": {
- "description": "Always \"ReceiveWithAuthorization\".",
- "type": "string"
- },
- "types": {
- "additionalProperties": true,
- "description": "EIP-712 type definitions.",
- "type": "object"
- }
- },
- "required": [
- "domain",
- "types",
- "primaryType",
- "message"
- ],
- "type": "object"
- },
- "validAfter": {
- "description": "The same validAfter from the message (epoch s), as a decimal string.",
- "type": "string"
- },
- "validBefore": {
- "description": "The same validBefore from the message (epoch s), as a decimal string.",
- "type": "string"
- }
- },
- "required": [
- "typedData",
- "nonce",
- "validAfter",
- "validBefore",
- "dominioOrigen",
- "siguientePaso",
- "cancelar"
- ],
- "type": "object"
-}
changedOutput schema / properties / wallet / description
Previous value: -"The wallet that MUST send the transactions (msg.sender == cotizacion.buyer)."New value: +"The wallet that MUST send the transactions (msg.sender == quote.buyer)."
changedOutput schema / required
Previous value: -[
- "ordenId",
- "compraId",
- "estado",
- "red",
- "contratos",
- "wallet",
- "importe",
- "cotizacion",
- "caducaEn",
- "segundosRestantes",
- "transacciones",
- "gas",
- "saldos",
- "instrucciones"
-]New value: +[
+ "orderId",
+ "purchaseId",
+ "status",
+ "network",
+ "contracts",
+ "wallet",
+ "amount",
+ "quote",
+ "expiresAt",
+ "secondsLeft",
+ "transactions",
+ "gas",
+ "balances",
+ "instructions"
+]