diff --git a/.env b/.env index da96c56..d16be21 100644 --- a/.env +++ b/.env @@ -16,10 +16,27 @@ BLOCKCHAIN_NODE=https://blockchain-node.settlemint.com/ # Contracts # To get this open the IDE of the deployed Smart Contract Set on the SettleMint platform. # Open the `ignition/deployments/chain-46622/deployed_addresses.json` json file and copy the address. -NEXT_PUBLIC_CONTRACT_ADDRESS=0x... + +# EAS Contract Address +NEXT_PUBLIC_EAS_CONTRACT_ADDRESS=0x... + +# SchemaRegistry Contract Address +NEXT_PUBLIC_SCHEMA_REGISTRY_CONTRACT_ADDRESS=0x... + +# Schema UID +SCHEMA_UID=0x... + +# Private key +PRIVATE_KEY=0x... # Portal # To get this URL go to the SettleMint platform and select the `Middlewares` option on the right. # From there, select your deployed smart contract portal middleware and choose the `Connect` tab. # Copy the base url (without the `/graphql` or `/api` part). PORTAL_URL=https://smart-contract-portal-middleware.settlemint.com + +# EAS Indexer +# To get this URL, go to the SettleMint platform and select the 'Middlewares' option. +# From there, select your deployed EAS indexer and choose the 'Connect' tab. +# Copy the GraphQL endpoint URL. +EAS_INDEXER_URL=https://attestation-indexer.settlemint.com diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0fea643 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,33 @@ +# Use an official Bun runtime as a parent image +FROM docker.io/oven/bun:1 + +# Install Python and other necessary build tools +RUN apt-get update && apt-get install -y python3 make g++ + +# Set the working directory in the container +WORKDIR /app + +# Copy package.json and bun.lockb (if you're using one) +COPY package.json bun.lockb* ./ + +# Install dependencies +RUN bun install --frozen-lockfile --production + +# Copy the rest of your app's source code +COPY . . + +# Create a writable directory for Next.js image cache +RUN mkdir -p /app/.next/cache/images && chmod 777 /app/.next/cache/images + +# Build your Next.js app +RUN bun run build +# Expose the port your app runs on +EXPOSE 3000 + +# Set environment variable to use the writable cache directory +ENV NEXT_TELEMETRY_DISABLED 1 +ENV NEXT_SHARP_PATH /app/node_modules/sharp + +# Start the app +CMD ["bun", "start"] + diff --git a/attestation-details.json b/attestation-details.json new file mode 100644 index 0000000..e287f0b --- /dev/null +++ b/attestation-details.json @@ -0,0 +1,530 @@ +[ + { + "uid": "0x51e1bbe3e9f5c5d911c2fbf22d6332cca7d990b6496bc3b10c29dd7fcf29b59c", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443141, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b0b700000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d323032342d4e35502d3230373200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001541646469732041626162612c20457468696f706961000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fe53696e676c652d6f726967696e20526f62757374612063756c7469766174656420696e2041646469732041626162612c20457468696f7069612e20526563656e74207261696e66616c6c3a203135376d6d2e204f7267616e6963207065737420636f6e74726f6c206d6574686f647320656d706c6f7965642e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30392d3134292c2046616972205472616465202876616c696420756e74696c20323032352d30392d3134292e204861727665737420646174653a20323032342d30392d31342e2042617463682073697a653a20353030306b672e0000" + }, + { + "uid": "0x5a2aae6b91047e2c3cd35c865c94ea43d461f79c02d3239af787ed1fe86fa61b", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443186, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b0e400000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d323032342d4633432d3437333700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001541646469732041626162612c20457468696f706961000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fc53696e676c652d6f726967696e20526f62757374612063756c7469766174656420696e2041646469732041626162612c20457468696f7069612e20526563656e74207261696e66616c6c3a2038386d6d2e204f7267616e6963207065737420636f6e74726f6c206d6574686f647320656d706c6f7965642e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30392d3237292c2046616972205472616465202876616c696420756e74696c20323032352d30392d3237292e204861727665737420646174653a20323032342d30392d32372e2042617463682073697a653a203530306b672e00000000" + }, + { + "uid": "0xfb022f985f424ec348d49a485fc8539320738e46890a1d5b4c41eb55def29075", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443216, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b10300000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d323032342d41594c2d383438310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000134d6564656c6cc3ad6e2c20436f6c6f6d6269610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4661697220547261646500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010941726162696361206265616e73206861727665737465642066726f6d204d6564656c6cc3ad6e2c20436f6c6f6d626961206174206f7074696d616c20726970656e6573732e20416c7469747564653a20313532316d2e20536f696c2070483a20362e312e2053686164652d67726f776e20756e646572206e61746976652074726565732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30332d3231292c2046616972205472616465202876616c696420756e74696c20323032352d30332d3231292e204861727665737420646174653a20323032342d30332d32312e2042617463682073697a653a20313030306b672e0000000000000000000000000000000000000000000000" + }, + { + "uid": "0x75ca4384af44311445455cf7e0f36a575e86fb00be92bef999da814c1c2f2d99", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443261, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b13000000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d323032342d4c474c2d353435380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124a616b617274612c20496e646f6e6573696100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e341726162696361206265616e73206861727665737465642066726f6d204a616b617274612c20496e646f6e65736961206174206f7074696d616c20726970656e6573732e20416c7469747564653a20313730326d2e20536f696c2070483a20362e352e2053686164652d67726f776e20756e646572206e61746976652074726565732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30392d3038292e204861727665737420646174653a20323032342d30392d30382e2042617463682073697a653a20353030306b672e0000000000000000000000000000000000000000000000000000000000" + }, + { + "uid": "0x52cc449fa5fc3008366c1c80356e0930d4c7df0805c590640ad387eb28552620", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443291, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b15000000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d323032342d4f51532d3339393600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4e616b7572752c204b656e79610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4661697220547261646500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010241726162696361206265616e73206861727665737465642066726f6d204e616b7572752c204b656e7961206174206f7074696d616c20726970656e6573732e20416c7469747564653a20313632306d2e20536f696c2070483a20362e362e2053686164652d67726f776e20756e646572206e61746976652074726565732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30362d3132292c2046616972205472616465202876616c696420756e74696c20323032352d30362d3132292e204861727665737420646174653a20323032342d30362d31322e2042617463682073697a653a203235306b672e000000000000000000000000000000000000000000000000000000000000" + }, + { + "uid": "0x229305d610c2692c9a7d0dcea040793b213b24a3747a4a0bf1a3a09e96f9d3e4", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443336, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b17a00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c051e1bbe3e9f5c5d911c2fbf22d6332cca7d990b6496bc3b10c29dd7fcf29b59c000000000000000000000000000000000000000000000000000000000000000d323032342d4e35502d323037320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000134261686972204461722c20457468696f706961000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e6365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000105486f6e65792070726f63657373206170706c69656420746f20656e68616e63652073776565746e6573732e204d7563696c616765207061727469616c6c792072656d6f7665642e20447279696e672074696d653a2031332064617973206f6e2072616973656420626564732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30392d3239292c2046616972205472616465202876616c696420756e74696c20323032352d30392d3239292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d30392d3239292e2042617463682073697a653a20353030306b672e000000000000000000000000000000000000000000000000000000" + }, + { + "uid": "0xe98062cd215fcb65b645b7d49c03abd31c3a5ec812de4c558711e2122729986d", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443366, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b19900000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d323032342d5544512d303731390000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000134361727461676f2c20436f7374612052696361000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000012853696e676c652d6f726967696e20526f62757374612063756c7469766174656420696e204361727461676f2c20436f73746120526963612e20526563656e74207261696e66616c6c3a2038346d6d2e204f7267616e6963207065737420636f6e74726f6c206d6574686f647320656d706c6f7965642e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30372d3231292c2046616972205472616465202876616c696420756e74696c20323032352d30372d3231292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d30372d3231292e204861727665737420646174653a20323032342d30372d32312e2042617463682073697a653a203130306b672e000000000000000000000000000000000000000000000000" + }, + { + "uid": "0xfb79af08d95fda742dbc10ef6f282f2f7996a11c994d765046d2cd1d149323c7", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443381, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b1b100000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d323032342d31535a2d38333632000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011486177617373612c20457468696f70696100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa53696e676c652d6f726967696e20526f62757374612063756c7469766174656420696e20486177617373612c20457468696f7069612e20526563656e74207261696e66616c6c3a203134346d6d2e204f7267616e6963207065737420636f6e74726f6c206d6574686f647320656d706c6f7965642e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31312d3133292c2046616972205472616465202876616c696420756e74696c20323032352d31312d3133292e204861727665737420646174653a20323032342d31312d31332e2042617463682073697a653a20353030306b672e000000000000" + }, + { + "uid": "0xe554651dd711b8aea6f86bcf95f34d7c566fe953e5c5567caebebb5951fa84b3", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443396, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b1c100000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000200e98062cd215fcb65b645b7d49c03abd31c3a5ec812de4c558711e2122729986d000000000000000000000000000000000000000000000000000000000000000d323032342d5544512d3037313900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001553616e204a6f73c3a92c20436f737461205269636100000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b44e61747572616c2070726f636573733a2063686572726965732073756e2d647269656420666f7220313920646179732e20436f6e7374616e74206d6f6e69746f72696e6720666f72206d6f697374757265206c6576656c7320616e6420706f74656e7469616c20646566656374732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30382d3034292e2042617463682073697a653a203130306b672e000000000000000000000000" + }, + { + "uid": "0x143aca8b05b6ffdb7c0fa1d47edee233a628a5be435d205bc82a01d7b8bc902b", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443426, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b1d500000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000260fb022f985f424ec348d49a485fc8539320738e46890a1d5b4c41eb55def29075000000000000000000000000000000000000000000000000000000000000000d323032342d41594c2d38343831000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013436172746167656e612c20436f6c6f6d6269610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000da4e61747572616c2070726f636573733a2063686572726965732073756e2d647269656420666f7220323120646179732e20436f6e7374616e74206d6f6e69746f72696e6720666f72206d6f697374757265206c6576656c7320616e6420706f74656e7469616c20646566656374732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30342d3035292c2046616972205472616465202876616c696420756e74696c20323032352d30342d3035292e2042617463682073697a653a20313030306b672e000000000000" + }, + { + "uid": "0x80bcc483977a062d8907df5cf011db48f70eb6bf82750411e3a0f25934ade1c6", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443456, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b1fa00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c0e554651dd711b8aea6f86bcf95f34d7c566fe953e5c5567caebebb5951fa84b3000000000000000000000000000000000000000000000000000000000000000d323032342d5544512d30373139000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014416c616a75656c612c20436f73746120526963610000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e63650000000000000000000000000000000000000000000000000000000000000000000000000000000000000001114578706f727420646f63756d656e746174696f6e20636f6d706c6574656420666f7220323032342d5544512d303731392e2046616972205472616465207072656d69756d3a2024302e31392f6c622e20436f6e7461696e6572206c6f61646564207769746820312062616773202836396b672065616368292e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30382d3230292c2046616972205472616465202876616c696420756e74696c20323032352d30382d3230292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d30382d3230292e2042617463682073697a653a203130306b672e000000000000000000000000000000" + }, + { + "uid": "0xecc445601ac918bffb8871f00f178cd3b806695fe644bf5e8212fc647b4a485d", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443486, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b21000000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc1000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000020080bcc483977a062d8907df5cf011db48f70eb6bf82750411e3a0f25934ade1c6000000000000000000000000000000000000000000000000000000000000000d323032342d5544512d3037313900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e4d616c6dc3b62c2053776564656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e053616d706c65732066726f6d20323032342d5544512d3037313920726f617374656420616e64206375707065642075706f6e206172726976616c2e20466c61766f722070726f66696c65206d617463686573207072652d736869706d656e742073616d706c65732e2053746f72656420696e20636c696d6174652d636f6e74726f6c6c65642077617265686f7573652061742032302e34c2b0432e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30392d3034292e2042617463682073697a653a203130306b672e" + }, + { + "uid": "0xa3e7852934f98ce14fd21e7a792fae1649e14cb3c8ea9743bd50f0857b506063", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443516, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b23400000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc1000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000026052cc449fa5fc3008366c1c80356e0930d4c7df0805c590640ad387eb28552620000000000000000000000000000000000000000000000000000000000000000d323032342d4f51532d3339393600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e4d6f6d626173612c204b656e796100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f95765742070726f63657373696e67206d6574686f64207573656420666f7220626174636820323032342d4f51532d3339393620696e204d6f6d626173612c204b656e79612e204665726d656e746174696f6e2074696d653a20323920686f7572732e20576174657220636f6e73756d7074696f6e3a2031382e304c20706572206b67206f662063686572726965732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30372d3031292c2046616972205472616465202876616c696420756e74696c20323032352d30372d3031292e2042617463682073697a653a203235306b672e00000000000000" + }, + { + "uid": "0x22c127886d6f1168c738eda98d90a3f747e88b39c4d5fd30ffab2740048967bf", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443546, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b24d00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc10000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000200143aca8b05b6ffdb7c0fa1d47edee233a628a5be435d205bc82a01d7b8bc902b000000000000000000000000000000000000000000000000000000000000000d323032342d41594c2d383438310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000134d6564656c6cc3ad6e2c20436f6c6f6d626961000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d1426174636820323032342d41594c2d3834383120707265706172656420666f72206578706f72742066726f6d204d6564656c6cc3ad6e2c20436f6c6f6d6269612e204d6f69737475726520636f6e74656e743a2031302e36252e205061636b6167656420696e20477261696e50726f206261677320666f72206f7074696d616c2066726573686e6573732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30342d3232292e2042617463682073697a653a20313030306b672e000000000000000000000000000000" + }, + { + "uid": "0x6a808269d883bb9f82a294e8e9aa6924e80e22cb448916382cfe597b38fae1a7", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443576, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b26f00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc1000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000026075ca4384af44311445455cf7e0f36a575e86fb00be92bef999da814c1c2f2d99000000000000000000000000000000000000000000000000000000000000000d323032342d4c474c2d353435380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000104d6564616e2c20496e646f6e657369610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fc5765742070726f63657373696e67206d6574686f64207573656420666f7220626174636820323032342d4c474c2d3534353820696e204d6564616e2c20496e646f6e657369612e204665726d656e746174696f6e2074696d653a20333420686f7572732e20576174657220636f6e73756d7074696f6e3a2032332e384c20706572206b67206f662063686572726965732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30392d3236292c2046616972205472616465202876616c696420756e74696c20323032352d30392d3236292e2042617463682073697a653a20353030306b672e00000000" + }, + { + "uid": "0x1297cd94f2cfe56a97660a342d6580649d822c78c35fbf1d508743f6ad84a915", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443606, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b28a00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d323032342d44594c2d3232323100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e48616e6f692c20566965746e616d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4661697220547261646500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010c4d6978656420766172696574616c732066726f6d20736d616c6c2d7363616c65206661726d65727320696e2048616e6f692c20566965746e616d2e20436f6d6d756e6974792d737570706f72746564206167726963756c7475726520696e69746961746976652e2041766572616765206661726d2073697a653a20322e362068656374617265732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30372d3139292c2046616972205472616465202876616c696420756e74696c20323032352d30372d3139292e204861727665737420646174653a20323032342d30372d31392e2042617463682073697a653a203130306b672e0000000000000000000000000000000000000000" + }, + { + "uid": "0xba48fb57eb6eae909c1411e32e147d034bf11bbc09fa6790201d4e14c5f1a611", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443636, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b2af00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d323032342d425a4e2d3132343900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4e616b7572752c204b656e7961000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e74d6978656420766172696574616c732066726f6d20736d616c6c2d7363616c65206661726d65727320696e204e616b7572752c204b656e79612e20436f6d6d756e6974792d737570706f72746564206167726963756c7475726520696e69746961746976652e2041766572616765206661726d2073697a653a20332e382068656374617265732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31322d3232292e204861727665737420646174653a20323032342d31322d32322e2042617463682073697a653a20313030306b672e00000000000000000000000000000000000000000000000000" + }, + { + "uid": "0x4cb8b6bb2996ab05e8048381b11ebdd0a79f8018c4aed38a78d4b333badbbac6", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443666, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b2c700000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c06a808269d883bb9f82a294e8e9aa6924e80e22cb448916382cfe597b38fae1a7000000000000000000000000000000000000000000000000000000000000000d323032342d4c474c2d3534353800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001353757261626179612c20496e646f6e65736961000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e6365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124426174636820323032342d4c474c2d3534353820707265706172656420666f72206578706f72742066726f6d2053757261626179612c20496e646f6e657369612e204d6f69737475726520636f6e74656e743a2031302e30252e205061636b6167656420696e20477261696e50726f206261677320666f72206f7074696d616c2066726573686e6573732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31302d3035292c2046616972205472616465202876616c696420756e74696c20323032352d31302d3035292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d31302d3035292e2042617463682073697a653a20353030306b672e00000000000000000000000000000000000000000000000000000000" + }, + { + "uid": "0x12f58aed2016fd3d34c607b2df423fb1a4b0c842bb4056fe02e88cda647f2f4c", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443696, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b2e800000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000200fb79af08d95fda742dbc10ef6f282f2f7996a11c994d765046d2cd1d149323c7000000000000000000000000000000000000000000000000000000000000000d323032342d31535a2d3833363200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001541646469732041626162612c20457468696f70696100000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b2486f6e65792070726f63657373206170706c69656420746f20656e68616e63652073776565746e6573732e204d7563696c616765207061727469616c6c792072656d6f7665642e20447279696e672074696d653a2031352064617973206f6e2072616973656420626564732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31312d3230292e2042617463682073697a653a20353030306b672e0000000000000000000000000000" + }, + { + "uid": "0xdd0940b928133cce776ed5b3a3b211b62afe786e5ba829ae8b89f47778a48324", + "schema": "0x0000000000000000000000000000000000000000000000000000000000000000", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x0000000000000000000000000000000000000000", + "time": 0, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": false, + "data": "0x" + }, + { + "uid": "0xb28aaa90cf0305488a4027b435ef6e2fe9618e5517a3b81e44353441c6a46792", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443741, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b30e00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c012f58aed2016fd3d34c607b2df423fb1a4b0c842bb4056fe02e88cda647f2f4c000000000000000000000000000000000000000000000000000000000000000d323032342d31535a2d383336320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000134261686972204461722c20457468696f706961000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000010c5072652d736869706d656e742073616d706c65732073656e7420746f20696d706f72746572732e2043757070696e672073636f72653a2038382e312e204e6f746573206f6620636172616d656c2c2074726f706963616c2066727569742c20616e642068657262616c2064657465637465642e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31322d3034292c2046616972205472616465202876616c696420756e74696c20323032352d31322d3034292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d31322d3034292e2042617463682073697a653a20353030306b672e0000000000000000000000000000000000000000" + }, + { + "uid": "0x508e752355c22a00bf7bdc72eaf394a11de1b273680bd225366a7afaef62ea46", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443771, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b33400000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c0dd0940b928133cce776ed5b3a3b211b62afe786e5ba829ae8b89f47778a48324000000000000000000000000000000000000000000000000000000000000000d323032342d4e35502d3230373200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b476c6173676f772c20554b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e6365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110426174636820323032342d4e35502d3230373220636c656172656420637573746f6d7320696e20476c6173676f772c20554b2e205175616c69747920636f6e74726f6c20636865636b20706572666f726d65643a206f7074696d616c206d6f697374757265206c6576656c7320636f6e6669726d65642e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31302d3137292c2046616972205472616465202876616c696420756e74696c20323032352d31302d3137292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d31302d3137292e2042617463682073697a653a20353030306b672e00000000000000000000000000000000" + }, + { + "uid": "0x3cc08d8ebde3411d74f0275f4666ea0b88dbe243fa3f020f94f0b115eecbecbe", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443801, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b35300000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002604cb8b6bb2996ab05e8048381b11ebdd0a79f8018c4aed38a78d4b333badbbac6000000000000000000000000000000000000000000000000000000000000000d323032342d4c474c2d35343538000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016416d7374657264616d2c204e65746865726c616e64730000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4661697220547261646500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011453616d706c65732066726f6d20323032342d4c474c2d3534353820726f617374656420616e64206375707065642075706f6e206172726976616c2e20466c61766f722070726f66696c6520736c696768746c7920646966666572732066726f6d207072652d736869706d656e742073616d706c65732e2053746f72656420696e20636c696d6174652d636f6e74726f6c6c65642077617265686f7573652061742031392e34c2b0432e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31302d3135292c2046616972205472616465202876616c696420756e74696c20323032352d31302d3135292e2042617463682073697a653a20353030306b672e000000000000000000000000" + }, + { + "uid": "0xa677e5ccd5c029597d635c96ffdc65e5c474debeba5c2de0e602d8176fdc561b", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443831, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b37200000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c0ba48fb57eb6eae909c1411e32e147d034bf11bbc09fa6790201d4e14c5f1a611000000000000000000000000000000000000000000000000000000000000000d323032342d425a4e2d3132343900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e4d6f6d626173612c204b656e79610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e63650000000000000000000000000000000000000000000000000000000000000000000000000000000000000001285765742070726f63657373696e67206d6574686f64207573656420666f7220626174636820323032342d425a4e2d3132343920696e204d6f6d626173612c204b656e79612e204665726d656e746174696f6e2074696d653a20343720686f7572732e20576174657220636f6e73756d7074696f6e3a2032332e314c20706572206b67206f662063686572726965732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032362d30312d3035292c2046616972205472616465202876616c696420756e74696c20323032362d30312d3035292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032362d30312d3035292e2042617463682073697a653a20313030306b672e000000000000000000000000000000000000000000000000" + }, + { + "uid": "0x472bb619814a4783a76b7317fdb24a23e0d84213bebb3e35a3e8da24f66a8895", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443846, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b38000000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c0a3e7852934f98ce14fd21e7a792fae1649e14cb3c8ea9743bd50f0857b506063000000000000000000000000000000000000000000000000000000000000000d323032342d4f51532d3339393600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4b6973756d752c204b656e7961000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000011d426174636820323032342d4f51532d3339393620707265706172656420666f72206578706f72742066726f6d204b6973756d752c204b656e79612e204d6f69737475726520636f6e74656e743a2031302e38252e205061636b6167656420696e20477261696e50726f206261677320666f72206f7074696d616c2066726573686e6573732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30372d3133292c2046616972205472616465202876616c696420756e74696c20323032352d30372d3133292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d30372d3133292e2042617463682073697a653a203235306b672e000000" + }, + { + "uid": "0x295681498f0a691c1ebf7d778698177e2a641557ff9155bf71136018feb3e82f", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443861, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b39200000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002605a2aae6b91047e2c3cd35c865c94ea43d461f79c02d3239af787ed1fe86fa61b000000000000000000000000000000000000000000000000000000000000000d323032342d4633432d343733370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000134469726520446177612c20457468696f7069610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fe5765742070726f63657373696e67206d6574686f64207573656420666f7220626174636820323032342d4633432d3437333720696e204469726520446177612c20457468696f7069612e204665726d656e746174696f6e2074696d653a20333620686f7572732e20576174657220636f6e73756d7074696f6e3a2031392e334c20706572206b67206f662063686572726965732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31302d3136292c2046616972205472616465202876616c696420756e74696c20323032352d31302d3136292e2042617463682073697a653a203530306b672e0000" + }, + { + "uid": "0xcf7fa631cf4ca4672f9ffa909f92a586921e3eab1999f205b48bdae271152b44", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443891, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b3a300000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc1000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000020022c127886d6f1168c738eda98d90a3f747e88b39c4d5fd30ffab2740048967bf000000000000000000000000000000000000000000000000000000000000000d323032342d41594c2d3834383100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001244616567752c20536f757468204b6f72656100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e153616d706c65732066726f6d20323032342d41594c2d3834383120726f617374656420616e64206375707065642075706f6e206172726976616c2e20466c61766f722070726f66696c65206d617463686573207072652d736869706d656e742073616d706c65732e2053746f72656420696e20636c696d6174652d636f6e74726f6c6c65642077617265686f7573652061742032312e34c2b0432e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30352d3131292e2042617463682073697a653a20313030306b672e00000000000000000000000000000000000000000000000000000000000000" + }, + { + "uid": "0xb6a8dfe79e3aa98e1df85a5c8e0588509d923a9abf7e7c9d73f58dd99874fc2f", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443921, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b3ce00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000260ecc445601ac918bffb8871f00f178cd3b806695fe644bf5e8212fc647b4a485d000000000000000000000000000000000000000000000000000000000000000d323032342d5544512d3037313900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001156616e636f757665722c2043616e61646100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ea526f617374656420323032342d5544512d3037313920746f206461726b2070726f66696c652e20466972737420637261636b206174203139352e38c2b0432c20746f74616c20726f6173742074696d652031312e30206d696e757465732e20436f6f6c656420616e6420646567617373656420666f7220313820686f7572732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30392d3232292c2046616972205472616465202876616c696420756e74696c20323032352d30392d3232292e2042617463682073697a653a203130306b672e00000000000000000000000000000000000000000000" + }, + { + "uid": "0xea1f3acc2e4665de3287f8d2b88d6194627c95dc669b5b58d8effed214621f53", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443936, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b3db00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c0472bb619814a4783a76b7317fdb24a23e0d84213bebb3e35a3e8da24f66a8895000000000000000000000000000000000000000000000000000000000000000d323032342d4f51532d333939360000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000134164656c616964652c204175737472616c6961000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000013b496d706f72742064757469657320706169642e2054726163656162696c69747920696e666f726d6174696f6e2076657269666965642e20426174636820323032342d4f51532d3339393620726561647920666f7220646973747269627574696f6e20746f206c6f63616c20726f6173746572732e20434fe2828220666c757368696e67206170706c69656420666f7220657874656e6465642066726573686e6573732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30372d3231292c2046616972205472616465202876616c696420756e74696c20323032352d30372d3231292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d30372d3231292e2042617463682073697a653a203235306b672e0000000000" + }, + { + "uid": "0x2f8f012d8c1d41ea8c13f6274ece8676a4f87489685c8ced2f12733784f978ee", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443966, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b3f300000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c0b28aaa90cf0305488a4027b435ef6e2fe9618e5517a3b81e44353441c6a46792000000000000000000000000000000000000000000000000000000000000000d323032342d31535a2d3833363200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001645696e64686f76656e2c204e65746865726c616e6473000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000013c496d706f72742064757469657320706169642e2054726163656162696c69747920696e666f726d6174696f6e2076657269666965642e20426174636820323032342d31535a2d3833363220726561647920666f7220646973747269627574696f6e20746f206c6f63616c20726f6173746572732e20434fe2828220666c757368696e67206170706c69656420666f7220657874656e6465642066726573686e6573732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31322d3139292c2046616972205472616465202876616c696420756e74696c20323032352d31322d3139292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d31322d3139292e2042617463682073697a653a20353030306b672e00000000" + }, + { + "uid": "0x1ab6dbd91d2de60f9674bd4d37558984c0487c05677ffb26fa3337b7ecf0328b", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727443996, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b41100000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000200cf7fa631cf4ca4672f9ffa909f92a586921e3eab1999f205b48bdae271152b44000000000000000000000000000000000000000000000000000000000000000d323032342d41594c2d3834383100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f4265726c696e2c204765726d616e7900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ba4c6967687420726f617374206170706c69656420746f207072657365727665206f726967696e206368617261637465726973746963732e20526f61737420636f6c6f723a20416774726f6e2036312e2042617463682073697a653a203830306b6720616674657220776569676874206c6f73732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30352d3230292e2042617463682073697a653a20313030306b672e000000000000" + }, + { + "uid": "0x58f717f0bcd253a1832db1edd047df7ed25f99542021a78d792326a294987024", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444026, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b42f00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c02f8f012d8c1d41ea8c13f6274ece8676a4f87489685c8ced2f12733784f978ee000000000000000000000000000000000000000000000000000000000000000d323032342d31535a2d3833363200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f466c6f72656e63652c204974616c7900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e457370726573736f20726f61737420646576656c6f70656420666f7220626174636820323032342d31535a2d383336322e205365636f6e6420637261636b20726561636865642e20506f73742d726f61737420626c656e64206f662038372520466c6f72656e63652c204974616c79206265616e73207769746820313725204272617a696c69616e20666f722062616c616e63652e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032362d30312d3031292c2046616972205472616465202876616c696420756e74696c20323032362d30312d3031292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032362d30312d3031292e2042617463682073697a653a20353030306b672e000000000000000000000000000000000000" + }, + { + "uid": "0x18efb935ff4af436467e12ae22b19c21df83a3cd2752914112526716a005b1aa", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444056, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b44a00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c0508e752355c22a00bf7bdc72eaf394a11de1b273680bd225366a7afaef62ea46000000000000000000000000000000000000000000000000000000000000000d323032342d4e35502d3230373200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001256c3a473746572c3a5732c2053776564656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000011b526f617374656420323032342d4e35502d3230373220746f206d656469756d2070726f66696c652e20466972737420637261636b206174203139382e33c2b0432c20746f74616c20726f6173742074696d652031312e30206d696e757465732e20436f6f6c656420616e6420646567617373656420666f7220323920686f7572732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31312d3034292c2046616972205472616465202876616c696420756e74696c20323032352d31312d3034292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d31312d3034292e2042617463682073697a653a20353030306b672e0000000000" + }, + { + "uid": "0xfb044f802ac56eda681de1ed320898072af4ca647a9a057c571ee985cd2a4d59", + "schema": "0x0000000000000000000000000000000000000000000000000000000000000000", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x0000000000000000000000000000000000000000", + "time": 0, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": false, + "data": "0x" + }, + { + "uid": "0x6be9fe35d4268c64929546908f03f39da5f98de8ba1381dfaf93b52e220d2259", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444146, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b4a600000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002001297cd94f2cfe56a97660a342d6580649d822c78c35fbf1d508743f6ad84a915000000000000000000000000000000000000000000000000000000000000000d323032342d44594c2d32323231000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019486f20436869204d696e6820436974792c20566965746e616d000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1486f6e65792070726f63657373206170706c69656420746f20656e68616e63652073776565746e6573732e204d7563696c616765207061727469616c6c792072656d6f7665642e20447279696e672074696d653a2031362064617973206f6e2072616973656420626564732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30382d3031292e2042617463682073697a653a203130306b672e000000000000000000000000000000" + }, + { + "uid": "0xd82adc807676e3d20a0d9ef64733c54253d7dd5a014e5fc2b774d21a1aece2ca", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444161, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b4b800000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc10000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000260295681498f0a691c1ebf7d778698177e2a641557ff9155bf71136018feb3e82f000000000000000000000000000000000000000000000000000000000000000d323032342d4633432d3437333700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001541646469732041626162612c20457468696f706961000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f7426174636820323032342d4633432d3437333720707265706172656420666f72206578706f72742066726f6d2041646469732041626162612c20457468696f7069612e204d6f69737475726520636f6e74656e743a2031302e39252e205061636b6167656420696e20477261696e50726f206261677320666f72206f7074696d616c2066726573686e6573732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d31302d3238292c2046616972205472616465202876616c696420756e74696c20323032352d31302d3238292e2042617463682073697a653a203530306b672e000000000000000000" + }, + { + "uid": "0x7370925b9ed0e4b5af06821e10ceeb85a9a3801104a36c811eb69aa053c5d5ab", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444191, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b4d700000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d323032342d4255522d3439393500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001053616c7661646f722c204272617a696c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ea4d6978656420766172696574616c732066726f6d20736d616c6c2d7363616c65206661726d65727320696e2053616c7661646f722c204272617a696c2e20436f6d6d756e6974792d737570706f72746564206167726963756c7475726520696e69746961746976652e2041766572616765206661726d2073697a653a20332e342068656374617265732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30352d3135292e204861727665737420646174653a20323032342d30352d31352e2042617463682073697a653a20353030306b672e00000000000000000000000000000000000000000000" + }, + { + "uid": "0xb5f04c57f0f27adb8a136cb921ce48e3b8bc28fb0a4672894210333bcfc7f0aa", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444221, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b4f400000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c0ea1f3acc2e4665de3287f8d2b88d6194627c95dc669b5b58d8effed214621f53000000000000000000000000000000000000000000000000000000000000000d323032342d4f51532d3339393600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4e61676f79612c204a6170616e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000010c4c6967687420726f617374206170706c69656420746f207072657365727665206f726967696e206368617261637465726973746963732e20526f61737420636f6c6f723a20416774726f6e2035382e2042617463682073697a653a203230306b6720616674657220776569676874206c6f73732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30372d3330292c2046616972205472616465202876616c696420756e74696c20323032352d30372d3330292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d30372d3330292e2042617463682073697a653a203235306b672e0000000000000000000000000000000000000000" + }, + { + "uid": "0x1819debff8fc5f388d5196f8381d06a18d8d86a67ce3a53ba0d69a2160872459", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444251, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b50d00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002606be9fe35d4268c64929546908f03f39da5f98de8ba1381dfaf93b52e220d2259000000000000000000000000000000000000000000000000000000000000000d323032342d44594c2d3232323100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e48616e6f692c20566965746e616d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d75072652d736869706d656e742073616d706c65732073656e7420746f20696d706f72746572732e2043757070696e672073636f72653a2038302e312e204e6f746573206f662063686f636f6c6174652c206369747275732c20616e642068657262616c2064657465637465642e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30382d3137292c2046616972205472616465202876616c696420756e74696c20323032352d30382d3137292e2042617463682073697a653a203130306b672e000000000000000000" + }, + { + "uid": "0x0f07f9af3160368af68d12c42b757feca077e5288035b07f14fd71aa01f6fead", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444356, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b57a00000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc10000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000200a677e5ccd5c029597d635c96ffdc65e5c474debeba5c2de0e602d8176fdc561b000000000000000000000000000000000000000000000000000000000000000d323032342d425a4e2d3132343900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e4d6f6d626173612c204b656e79610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c04578706f727420646f63756d656e746174696f6e20636f6d706c6574656420666f7220323032342d425a4e2d313234392e2046616972205472616465207072656d69756d3a2024302e32362f6c622e20436f6e7461696e6572206c6f6164656420776974682031342062616773202836396b672065616368292e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032362d30312d3232292e2042617463682073697a653a20313030306b672e" + }, + { + "uid": "0x20656b7fdae1f8ebb9ff246eeddf60377befa67c36503ff9043cef5cf47a45d8", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444371, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b59000000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c01819debff8fc5f388d5196f8381d06a18d8d86a67ce3a53ba0d69a2160872459000000000000000000000000000000000000000000000000000000000000000d323032342d44594c2d3232323100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f466c6f72656e63652c204974616c7900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000013b496d706f72742064757469657320706169642e2054726163656162696c69747920696e666f726d6174696f6e2076657269666965642e20426174636820323032342d44594c2d3232323120726561647920666f7220646973747269627574696f6e20746f206c6f63616c20726f6173746572732e20434fe2828220666c757368696e67206170706c69656420666f7220657874656e6465642066726573686e6573732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30392d3034292c2046616972205472616465202876616c696420756e74696c20323032352d30392d3034292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d30392d3034292e2042617463682073697a653a203130306b672e0000000000" + }, + { + "uid": "0x57f0bebc8b5923c56640bf73b0eecc4652c962a3f8317374214392233420cec5", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444431, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b5c300000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002c07370925b9ed0e4b5af06821e10ceeb85a9a3801104a36c811eb69aa053c5d5ab000000000000000000000000000000000000000000000000000000000000000d323032342d4255522d3439393500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001642656c6f20486f72697a6f6e74652c204272617a696c000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000135261696e666f7265737420416c6c69616e6365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000105486f6e65792070726f63657373206170706c69656420746f20656e68616e63652073776565746e6573732e204d7563696c616765207061727469616c6c792072656d6f7665642e20447279696e672074696d653a2031342064617973206f6e2072616973656420626564732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30352d3233292c2046616972205472616465202876616c696420756e74696c20323032352d30352d3233292c205261696e666f7265737420416c6c69616e6365202876616c696420756e74696c20323032352d30352d3233292e2042617463682073697a653a20353030306b672e000000000000000000000000000000000000000000000000000000" + }, + { + "uid": "0xc1f357ccfecac2843c81f9d72ee210d891d7b4a78d22fb5df88a1dcc2255206b", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727444461, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6b5e600000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002000f07f9af3160368af68d12c42b757feca077e5288035b07f14fd71aa01f6fead000000000000000000000000000000000000000000000000000000000000000d323032342d425a4e2d313234390000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124672616e6b667572742c204765726d616e7900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000074f7267616e69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e9496d706f72742064757469657320706169642e2054726163656162696c69747920696e666f726d6174696f6e2076657269666965642e20426174636820323032342d425a4e2d3132343920726561647920666f7220646973747269627574696f6e20746f206c6f63616c20726f6173746572732e20434fe2828220666c757368696e67206170706c69656420666f7220657874656e6465642066726573686e6573732e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032362d30312d3330292e2042617463682073697a653a20313030306b672e0000000000000000000000000000000000000000000000" + }, + { + "uid": "0x761ebad9c1c04b24582a20238cf1d6c73a3da19e1797979e6f1c5d5a16f8f40b", + "schema": "0xb63b9100d7506fe1cf467ce00a75e802c02214ad2a632e647a62628184b1c472", + "recipient": "0x0000000000000000000000000000000000000000", + "attester": "0x89A13bA9c441074368cFa15A17461182Eec5CBC1", + "time": 1727446381, + "expirationTime": 0, + "revocationTime": 0, + "refUID": "0x0000000000000000000000000000000000000000000000000000000000000000", + "revocable": true, + "data": "0x00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000066f6bd6800000000000000000000000089a13ba9c441074368cfa15a17461182eec5cbc1000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000026020656b7fdae1f8ebb9ff246eeddf60377befa67c36503ff9043cef5cf47a45d8000000000000000000000000000000000000000000000000000000000000000d323032342d44594c2d3232323100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d56656e6963652c204974616c790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074f7267616e696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a466169722054726164650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fd457370726573736f20726f61737420646576656c6f70656420666f7220626174636820323032342d44594c2d323232312e205365636f6e6420637261636b20726561636865642e20506f73742d726f61737420626c656e64206f66203736252056656e6963652c204974616c79206265616e73207769746820313625204272617a696c69616e20666f722062616c616e63652e2043657274696669636174696f6e733a204f7267616e6963202876616c696420756e74696c20323032352d30392d3136292c2046616972205472616465202876616c696420756e74696c20323032352d30392d3136292e2042617463682073697a653a203130306b672e000000" + } +] \ No newline at end of file diff --git a/bun.lockb b/bun.lockb index e9ff6a3..7e23163 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/contractData/GenericERC20.json b/contractData/GenericERC20.json deleted file mode 100644 index 2cef5c7..0000000 --- a/contractData/GenericERC20.json +++ /dev/null @@ -1,731 +0,0 @@ -{ - "_format": "hh-sol-artifact-1", - "contractName": "GenericERC20", - "sourceName": "contracts/GenericERC20.sol", - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [], - "name": "ECDSAInvalidSignature", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "ECDSAInvalidSignatureLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "ECDSAInvalidSignatureS", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "allowance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "needed", - "type": "uint256" - } - ], - "name": "ERC20InsufficientAllowance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "needed", - "type": "uint256" - } - ], - "name": "ERC20InsufficientBalance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "approver", - "type": "address" - } - ], - "name": "ERC20InvalidApprover", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "receiver", - "type": "address" - } - ], - "name": "ERC20InvalidReceiver", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "ERC20InvalidSender", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "ERC20InvalidSpender", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "ERC2612ExpiredSignature", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "signer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "ERC2612InvalidSigner", - "type": "error" - }, - { - "inputs": [], - "name": "EnforcedPause", - "type": "error" - }, - { - "inputs": [], - "name": "ExpectedPause", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "currentNonce", - "type": "uint256" - } - ], - "name": "InvalidAccountNonce", - "type": "error" - }, - { - "inputs": [], - "name": "InvalidShortString", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "OwnableInvalidOwner", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "OwnableUnauthorizedAccount", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "str", - "type": "string" - } - ], - "name": "StringTooLong", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [], - "name": "EIP712DomainChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "Paused", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "Unpaused", - "type": "event" - }, - { - "inputs": [], - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "burn", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "burnFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712Domain", - "outputs": [ - { - "internalType": "bytes1", - "name": "fields", - "type": "bytes1" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "uint256[]", - "name": "extensions", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "mint", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "nonces", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "pause", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "paused", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "permit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "unpause", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x6101606040818152346200051a576200204e80380380916200002282866200051f565b843982019181818403126200051a5780516001600160401b0392908381116200051a57846200005391840162000568565b91602094858201518581116200051a576200006f920162000568565b815194828601868110868211176200042557835260019485875281870195603160f81b87528551828111620004255760038054918383811c931680156200050f575b86841014620004f957601f92838111620004ae575b50808684821160011462000447576000916200043b575b5060001982841b1c191690841b1781555b855191848311620004255760049687548581811c911680156200041a575b888210146200040557828111620003ba575b50869184116001146200034f5793839491849260009562000343575b50501b92600019911b1c19161783555b60055433156200032c576001600160a81b0319811633600881811b610100600160a81b03169290921760055591901c6001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3620001b285620005c3565b95610120968752620001c4886200076b565b95610140968752838151910120978860e05251902096610100978089524660a052855190848201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f84528783015260608201524660808201523060a082015260a0815260c08101928184109084111762000317578286525190206080523060c05260ff6005541662000309575060025469152d02c7e14af680000092838201809211620002f457506000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9160025533835282815284832084815401905584519384523393a3519161178b9384620008c38539608051846110b0015260a0518461117c015260c05184611081015260e051846110ff01525183611125015251826105bd015251816105e70152f35b601190634e487b7160e01b6000525260246000fd5b63d93c066560e01b81529050fd5b604185634e487b7160e01b6000525260246000fd5b8451631e4fbdf760e01b8152600081860152602490fd5b0151935038806200013a565b9190601f198416928860005284886000209460005b8a89838310620003a2575050501062000387575b50505050811b0183556200014a565b01519060f884600019921b161c191690553880808062000378565b86860151895590970196948501948893500162000364565b88600052876000208380870160051c8201928a8810620003fb575b0160051c019086905b828110620003ee5750506200011e565b60008155018690620003de565b92508192620003d5565b602289634e487b7160e01b6000525260246000fd5b90607f16906200010c565b634e487b7160e01b600052604160045260246000fd5b905089015138620000dd565b60008481528881208794509190601f198416908a8e5b838310620004965750505083116200047d575b5050811b018155620000ee565b8b015160001983861b60f8161c19169055388062000470565b840151855589969094019392830192018a8e6200045d565b82600052866000208480840160051c820192898510620004ef575b0160051c019085905b828110620004e2575050620000c6565b60008155018590620004d2565b92508192620004c9565b634e487b7160e01b600052602260045260246000fd5b92607f1692620000b1565b600080fd5b601f909101601f19168101906001600160401b038211908210176200042557604052565b60005b838110620005575750506000910152565b818101518382015260200162000546565b81601f820112156200051a5780516001600160401b0381116200042557604051926200059f601f8301601f1916602001856200051f565b818452602082840101116200051a57620005c0916020808501910162000543565b90565b805160209081811015620006415750601f825111620005ff5780825192015190808310620005f057501790565b82600019910360031b1b161790565b604490620006339260405193849263305a27a960e01b84528060048501528251928391826024870152868601910162000543565b601f01601f19168101030190fd5b906001600160401b0382116200042557600654926001938481811c9116801562000760575b83821014620004f957601f811162000726575b5081601f8411600114620006ba5750928293918392600094620006ae575b50501b916000199060031b1c19161760065560ff90565b01519250388062000697565b919083601f198116600660005284600020946000905b888383106200070b5750505010620006f1575b505050811b0160065560ff90565b015160001960f88460031b161c19169055388080620006e3565b858701518855909601959485019487935090810190620006d0565b600660005284601f84600020920160051c820191601f860160051c015b8281106200075357505062000679565b6000815501859062000743565b90607f169062000666565b805160209081811015620007985750601f825111620005ff5780825192015190808310620005f057501790565b906001600160401b0382116200042557600754926001938481811c91168015620008b7575b83821014620004f957601f81116200087d575b5081601f841160011462000811575092829391839260009462000805575b50501b916000199060031b1c19161760075560ff90565b015192503880620007ee565b919083601f198116600760005284600020946000905b8883831062000862575050501062000848575b505050811b0160075560ff90565b015160001960f88460031b161c191690553880806200083a565b85870151885590960195948501948793509081019062000827565b600760005284601f84600020920160051c820191601f860160051c015b828110620008aa575050620007d0565b600081550185906200089a565b90607f1690620007bd56fe6080604081815260048036101561001557600080fd5b600092833560e01c90816306fdde0314610b4e57508063095ea7b314610b2457806318160ddd14610b0557806323b872dd14610ac8578063313ce56714610aac5780633644e51514610a885780633f4ba83a146109e857806340c10f19146108f257806342966c68146108d45780635c975abb146108b057806370a082311461086d578063715018a6146107ea57806379cc6790146107b75780637ecebe00146107735780638456cb59146106fa57806384b0196e146105a65780638da5cb5b1461056e57806395d89b4114610461578063a9059cbb14610430578063d505accf14610255578063dd62ed3e146101fb5763f2fde38b1461011557600080fd5b346101f75760206003193601126101f75761012e610ca2565b6101366111a2565b73ffffffffffffffffffffffffffffffffffffffff918282169384156101c857505074ffffffffffffffffffffffffffffffffffffffff006005549160081b167fffffffffffffffffffffff0000000000000000000000000000000000000000ff82161760055560081c167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b908560249251917f1e4fbdf7000000000000000000000000000000000000000000000000000000008352820152fd5b8280fd5b50503461025157806003193601126102515780602092610219610ca2565b610221610cca565b73ffffffffffffffffffffffffffffffffffffffff91821683526001865283832091168252845220549051908152f35b5080fd5b508290346102515760e060031936011261025157610271610ca2565b610279610cca565b906044359260643560843560ff8116810361042c578142116103fd5773ffffffffffffffffffffffffffffffffffffffff90818516928389526008602052898920908154916001830190558a519060208201927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98452868d840152858a1660608401528a608084015260a083015260c082015260c0815260e0810181811067ffffffffffffffff8211176103d1578b525190206103869161037d9161033c61106a565b908c51917f190100000000000000000000000000000000000000000000000000000000000083526002830152602282015260c43591604260a43592206115d1565b9092919261166e565b1681810361039d578661039a8787876112d0565b80f35b604493508751927f4b800e460000000000000000000000000000000000000000000000000000000084528301526024820152fd5b60248b6041897f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b602483838a51917f62791302000000000000000000000000000000000000000000000000000000008352820152fd5b8680fd5b50503461025157806003193601126102515760209061045a610450610ca2565b6024359033610f21565b5160018152f35b5090346101f757826003193601126101f757805183819490845461048481610ced565b91828552602096600192886001821691826000146105265750506001146104cb575b85886104c7896104b8848a0385610d8b565b51928284938452830190610c44565b0390f35b815286935091907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061050e57505050820101816104b86104c7386104a6565b8054848a0186015288955087949093019281016104f4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168882015294151560051b870190940194508593506104b892506104c791503890506104a6565b50503461025157816003193601126102515760209073ffffffffffffffffffffffffffffffffffffffff60055460081c169051908152f35b5090346101f757826003193601126101f7576105e17f00000000000000000000000000000000000000000000000000000000000000006113d6565b9261060b7f0000000000000000000000000000000000000000000000000000000000000000611511565b90825192602092602085019585871067ffffffffffffffff8811176106ce5750926020610684838896610677998b9996528686528151998a997f0f000000000000000000000000000000000000000000000000000000000000008b5260e0868c015260e08b0190610c44565b91898303908a0152610c44565b924660608801523060808801528460a088015286840360c088015251928381520193925b8281106106b757505050500390f35b8351855286955093810193928101926001016106a8565b8360416024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b50503461025157816003193601126102515760207f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258916107386111a2565b6107406113a0565b60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00600554161760055551338152a180f35b505034610251576020600319360112610251578060209273ffffffffffffffffffffffffffffffffffffffff6107a7610ca2565b1681526008845220549051908152f35b505034610251576003193601126107e75761039a6107d3610ca2565b602435906107e2823383610dcc565b6111f6565b80fd5b83346107e757806003193601126107e7576108036111a2565b8073ffffffffffffffffffffffffffffffffffffffff6005547fffffffffffffffffffffff0000000000000000000000000000000000000000ff811660055560081c167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b505034610251576020600319360112610251578060209273ffffffffffffffffffffffffffffffffffffffff6108a1610ca2565b16815280845220549051908152f35b50503461025157816003193601126102515760209060ff6005541690519015158152f35b8382346102515760206003193601126102515761039a9035336111f6565b5090346101f757806003193601126101f75761090c610ca2565b9073ffffffffffffffffffffffffffffffffffffffff6024359261092e6111a2565b169283156109ba5761093e6113a0565b6002549083820180921161098e575084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9260209260025585855284835280852082815401905551908152a380f35b8560116024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8460249251917fec442f05000000000000000000000000000000000000000000000000000000008352820152fd5b50346101f757826003193601126101f757610a016111a2565b6005549060ff821615610a6157507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006020921660055551338152a180f35b82517f8dfc202b000000000000000000000000000000000000000000000000000000008152fd5b505034610251578160031936011261025157602090610aa561106a565b9051908152f35b5050346102515781600319360112610251576020905160128152f35b5050346102515760606003193601126102515760209061045a610ae9610ca2565b610af1610cca565b60443591610b00833383610dcc565b610f21565b5050346102515781600319360112610251576020906002549051908152f35b50503461025157806003193601126102515760209061045a610b44610ca2565b60243590336112d0565b8484346102515781600319360112610251578282600354610b6e81610ced565b9081845260209560019187600182169182600014610bff575050600114610ba3575b5050506104c792916104b8910385610d8b565b9190869350600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610be757505050820101816104b86104c7610b90565b8054848a018601528895508794909301928101610bce565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168782015293151560051b860190930193508492506104b891506104c79050610b90565b919082519283825260005b848110610c8e5750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006020809697860101520116010190565b602081830181015184830182015201610c4f565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610cc557565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610cc557565b90600182811c92168015610d36575b6020831014610d0757565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f1691610cfc565b6040810190811067ffffffffffffffff821117610d5c57604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff821117610d5c57604052565b9173ffffffffffffffffffffffffffffffffffffffff8093169160009383855260016020526040938486209183169182875260205284862054927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8403610e37575b50505050505050565b848410610ecb57508015610e9b578115610e6b57855260016020528385209085526020520391205538808080808080610e2e565b6024868651907f94280d620000000000000000000000000000000000000000000000000000000082526004820152fd5b6024868651907fe602df050000000000000000000000000000000000000000000000000000000082526004820152fd5b85517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9190911660048201526024810184905260448101859052606490fd5b9173ffffffffffffffffffffffffffffffffffffffff808416928315611039571692831561100857610f516113a0565b60009083825281602052604082205490838210610fb0575091604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b6040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff919091166004820152602481019190915260448101839052606490fd5b60246040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152fd5b60246040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152fd5b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016301480611179575b156110d2577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a0815260c0810181811067ffffffffffffffff821117610d5c5760405251902090565b507f000000000000000000000000000000000000000000000000000000000000000046146110a9565b73ffffffffffffffffffffffffffffffffffffffff60055460081c1633036111c657565b60246040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152fd5b9073ffffffffffffffffffffffffffffffffffffffff82169081156110395761121d6113a0565b600092828452836020526040842054908282106112785750817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef926020928587528684520360408620558060025403600255604051908152a3565b6040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff919091166004820152602481019190915260448101829052606490fd5b73ffffffffffffffffffffffffffffffffffffffff80911691821561136f571691821561133e5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60246040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152fd5b60246040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152fd5b60ff600554166113ac57565b60046040517fd93c0665000000000000000000000000000000000000000000000000000000008152fd5b60ff811461142c5760ff811690601f821161140257604051916113f883610d40565b8252602082015290565b60046040517fb3512b0c000000000000000000000000000000000000000000000000000000008152fd5b5060405160065481600061143f83610ced565b808352926020906001908181169081156114ce575060011461146d575b505061146a92500382610d8b565b90565b91509260066000527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f936000925b8284106114b6575061146a945050508101602001388061145c565b8554878501830152948501948694509281019261149b565b90506020935061146a9592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b820101388061145c565b60ff81146115335760ff811690601f821161140257604051916113f883610d40565b5060405160075481600061154683610ced565b808352926020906001908181169081156114ce575060011461157057505061146a92500382610d8b565b91509260076000527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688936000925b8284106115b9575061146a945050508101602001388061145c565b8554878501830152948501948694509281019261159e565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841161166257926020929160ff608095604051948552168484015260408301526060820152600092839182805260015afa1561165657805173ffffffffffffffffffffffffffffffffffffffff81161561164d57918190565b50809160019190565b604051903d90823e3d90fd5b50505060009160039190565b60048110156117265780611680575050565b600181036116b25760046040517ff645eedf000000000000000000000000000000000000000000000000000000008152fd5b600281036116eb57602482604051907ffce698f70000000000000000000000000000000000000000000000000000000082526004820152fd5b6003146116f55750565b602490604051907fd78bce0c0000000000000000000000000000000000000000000000000000000082526004820152fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea26469706673582212206cb6cd6b21a65b46eef09074fa46df99ff7e95de1dd14ccda2b688c0b2a6cbc164736f6c63430008180033", - "deployedBytecode": "0x6080604081815260048036101561001557600080fd5b600092833560e01c90816306fdde0314610b4e57508063095ea7b314610b2457806318160ddd14610b0557806323b872dd14610ac8578063313ce56714610aac5780633644e51514610a885780633f4ba83a146109e857806340c10f19146108f257806342966c68146108d45780635c975abb146108b057806370a082311461086d578063715018a6146107ea57806379cc6790146107b75780637ecebe00146107735780638456cb59146106fa57806384b0196e146105a65780638da5cb5b1461056e57806395d89b4114610461578063a9059cbb14610430578063d505accf14610255578063dd62ed3e146101fb5763f2fde38b1461011557600080fd5b346101f75760206003193601126101f75761012e610ca2565b6101366111a2565b73ffffffffffffffffffffffffffffffffffffffff918282169384156101c857505074ffffffffffffffffffffffffffffffffffffffff006005549160081b167fffffffffffffffffffffff0000000000000000000000000000000000000000ff82161760055560081c167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b908560249251917f1e4fbdf7000000000000000000000000000000000000000000000000000000008352820152fd5b8280fd5b50503461025157806003193601126102515780602092610219610ca2565b610221610cca565b73ffffffffffffffffffffffffffffffffffffffff91821683526001865283832091168252845220549051908152f35b5080fd5b508290346102515760e060031936011261025157610271610ca2565b610279610cca565b906044359260643560843560ff8116810361042c578142116103fd5773ffffffffffffffffffffffffffffffffffffffff90818516928389526008602052898920908154916001830190558a519060208201927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98452868d840152858a1660608401528a608084015260a083015260c082015260c0815260e0810181811067ffffffffffffffff8211176103d1578b525190206103869161037d9161033c61106a565b908c51917f190100000000000000000000000000000000000000000000000000000000000083526002830152602282015260c43591604260a43592206115d1565b9092919261166e565b1681810361039d578661039a8787876112d0565b80f35b604493508751927f4b800e460000000000000000000000000000000000000000000000000000000084528301526024820152fd5b60248b6041897f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b602483838a51917f62791302000000000000000000000000000000000000000000000000000000008352820152fd5b8680fd5b50503461025157806003193601126102515760209061045a610450610ca2565b6024359033610f21565b5160018152f35b5090346101f757826003193601126101f757805183819490845461048481610ced565b91828552602096600192886001821691826000146105265750506001146104cb575b85886104c7896104b8848a0385610d8b565b51928284938452830190610c44565b0390f35b815286935091907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061050e57505050820101816104b86104c7386104a6565b8054848a0186015288955087949093019281016104f4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168882015294151560051b870190940194508593506104b892506104c791503890506104a6565b50503461025157816003193601126102515760209073ffffffffffffffffffffffffffffffffffffffff60055460081c169051908152f35b5090346101f757826003193601126101f7576105e17f00000000000000000000000000000000000000000000000000000000000000006113d6565b9261060b7f0000000000000000000000000000000000000000000000000000000000000000611511565b90825192602092602085019585871067ffffffffffffffff8811176106ce5750926020610684838896610677998b9996528686528151998a997f0f000000000000000000000000000000000000000000000000000000000000008b5260e0868c015260e08b0190610c44565b91898303908a0152610c44565b924660608801523060808801528460a088015286840360c088015251928381520193925b8281106106b757505050500390f35b8351855286955093810193928101926001016106a8565b8360416024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b50503461025157816003193601126102515760207f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258916107386111a2565b6107406113a0565b60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00600554161760055551338152a180f35b505034610251576020600319360112610251578060209273ffffffffffffffffffffffffffffffffffffffff6107a7610ca2565b1681526008845220549051908152f35b505034610251576003193601126107e75761039a6107d3610ca2565b602435906107e2823383610dcc565b6111f6565b80fd5b83346107e757806003193601126107e7576108036111a2565b8073ffffffffffffffffffffffffffffffffffffffff6005547fffffffffffffffffffffff0000000000000000000000000000000000000000ff811660055560081c167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b505034610251576020600319360112610251578060209273ffffffffffffffffffffffffffffffffffffffff6108a1610ca2565b16815280845220549051908152f35b50503461025157816003193601126102515760209060ff6005541690519015158152f35b8382346102515760206003193601126102515761039a9035336111f6565b5090346101f757806003193601126101f75761090c610ca2565b9073ffffffffffffffffffffffffffffffffffffffff6024359261092e6111a2565b169283156109ba5761093e6113a0565b6002549083820180921161098e575084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9260209260025585855284835280852082815401905551908152a380f35b8560116024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8460249251917fec442f05000000000000000000000000000000000000000000000000000000008352820152fd5b50346101f757826003193601126101f757610a016111a2565b6005549060ff821615610a6157507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006020921660055551338152a180f35b82517f8dfc202b000000000000000000000000000000000000000000000000000000008152fd5b505034610251578160031936011261025157602090610aa561106a565b9051908152f35b5050346102515781600319360112610251576020905160128152f35b5050346102515760606003193601126102515760209061045a610ae9610ca2565b610af1610cca565b60443591610b00833383610dcc565b610f21565b5050346102515781600319360112610251576020906002549051908152f35b50503461025157806003193601126102515760209061045a610b44610ca2565b60243590336112d0565b8484346102515781600319360112610251578282600354610b6e81610ced565b9081845260209560019187600182169182600014610bff575050600114610ba3575b5050506104c792916104b8910385610d8b565b9190869350600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610be757505050820101816104b86104c7610b90565b8054848a018601528895508794909301928101610bce565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168782015293151560051b860190930193508492506104b891506104c79050610b90565b919082519283825260005b848110610c8e5750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006020809697860101520116010190565b602081830181015184830182015201610c4f565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610cc557565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610cc557565b90600182811c92168015610d36575b6020831014610d0757565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f1691610cfc565b6040810190811067ffffffffffffffff821117610d5c57604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff821117610d5c57604052565b9173ffffffffffffffffffffffffffffffffffffffff8093169160009383855260016020526040938486209183169182875260205284862054927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8403610e37575b50505050505050565b848410610ecb57508015610e9b578115610e6b57855260016020528385209085526020520391205538808080808080610e2e565b6024868651907f94280d620000000000000000000000000000000000000000000000000000000082526004820152fd5b6024868651907fe602df050000000000000000000000000000000000000000000000000000000082526004820152fd5b85517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9190911660048201526024810184905260448101859052606490fd5b9173ffffffffffffffffffffffffffffffffffffffff808416928315611039571692831561100857610f516113a0565b60009083825281602052604082205490838210610fb0575091604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b6040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff919091166004820152602481019190915260448101839052606490fd5b60246040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152fd5b60246040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152fd5b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016301480611179575b156110d2577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a0815260c0810181811067ffffffffffffffff821117610d5c5760405251902090565b507f000000000000000000000000000000000000000000000000000000000000000046146110a9565b73ffffffffffffffffffffffffffffffffffffffff60055460081c1633036111c657565b60246040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152fd5b9073ffffffffffffffffffffffffffffffffffffffff82169081156110395761121d6113a0565b600092828452836020526040842054908282106112785750817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef926020928587528684520360408620558060025403600255604051908152a3565b6040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff919091166004820152602481019190915260448101829052606490fd5b73ffffffffffffffffffffffffffffffffffffffff80911691821561136f571691821561133e5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60246040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152fd5b60246040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152fd5b60ff600554166113ac57565b60046040517fd93c0665000000000000000000000000000000000000000000000000000000008152fd5b60ff811461142c5760ff811690601f821161140257604051916113f883610d40565b8252602082015290565b60046040517fb3512b0c000000000000000000000000000000000000000000000000000000008152fd5b5060405160065481600061143f83610ced565b808352926020906001908181169081156114ce575060011461146d575b505061146a92500382610d8b565b90565b91509260066000527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f936000925b8284106114b6575061146a945050508101602001388061145c565b8554878501830152948501948694509281019261149b565b90506020935061146a9592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b820101388061145c565b60ff81146115335760ff811690601f821161140257604051916113f883610d40565b5060405160075481600061154683610ced565b808352926020906001908181169081156114ce575060011461157057505061146a92500382610d8b565b91509260076000527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688936000925b8284106115b9575061146a945050508101602001388061145c565b8554878501830152948501948694509281019261159e565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841161166257926020929160ff608095604051948552168484015260408301526060820152600092839182805260015afa1561165657805173ffffffffffffffffffffffffffffffffffffffff81161561164d57918190565b50809160019190565b604051903d90823e3d90fd5b50505060009160039190565b60048110156117265780611680575050565b600181036116b25760046040517ff645eedf000000000000000000000000000000000000000000000000000000008152fd5b600281036116eb57602482604051907ffce698f70000000000000000000000000000000000000000000000000000000082526004820152fd5b6003146116f55750565b602490604051907fd78bce0c0000000000000000000000000000000000000000000000000000000082526004820152fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea26469706673582212206cb6cd6b21a65b46eef09074fa46df99ff7e95de1dd14ccda2b688c0b2a6cbc164736f6c63430008180033", - "linkReferences": {}, - "deployedLinkReferences": {} -} \ No newline at end of file diff --git a/next.config.mjs b/next.config.mjs index 12a6acc..1ce7012 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,3 +1,5 @@ +import { join } from 'node:path'; + /** @type {import('next').NextConfig} */ const nextConfig = { async rewrites() { @@ -12,6 +14,25 @@ const nextConfig = { }, ]; }, + reactStrictMode: true, + swcMinify: true, + pageExtensions: ['ts', 'tsx', 'js', 'jsx'], + experimental: { + appDir: true, + }, + webpack(config) { + config.resolve.alias['@'] = join(__dirname, 'src'); + return config; + }, + images: { + remotePatterns: [ + { + protocol: 'https', + hostname: 'images.unsplash.com', + }, + ], + domains: ['img.freepik.com'], + }, }; export default nextConfig; diff --git a/package.json b/package.json index 8298af2..aa8bef0 100644 --- a/package.json +++ b/package.json @@ -12,18 +12,38 @@ "codegen": "bun scripts/codegen.ts", "predev": "bun codegen", "prebuild": "bun codegen", - "ci": "next build" + "ci": "next build", + "docker": "docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t settlemint/settlemint-eas-coffee:main-10-alt-frontend --push .", + "docker:run": "docker run -p 3000:3000 settlemint/settlemint-eas-coffee" }, "dependencies": { + "@ethereum-attestation-service/eas-sdk": "^2.6.0", "@tanstack/react-query": "5.51.24", + "@turf/turf": "^7.1.0", + "@types/d3-geo": "^3.1.0", + "@types/leaflet": "^1.9.12", + "@types/react-simple-maps": "^3.0.6", + "chalk": "^5.3.0", "connectkit": "1.8.2", + "d3-geo": "^3.1.1", + "d3-geo-projection": "^4.0.0", "encoding": "0.1.13", + "ethers": "^6.13.2", + "graphql-request": "^7.1.0", + "i": "^0.3.7", + "leaflet": "^1.9.4", "next": "14.2.5", + "nominatim-browser": "^2.1.0", "openapi-fetch": "0.11.1", "path-to-regexp": "7.1.0", "pino-pretty": "11.2.2", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-icons": "^5.3.0", + "react-leaflet": "^4.2.1", + "react-simple-maps": "^3.0.0", + "react-tooltip": "^5.28.0", + "tailwind-scrollbar": "^3.1.0", "wagmi": "2.12.6" }, "devDependencies": { diff --git a/public/cooling-roasted-coffee.mp4 b/public/cooling-roasted-coffee.mp4 new file mode 100644 index 0000000..f7d1700 Binary files /dev/null and b/public/cooling-roasted-coffee.mp4 differ diff --git a/scripts/registerAttestations.ts b/scripts/registerAttestations.ts new file mode 100644 index 0000000..7f5b444 --- /dev/null +++ b/scripts/registerAttestations.ts @@ -0,0 +1,450 @@ +import { EAS, SchemaEncoder } from "@ethereum-attestation-service/eas-sdk"; +import chalk from "chalk"; +import { addDays, format, isValid } from "date-fns"; +import { ethers } from "ethers"; +import { writeFileSync } from "node:fs"; +import { join } from "node:path"; +import { setTimeout } from "node:timers/promises"; + +const EAS_CONTRACT_ADDRESS = process.env.NEXT_PUBLIC_EAS_CONTRACT_ADDRESS; +const BLOCKCHAIN_NODE = `${process.env.NEXT_PUBLIC_BLOCKCHAIN_NODE}/${process.env.NEXT_PUBLIC_AUTH_TOKEN}`; +const PRIVATE_KEY = process.env.PRIVATE_KEY; +const SCHEMA_UID = process.env.NEXT_PUBLIC_SCHEMA_UID; // Make sure this is set to your actual schema UID + +interface AttestationDetails { + uid: string; + schema: string; + recipient: string; + attester: string; + time: number; + expirationTime: number; + revocationTime: number; + refUID: string; + revocable: boolean; + data: string; +} + +const countries = { + production: ["Colombia", "Brazil", "Ethiopia", "Vietnam", "Indonesia", "Kenya", "Costa Rica"], + processing: ["Colombia", "Brazil", "Ethiopia", "Vietnam", "Indonesia", "Kenya", "Costa Rica"], + export: ["Colombia", "Brazil", "Ethiopia", "Vietnam", "Indonesia", "Kenya", "Costa Rica"], + import: [ + "USA", + "Germany", + "Japan", + "Italy", + "Canada", + "Netherlands", + "South Korea", + "UK", + "France", + "Australia", + "Spain", + "Sweden", + ], + roasting: ["USA", "Germany", "Japan", "Italy", "Canada", "UK", "France", "Australia", "Spain", "Sweden"], + retail: ["USA", "Germany", "Japan", "Italy", "Canada", "UK", "France", "Australia", "Spain", "Sweden"], +}; + +const cities = { + Colombia: ["Bogotá", "Medellín", "Cali", "Cartagena", "Barranquilla"], + Brazil: ["São Paulo", "Rio de Janeiro", "Belo Horizonte", "Salvador", "Brasília"], + Ethiopia: ["Addis Ababa", "Dire Dawa", "Bahir Dar", "Hawassa", "Mek'ele"], + Vietnam: ["Ho Chi Minh City", "Hanoi", "Da Nang", "Hoi An", "Nha Trang"], + Indonesia: ["Jakarta", "Surabaya", "Bandung", "Medan", "Semarang"], + Kenya: ["Nairobi", "Mombasa", "Kisumu", "Nakuru", "Eldoret"], + "Costa Rica": ["San José", "Liberia", "Alajuela", "Cartago", "Heredia"], + USA: ["Seattle", "New York", "San Francisco", "Los Angeles", "Chicago"], + Germany: ["Berlin", "Hamburg", "Munich", "Cologne", "Frankfurt"], + Japan: ["Tokyo", "Osaka", "Kyoto", "Yokohama", "Nagoya"], + Italy: ["Rome", "Milan", "Florence", "Venice", "Naples"], + Canada: ["Toronto", "Vancouver", "Montreal", "Calgary", "Ottawa"], + Netherlands: ["Amsterdam", "Rotterdam", "The Hague", "Utrecht", "Eindhoven"], + "South Korea": ["Seoul", "Busan", "Incheon", "Daegu", "Daejeon"], + UK: ["London", "Manchester", "Birmingham", "Edinburgh", "Glasgow"], + France: ["Paris", "Lyon", "Marseille", "Bordeaux", "Strasbourg"], + Australia: ["Sydney", "Melbourne", "Brisbane", "Perth", "Adelaide"], + Spain: ["Madrid", "Barcelona", "Valencia", "Seville", "Bilbao"], + Sweden: ["Stockholm", "Gothenburg", "Malmö", "Uppsala", "Västerås"], +}; + +const stages = ["Farm", "Processing", "Export", "Import", "Roasting", "Retail"]; + +const certifications = { + Organic: { duration: 365 * 2 }, // 2 years + "Fair Trade": { duration: 365 }, // 1 year + "Rainforest Alliance": { duration: 365 * 3 }, // 3 years + "UTZ Certified": { duration: 365 * 2 }, // 2 years + "Bird Friendly": { duration: 365 * 5 }, // 5 years +}; + +function generateBatchId(): string { + const year = new Date().getFullYear(); + const randomLetters = Math.random().toString(36).substring(2, 5).toUpperCase(); + const randomNumbers = Math.floor(Math.random() * 10000) + .toString() + .padStart(4, "0"); + return `${year}-${randomLetters}-${randomNumbers}`; +} + +function getRandomElement(array: T[]): T { + return array[Math.floor(Math.random() * array.length)]; +} + +function getRandomCity(country: string): string { + const cityList = cities[country as keyof typeof cities]; + if (!cityList || cityList.length === 0) { + console.warn(`No cities found for country: ${country}. Using country name as city.`); + return country; + } + return getRandomElement(cityList); +} + +async function initializeEAS(): Promise<{ eas: EAS; signer: ethers.Wallet }> { + if (!EAS_CONTRACT_ADDRESS || !BLOCKCHAIN_NODE || !PRIVATE_KEY) { + throw new Error("Missing required environment variables"); + } + + const provider = new ethers.JsonRpcProvider(BLOCKCHAIN_NODE); + const signer = new ethers.Wallet(PRIVATE_KEY, provider); + const eas = new EAS(EAS_CONTRACT_ADDRESS); + eas.connect(signer); + + return { eas, signer }; +} + +function getRandomBatchSize(): number { + // Batch sizes in kg, ranging from small to large + const batchSizes = [100, 250, 500, 1000, 2000, 5000]; + return getRandomElement(batchSizes); +} + +function getSeasonalHarvestDate(country: string): Date { + const currentYear = new Date().getFullYear(); + const harvestSeasons = { + Colombia: { start: 3, end: 6 }, // March to June + Brazil: { start: 4, end: 9 }, // April to September + Ethiopia: { start: 9, end: 12 }, // September to December + Vietnam: { start: 10, end: 2 }, // October to February (spans year-end) + Indonesia: { start: 6, end: 9 }, // June to September + }; + + const season = harvestSeasons[country as keyof typeof harvestSeasons] || { start: 1, end: 12 }; + let month = Math.floor(Math.random() * (season.end - season.start + 1)) + season.start; + const day = Math.floor(Math.random() * 28) + 1; // Assuming max 28 days for simplicity + + // Handle the case where the season spans across year-end + if (season.start > season.end && month < season.end) { + month += 12; + } + + const date = new Date(currentYear, month - 1, day); + + // Validate the date + if (!isValid(date)) { + console.warn(`Invalid date generated for ${country}. Using current date instead.`); + return new Date(); + } + + return date; +} + +function formatDate(date: Date): string { + if (!isValid(date)) { + console.warn("Invalid date provided. Using current date instead."); + return format(new Date(), "yyyy-MM-dd"); + } + return format(date, "yyyy-MM-dd"); +} + +function generateDetails( + stage: number, + batchId: string, + location: string, + certifications: string[], + batchSize: number, + harvestDate: Date, + currentDate: Date, +): string { + const stageDetails = { + 0: [ + `Arabica beans harvested from ${location} at optimal ripeness. Altitude: ${1200 + Math.floor(Math.random() * 800)}m. Soil pH: ${(6 + Math.random() * 1).toFixed(1)}. Shade-grown under native trees.`, + `Single-origin Robusta cultivated in ${location}. Recent rainfall: ${80 + Math.floor(Math.random() * 80)}mm. Organic pest control methods employed.`, + `Mixed varietals from small-scale farmers in ${location}. Community-supported agriculture initiative. Average farm size: ${(1 + Math.random() * 3).toFixed(1)} hectares.`, + ], + 1: [ + `Wet processing method used for batch ${batchId} in ${location}. Fermentation time: ${24 + Math.floor(Math.random() * 24)} hours. Water consumption: ${(15 + Math.random() * 10).toFixed(1)}L per kg of cherries.`, + `Honey process applied to enhance sweetness. Mucilage partially removed. Drying time: ${12 + Math.floor(Math.random() * 6)} days on raised beds.`, + `Natural process: cherries sun-dried for ${18 + Math.floor(Math.random() * 7)} days. Constant monitoring for moisture levels and potential defects.`, + ], + 2: [ + `Batch ${batchId} prepared for export from ${location}. Moisture content: ${(10 + Math.random() * 1).toFixed(1)}%. Packaged in GrainPro bags for optimal freshness.`, + `Pre-shipment samples sent to importers. Cupping score: ${(80 + Math.random() * 10).toFixed(1)}. Notes of ${getRandomElement(["caramel", "chocolate", "nuts"])}, ${getRandomElement(["citrus", "berries", "tropical fruit"])}, and ${getRandomElement(["floral", "herbal", "spices"])} detected.`, + `Export documentation completed for ${batchId}. Fair Trade premium: $${(0.15 + Math.random() * 0.15).toFixed(2)}/lb. Container loaded with ${Math.floor(batchSize / 69)} bags (69kg each).`, + ], + 3: [ + `Batch ${batchId} cleared customs in ${location}. Quality control check performed: ${getRandomElement(["no signs of mold or insect damage", "slight variation in bean size noted", "optimal moisture levels confirmed"])}.`, + `Samples from ${batchId} roasted and cupped upon arrival. Flavor profile ${getRandomElement(["matches", "slightly differs from", "exceeds"])} pre-shipment samples. Stored in climate-controlled warehouse at ${(18 + Math.random() * 4).toFixed(1)}°C.`, + `Import duties paid. Traceability information verified. Batch ${batchId} ready for distribution to local roasters. CO₂ flushing applied for extended freshness.`, + ], + 4: [ + `Roasted ${batchId} to ${getRandomElement(["light", "medium", "dark"])} profile. First crack at ${(195 + Math.random() * 5).toFixed(1)}°C, total roast time ${(9 + Math.random() * 4).toFixed(1)} minutes. Cooled and degassed for ${18 + Math.floor(Math.random() * 12)} hours.`, + `Light roast applied to preserve origin characteristics. Roast color: Agtron ${55 + Math.floor(Math.random() * 10)}. Batch size: ${(batchSize * 0.8).toFixed(0)}kg after weight loss.`, + `Espresso roast developed for batch ${batchId}. Second crack reached. Post-roast blend of ${70 + Math.floor(Math.random() * 20)}% ${location} beans with ${30 - Math.floor(Math.random() * 20)}% Brazilian for balance.`, + ], + 5: [ + `Batch ${batchId} now available in our ${location} flagship store. Promotional campaign: "Journey to ${location}" featuring farmer stories and QR code for traceability.`, + `Online sales launched for batch ${batchId}. Limited edition packaging highlighting ${certifications.join(", ")}. Expected shelf life: ${3 + Math.floor(Math.random() * 3)} months.`, + `${batchId} featured in our seasonal subscription box. Paired with locally-made ${getRandomElement(["chocolate", "pastries", "coffee equipment"])} for gift sets. Roasted-on date clearly marked.`, + ], + }; + + const selectedDetail = stageDetails[stage as keyof typeof stageDetails][Math.floor(Math.random() * 3)]; + const certificationInfo = + certifications.length > 0 + ? ` Certifications: ${certifications.map((cert) => `${cert} (valid until ${formatDate(addDays(currentDate, 365))})`).join(", ")}.` + : ""; + + const harvestInfo = stage === 0 ? ` Harvest date: ${formatDate(harvestDate)}.` : ""; + const batchSizeInfo = ` Batch size: ${batchSize}kg.`; + + return selectedDetail + certificationInfo + harvestInfo + batchSizeInfo; +} + +function getRandomCountryForStage(stage: number, currentCountry: string): string { + const stageType = stages[stage].toLowerCase(); + let countryList: string[]; + + if (stageType === "farm" || stageType === "processing" || stageType === "export") { + countryList = countries.production; + // If the current country is a production country, keep it for these stages + if (countries.production.includes(currentCountry)) { + return currentCountry; + } + } else if (stageType === "import") { + countryList = countries.import; + // Ensure the import country is different from the export country + countryList = countryList.filter((country) => country !== currentCountry); + } else { + countryList = countries[stageType as keyof typeof countries] || countries.retail; + } + + return getRandomElement(countryList); +} + +async function createAttestation( + eas: EAS, + schemaEncoder: SchemaEncoder, + batchId: string, + stage: number, + previousAttestationId: string, + attesterAddress: string, + currentCountry: string, + currentCity: string, + batchSize: number, + harvestDate: Date, + currentDate: Date, +): Promise { + const timestamp = Math.floor(Date.now() / 1000); + const location = `${currentCity}, ${currentCountry}`; + + const selectedCertifications = Object.keys(certifications).slice(0, Math.floor(Math.random() * 3) + 1); + const details = generateDetails( + stage, + batchId, + location, + selectedCertifications, + batchSize, + harvestDate, + currentDate, + ); + + const encodedData = schemaEncoder.encodeData([ + { name: "batchId", value: batchId, type: "string" }, + { name: "timestamp", value: timestamp, type: "uint256" }, + { name: "attester", value: attesterAddress, type: "address" }, + { name: "stage", value: stage, type: "uint8" }, + { name: "location", value: location, type: "string" }, + { name: "certifications", value: selectedCertifications, type: "string[]" }, + { name: "details", value: details, type: "string" }, + { name: "previousAttestationId", value: previousAttestationId, type: "bytes32" }, + ]); + + const tx = await eas.attest({ + schema: SCHEMA_UID ?? "", + data: { + recipient: ethers.ZeroAddress, + expirationTime: BigInt(0), + revocable: true, + data: encodedData, + }, + }); + + const newAttestationUID = await tx.wait(); + console.log(`Attestation ${stage + 1} created with UID: ${newAttestationUID}`); + return newAttestationUID; +} + +async function getAttestationDetails(eas: EAS, uid: string): Promise { + const attestation = await eas.getAttestation(uid); + return { + uid: uid, + schema: attestation.schema, + recipient: attestation.recipient, + attester: attestation.attester, + time: Number(attestation.time), + expirationTime: Number(attestation.expirationTime), + revocationTime: Number(attestation.revocationTime), + refUID: attestation.refUID, + revocable: attestation.revocable, + data: attestation.data, + }; +} + +function writeAttestationDetailsToFile(attestationDetails: AttestationDetails[]) { + const filePath = join(process.cwd(), "attestation-details.json"); + writeFileSync(filePath, JSON.stringify(attestationDetails, null, 2)); + console.log(`Attestation details written to ${filePath}`); +} + +async function updateBatch( + eas: EAS, + schemaEncoder: SchemaEncoder, + signer: ethers.Wallet, + batchInfo: { + batchId: string; + stage: number; + previousAttestationId: string; + currentCountry: string; + currentCity: string; + batchSize: number; + harvestDate: Date; + currentDate: Date; + }, +): Promise<{ uid: string; stage: number; nextCountry: string; nextCity: string }> { + const { batchId, stage, previousAttestationId, currentCountry, currentCity, batchSize, harvestDate, currentDate } = + batchInfo; + + const uid = await createAttestation( + eas, + schemaEncoder, + batchId, + stage, + previousAttestationId, + signer.address, + currentCountry, + currentCity, + batchSize, + harvestDate, + currentDate, + ); + + const nextCountry = getRandomCountryForStage(stage + 1, currentCountry); + const nextCity = getRandomCity(nextCountry); + + console.log(`Updated batch ${batchId} to stage ${stage + 1}`); + console.log(`Next location: ${nextCity}, ${nextCountry}`); + return { uid, stage: stage + 1, nextCountry, nextCity }; +} + +function getRandomInterval(stage: number): number { + const baseInterval = 3 * 1000; // 30 seconds in milliseconds + const additionalInterval = Math.floor(Math.random() * 60 * 1000); // 0-60 seconds in milliseconds + const stageMultiplier = Math.min(stage + 1, 3); // Stages 0-2 have increasing intervals, 3-5 have max interval + return baseInterval + additionalInterval / stageMultiplier; +} + +async function simulateMultipleBatches(count: number, duration: number): Promise { + console.log(chalk.blue.bold(`\n🚀 Starting simulation with ${count} batches for ${duration / (60 * 60 * 1000)} hours`)); + const { eas, signer } = await initializeEAS(); + console.log(chalk.cyan(`🔑 EAS initialized with signer address: ${signer.address}`)); + const schemaEncoder = new SchemaEncoder( + "string batchId, uint256 timestamp, address attester, uint8 stage, string location, string[] certifications, string details, bytes32 previousAttestationId", + ); + + const batches = Array.from({ length: count }, () => { + const originCountry = getRandomCountryForStage(0, ""); + return { + batchId: generateBatchId(), + stage: 0, + previousAttestationId: ethers.ZeroHash, + currentCountry: originCountry, + currentCity: getRandomCity(originCountry), + batchSize: getRandomBatchSize(), + harvestDate: new Date(), + currentDate: new Date(), + }; + }); + + console.log(chalk.yellow.bold("\n📦 Initialized batches:")); + for (const batch of batches) { + batch.harvestDate = getSeasonalHarvestDate(batch.currentCountry); + batch.currentDate = batch.harvestDate; + console.log(chalk.yellow(` Batch ${batch.batchId}: Starting in ${batch.currentCity}, ${batch.currentCountry}`)); + } + + const startTime = Date.now(); + const attestationDetails: AttestationDetails[] = []; + + console.log(chalk.green.bold("\n🔄 Starting batch updates...")); + while (Date.now() - startTime < duration) { + const batchToUpdate = getRandomElement(batches.filter((b) => b.stage < stages.length)); + if (!batchToUpdate) { + console.log(chalk.gray("⏳ All batches completed. Waiting for duration to end...")); + await setTimeout(5000); + continue; + } + + console.log( + chalk.magenta( + `\n🔨 Updating batch ${batchToUpdate.batchId} (current stage: ${stages[batchToUpdate.stage]} in ${batchToUpdate.currentCity}, ${batchToUpdate.currentCountry})`, + ), + ); + try { + const result = await updateBatch(eas, schemaEncoder, signer, batchToUpdate); + batchToUpdate.previousAttestationId = result.uid; + batchToUpdate.stage = result.stage; + batchToUpdate.currentCountry = result.nextCountry; + batchToUpdate.currentCity = result.nextCity; + batchToUpdate.currentDate = addDays(batchToUpdate.currentDate, 7 + Math.floor(Math.random() * 14)); + + console.log(chalk.green(`✅ Batch ${batchToUpdate.batchId} updated to stage: ${stages[batchToUpdate.stage]}`)); + console.log(chalk.cyan(`🆔 New attestation UID: ${result.uid}`)); + console.log(chalk.yellow(`📍 New location: ${batchToUpdate.currentCity}, ${batchToUpdate.currentCountry}`)); + + const details = await getAttestationDetails(eas, result.uid); + attestationDetails.push(details); + console.log(chalk.blue(`📊 Attestation details retrieved for UID: ${result.uid}`)); + + const interval = getRandomInterval(batchToUpdate.stage); + console.log(chalk.gray(`⏱️ Waiting ${(interval / 1000).toFixed(1)} seconds before next update...`)); + await setTimeout(interval); + } catch (error) { + console.error(chalk.red(`❌ Error updating batch ${batchToUpdate.batchId}:`), error); + } + } + + console.log( + chalk.blue.bold(`\n🏁 Simulation completed. Writing ${attestationDetails.length} attestation details to file...`), + ); + writeAttestationDetailsToFile(attestationDetails); + console.log(chalk.green.bold("✅ Simulation completed and data written to file.")); +} + +async function main(): Promise { + try { + const batchCount = 10; // Number of batches to simulate + const durationInHours = 1; // Duration of the simulation in hours + console.log(chalk.blue.bold(`\n🎬 Starting main function with ${batchCount} batches for ${durationInHours} hours`)); + await simulateMultipleBatches(batchCount, durationInHours * 60 * 60 * 1000); + } catch (error) { + console.error(chalk.red.bold("❌ Failed to run simulation:"), error); + } +} + +if (require.main === module) { + console.log(chalk.green.bold("🚀 Script started")); + main(); +} + + diff --git a/scripts/registerSchema.ts b/scripts/registerSchema.ts new file mode 100644 index 0000000..a612954 --- /dev/null +++ b/scripts/registerSchema.ts @@ -0,0 +1,86 @@ +import { SchemaRegistry } from "@ethereum-attestation-service/eas-sdk"; +import { ethers } from "ethers"; +import { writeFileSync } from "node:fs"; +import { join } from "node:path"; + +const SCHEMA_REGISTRY_ADDRESS = process.env.NEXT_PUBLIC_SCHEMA_REGISTRY_CONTRACT_ADDRESS; +const BLOCKCHAIN_NODE = `${process.env.BLOCKCHAIN_NODE}/${process.env.BTP_TOKEN}`; +const PRIVATE_KEY = process.env.PRIVATE_KEY; +const SCHEMA = + "string batchId, uint256 timestamp, address attester, uint8 stage, string location, string[] certifications, string details, bytes32 previousAttestationId"; +const RESOLVER_ADDRESS = "0x0000000000000000000000000000000000000000"; +const REVOCABLE = true; + +interface SchemaDetails { + uid: string; + schema: string; + resolver: string; + revocable: boolean; +} + +async function initializeSchemaRegistry() { + if (!SCHEMA_REGISTRY_ADDRESS || !BLOCKCHAIN_NODE || !PRIVATE_KEY) { + throw new Error("Missing required environment variables"); + } + + const provider = new ethers.JsonRpcProvider(BLOCKCHAIN_NODE); + const signer = new ethers.Wallet(PRIVATE_KEY, provider); + const schemaRegistry = new SchemaRegistry(SCHEMA_REGISTRY_ADDRESS); + schemaRegistry.connect(signer); + + return schemaRegistry; +} + +async function registerSchema(schemaRegistry: SchemaRegistry) { + const transaction = await schemaRegistry.register({ + schema: SCHEMA, + resolverAddress: RESOLVER_ADDRESS, + revocable: REVOCABLE, + }); + + const receipt = await transaction.wait(); + console.log("Schema registered successfully!"); + return receipt; +} + +async function getSchemaDetails(schemaRegistry: SchemaRegistry, schemaUID: string) { + const schemaRecord = await schemaRegistry.getSchema({ uid: schemaUID }); + return { + uid: schemaUID, + schema: schemaRecord.schema, + resolver: schemaRecord.resolver, + revocable: schemaRecord.revocable, + }; +} + +function writeSchemaDetailsToFile(schemaDetails: SchemaDetails) { + const filePath = join(process.cwd(), `schema-details-${schemaDetails.uid}.json`); + writeFileSync(filePath, JSON.stringify(schemaDetails, null, 2)); + console.log(`Schema details written to ${filePath}`); +} + +export async function registerAndSaveSchema() { + try { + const schemaRegistry = await initializeSchemaRegistry(); + const schemaUID = await registerSchema(schemaRegistry); + const schemaDetails = await getSchemaDetails(schemaRegistry, schemaUID); + writeSchemaDetailsToFile(schemaDetails); + return schemaUID; + } catch (error) { + console.error("Error registering schema:", error); + throw error; + } +} + +async function main() { + try { + const schemaUID = await registerAndSaveSchema(); + console.log("Registered schema UID:", schemaUID); + } catch (error) { + console.error("Failed to register schema:", error); + } +} + +if (require.main === module) { + main(); +} \ No newline at end of file diff --git a/src/api/attestations.ts b/src/api/attestations.ts new file mode 100644 index 0000000..430224d --- /dev/null +++ b/src/api/attestations.ts @@ -0,0 +1,160 @@ +import { EAS, SchemaEncoder } from "@ethereum-attestation-service/eas-sdk"; +import { ethers } from "ethers"; +import { GraphQLClient, gql } from "graphql-request"; +import type { Attestation, RawAttestation } from "../types/attestation"; +import { parseDecodedData } from "../utils/attestationHelpers"; +import { AUTH_TOKEN, EAS_CONTRACT_ADDRESS, EAS_INDEXER_URL, SCHEMA_ID } from "../utils/constants"; + +const graphqlClient = new GraphQLClient(EAS_INDEXER_URL, { + headers: { "x-auth-token": AUTH_TOKEN }, +}); + +const ATTESTATIONS_QUERY = gql` + query FetchAttestations($schemaId: String!) { + attestations(where: { schemaId: { equals: $schemaId } }) { + id + decodedDataJson + txid + } + } +`; + +const ATTESTATION_BY_ID_QUERY = gql` + query FetchAttestationById($id: String!) { + attestation(where: { id: $id }) { + id + decodedDataJson + txid + } + } +`; + +export const fetchAttestations = async (): Promise => { + try { + const data = await graphqlClient.request<{ attestations: RawAttestation[] }>(ATTESTATIONS_QUERY, { + schemaId: SCHEMA_ID, + }); + + if (!data?.attestations || !Array.isArray(data.attestations)) { + console.error("Invalid API response structure:", data); + return []; + } + + return data.attestations + .map((attestation) => { + try { + if (!attestation.decodedDataJson) { + console.warn("Empty decodedDataJson for attestation:", attestation); + return null; + } + const parsedData = JSON.parse(attestation.decodedDataJson); + return { + id: attestation.id, + decodedData: parseDecodedData(parsedData), + }; + } catch (parseError) { + console.error("Error parsing attestation:", attestation, parseError); + return null; + } + }) + .filter((attestation): attestation is Attestation => attestation !== null); + } catch (error) { + console.error("Error fetching attestations:", error); + return []; + } +}; + +export const createAttestation = async ( + batchId: string, + stage: number, + location: string, + certifications: string[], + details: string, + attester: string, + previousAttestationId: string, + timestamp: number, +): Promise => { + const eas = new EAS(EAS_CONTRACT_ADDRESS); + const provider = new ethers.BrowserProvider(window.ethereum); + const signer = await provider.getSigner(); + eas.connect(signer); + + const schemaEncoder = new SchemaEncoder( + "string batchId, uint256 timestamp, address attester, uint8 stage, string location, string[] certifications, string details, bytes32 previousAttestationId", + ); + + const encodedData = schemaEncoder.encodeData([ + { name: "batchId", value: batchId, type: "string" }, + { name: "timestamp", value: timestamp, type: "uint256" }, + { name: "attester", value: attester, type: "address" }, + { name: "stage", value: stage, type: "uint8" }, + { name: "location", value: location, type: "string" }, + { name: "certifications", value: certifications, type: "string[]" }, + { name: "details", value: details, type: "string" }, + { name: "previousAttestationId", value: previousAttestationId, type: "bytes32" }, + ]); + + const tx = await eas.attest({ + schema: SCHEMA_ID, + data: { + recipient: "0x0000000000000000000000000000000000000000", + expirationTime: BigInt(0), + revocable: true, + data: encodedData, + }, + }); + + const receipt = await tx.wait(); + console.log("Transaction receipt:", receipt); + + return receipt; +}; + +export const fetchAttestationById = async (id: string): Promise => { + try { + const data = await graphqlClient.request<{ attestation: RawAttestation }>(ATTESTATION_BY_ID_QUERY, { id }); + + if (!data?.attestation?.decodedDataJson) { + console.error("Invalid API response structure or empty decodedDataJson:", data); + return null; + } + + const parsedData = JSON.parse(data.attestation.decodedDataJson); + return { + id: data.attestation.id, + decodedData: parseDecodedData(parsedData), + txid: data.attestation.txid, + }; + } catch (error) { + console.error("Error fetching attestation by ID:", error); + return null; + } +}; + +export const fetchTotalAttestations = async (): Promise => { + try { + const data = await graphqlClient.request<{ attestations: RawAttestation[] }>(ATTESTATIONS_QUERY, { + schemaId: SCHEMA_ID, + }); + + if (!Array.isArray(data.attestations)) { + console.error("Invalid API response structure for total attestations:", data); + return 0; + } + + return data.attestations.length; + } catch (error) { + console.error("Error fetching total attestations:", error); + return 0; + } +}; + +export const fetchAttestationsByBatchId = async (batchId: string): Promise => { + try { + const allAttestations = await fetchAttestations(); + return allAttestations.filter((attestation) => attestation.decodedData?.batchId === batchId); + } catch (error) { + console.error("Error fetching attestations by batch ID:", error); + return []; + } +}; \ No newline at end of file diff --git a/src/app/attestation/[id]/page.tsx b/src/app/attestation/[id]/page.tsx new file mode 100644 index 0000000..b979c8d --- /dev/null +++ b/src/app/attestation/[id]/page.tsx @@ -0,0 +1,307 @@ +"use client" + +import { motion } from 'framer-motion'; +import dynamic from 'next/dynamic'; +import Link from 'next/link'; +import { useParams } from 'next/navigation'; +import { geocode } from 'nominatim-browser'; +import { useEffect, useState } from 'react'; +import { Chrono } from "react-chrono"; +import { FaCalendarAlt, FaCertificate, FaClock, FaHashtag, FaInfoCircle, FaMapMarkerAlt, FaUser } from 'react-icons/fa'; +import { fetchAttestationById, fetchAttestationsByBatchId } from '../../../api/attestations'; +import { Footer } from '../../../components/Footer'; +import { NavBar } from '../../../components/NavBar'; +import type { Attestation } from '../../../types/attestation'; + +// Dynamically import the Map component to avoid SSR issues +const MapComponent = dynamic(() => import('../../../components/Map'), { ssr: false }); + +const fadeIn = { + initial: { opacity: 0, y: 20 }, + animate: { opacity: 1, y: 0 }, + transition: { duration: 0.5 } +}; + +const stageNames = ['Farm', 'Processing', 'Export', 'Import', 'Roasting', 'Retail']; +const stageIcons = ["🌱", "🏭", "🚢", "🛬", "☕", "🛒"]; +const stageColors = ["bg-[#8B4513]", "bg-[#A0522D]", "bg-[#CD853F]", "bg-[#DEB887]", "bg-[#D2691E]", "bg-[#B8860B]"]; + +interface StageAttestation { + id: string; + stage: number; +} + +const TimelineDisplay: React.FC<{ + currentStage: number; + batchStages: StageAttestation[]; + attestations: Attestation[]; +}> = ({ currentStage, batchStages, attestations }) => { + const items = batchStages.map((stage, index) => { + return { + title: "", + }; + }); + + const customContent = batchStages.map((stage, index) => { + const attestation = attestations.find(a => a.decodedData.stage === stage.stage); + if (!attestation) return
No data available
; + + const date = new Date(attestation.decodedData.timestamp * 1000); + const formattedDate = date.toLocaleDateString('en-US', { + year: 'numeric', + month: 'long', + day: 'numeric', + }); + const formattedTime = date.toLocaleTimeString('en-US', { + hour: '2-digit', + minute: '2-digit', + }); + + return ( +
+

+ {stageNames[stage.stage]} +

+
+
+ + {formattedDate} +
+
+ + {formattedTime} +
+
+ + {attestation.decodedData.location} +
+
+ + {attestation.decodedData.certifications.join(", ")} +
+
+ + {attestation.decodedData.details} +
+
+ + + {attestation.decodedData.attester.slice(0, 10)}... + +
+
+ + + {attestation.txid}... + +
+
+
+ ); + }); + + return ( +
+ + {customContent} + +
+ ); +}; + +const TimestampAndCertificationsDisplay: React.FC<{ timestamp: number, certifications: string[] }> = ({ timestamp, certifications }) => { + const date = new Date(timestamp * 1000); + const formattedDate = date.toLocaleDateString('en-US', { + year: 'numeric', + month: 'long', + day: 'numeric', + }); + const formattedTime = date.toLocaleTimeString('en-US', { + hour: '2-digit', + minute: '2-digit', + second: '2-digit', + timeZoneName: 'short', + }); + + return ( +
+

Timestamp

+
+
+ + {formattedDate} +
+
+ + {formattedTime} +
+
+ +

Certifications

+
+
+ {certifications.map((cert) => ( + + {cert} + + ))} +
+
+
+ ); +}; + +export default function AttestationDetailPage(): JSX.Element { + const { id } = useParams(); + const [attestation, setAttestation] = useState(null); + const [isLoading, setIsLoading] = useState(true); + const [coordinates, setCoordinates] = useState<[number, number][]>([]); + const [batchStages, setBatchStages] = useState([]); + const [allAttestations, setAllAttestations] = useState([]); + + useEffect(() => { + const loadAttestation = async (): Promise => { + if (id && typeof id === 'string') { + setIsLoading(true); + try { + const fetchedAttestation = await fetchAttestationById(id); + setAttestation(fetchedAttestation); + + if (fetchedAttestation) { + const fetchedStages = await fetchAttestationsByBatchId(fetchedAttestation.decodedData.batchId); + setAllAttestations(fetchedStages); + const stages = fetchedStages.map(attestation => ({ + id: attestation.id, + stage: attestation.decodedData.stage + })); + setBatchStages(stages); + + // Filter stages up to and including the current stage + const currentStage = fetchedAttestation.decodedData.stage; + const relevantStages = fetchedStages.filter(stage => stage.decodedData.stage <= currentStage); + + const batchCoordinates = await Promise.all(relevantStages.map(async (attestation) => { + try { + const results = await geocode({ q: attestation.decodedData.location }); + if (results.length > 0) { + return [Number(results[0].lon), Number(results[0].lat)] as [number, number]; + } + } catch (error) { + console.error('Error geocoding location:', attestation.decodedData.location, error); + } + return null; + })); + + const filteredCoordinates = batchCoordinates.filter((coord): coord is [number, number] => coord !== null); + setCoordinates(filteredCoordinates); + } + } catch (error) { + console.error('Error loading attestation:', error); + } finally { + setIsLoading(false); + } + } + }; + + loadAttestation(); + }, [id]); + + if (isLoading) { + return ( +
+ +
+
+
+
+ ); + } + + if (!attestation) { + return ( +
+ +
+ +

Attestation Not Found

+

The attestation you're looking for doesn't exist or has been removed.

+ + Back to Overview + +
+
+
+ ); + } + + const currentStage = attestation.decodedData.stage; + + return ( +
+ +
+ + {/* Map component */} +
+ {coordinates.length > 0 ? ( +
{/* Increased height for better visibility */} + +
+ ) : ( +
+

Map data unavailable

+
+ )} +
+ + {/* Content area below the map */} +
+ {/* Batch ID pill */} +
+
+

{attestation.decodedData.batchId}

+
+
+ + {/* Timeline */} + + +
+ + Back to Overview + +
+
+
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/app/browse/page.tsx b/src/app/browse/page.tsx new file mode 100644 index 0000000..67934ae --- /dev/null +++ b/src/app/browse/page.tsx @@ -0,0 +1,95 @@ +"use client" + +import { motion } from "framer-motion"; +import { useCallback, useEffect, useState } from "react"; +import { fetchAttestations } from "../../api/attestations"; +import { AttestationModal } from "../../components/AttestationModal"; // Change this import +import { AttestationsTable } from "../../components/AttestationsTable"; +import { CreateAttestationButton } from "../../components/CreateAttestationButton"; +import { Footer } from "../../components/Footer"; +import { NavBar } from "../../components/NavBar"; +import type { Attestation, DecodedData } from "../../types/attestation"; + +const fadeIn = { + initial: { opacity: 0, y: 20 }, + animate: { opacity: 1, y: 0 }, + transition: { duration: 0.5 } +}; + +export default function BrowsePage() { + const [attestations, setAttestations] = useState([]); + const [columns, setColumns] = useState([]); + const [isModalOpen, setIsModalOpen] = useState(false); + const [isLoading, setIsLoading] = useState(false); + + const loadAttestations = useCallback(async () => { + const fetchedAttestations = await fetchAttestations(); + setAttestations(fetchedAttestations); + + if (fetchedAttestations.length > 0) { + setColumns(Object.keys(fetchedAttestations[0].decodedData)); + } + }, []); + + useEffect(() => { + loadAttestations(); + }, [loadAttestations]); + + const handleCreateAttestation = async (newAttestationData: DecodedData) => { + setIsLoading(true); + setIsModalOpen(false); + + try { + await new Promise(resolve => setTimeout(resolve, 2000)); + await loadAttestations(); + } catch (error) { + console.error("Error creating attestation:", error); + } finally { + setIsLoading(false); + } + }; + + return ( +
+ +
+ +
+

Browse Coffee Journeys

+ setIsModalOpen(true)} /> +
+
+ +
+
+
+ + setIsModalOpen(false)} + onSubmit={handleCreateAttestation} + mode="create" + /> + + {isLoading && ( +
+
+
+

Creating attestation...

+
+
+ )} + +
+
+ ); +} \ No newline at end of file diff --git a/src/app/favicon.ico b/src/app/favicon.ico index 718d6fe..5f6f65a 100644 Binary files a/src/app/favicon.ico and b/src/app/favicon.ico differ diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 0a5158e..a5173ef 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,14 +1,16 @@ +import 'leaflet/dist/leaflet.css'; import type { Metadata } from "next"; -import { Inter } from "next/font/google"; -import "./globals.css"; -import Web3Provider from "../providers/web3"; +import { Inter, Poppins } from "next/font/google"; import QueryProvider from "../providers/query"; +import Web3Provider from "../providers/web3"; +import "./globals.css"; const inter = Inter({ subsets: ["latin"] }); +const poppins = Poppins({ weight: ["400", "600", "700"], subsets: ["latin"] }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "Coffee Beans Tracker", + description: "Coffee beans" }; export default function RootLayout({ @@ -18,7 +20,7 @@ export default function RootLayout({ }>) { return ( - + {children} diff --git a/src/app/page.tsx b/src/app/page.tsx index e440dc9..5204ae8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,95 +1,208 @@ -"use client"; +"use client" -import { useSuspenseQuery } from "@tanstack/react-query"; -import { ConnectKitButton } from "connectkit"; -import Head from "next/head"; -import { useCallback, useState } from "react"; -import { InvalidAddressError, getAddress } from "viem"; -import { useAccount, useWriteContract } from "wagmi"; -import contractData from "../../contractData/GenericERC20.json"; -import { portal } from "./portal/portal"; +import { motion, useScroll, useSpring, useTransform } from "framer-motion"; +import Link from "next/link"; +import { useCallback, useEffect, useRef, useState } from "react"; +import { useAccount } from "wagmi"; +import { fetchAttestations, fetchTotalAttestations } from "../api/attestations"; +import { AttestationModal } from "../components/AttestationModal"; +import { AttestationsTable } from "../components/AttestationsTable"; +import { CreateAttestationButton } from "../components/CreateAttestationButton"; +import { Footer } from "../components/Footer"; +import { NavBar } from "../components/NavBar"; +import type { Attestation } from "../types/attestation"; + +const fadeIn = { + initial: { opacity: 0, y: 20 }, + animate: { opacity: 1, y: 0 }, + transition: { duration: 0.5 } +}; export default function Home() { - const [to, setTo] = useState(""); - const [value, setValue] = useState(""); - const account = useAccount(); - const isAccountConnected = account.status === "connected"; - - const { writeContractAsync, isPending, isSuccess } = useWriteContract(); - const { data } = useSuspenseQuery({ - queryKey: ["symbol"], - queryFn: async () => { - try { - const address = getAddress(process.env.NEXT_PUBLIC_CONTRACT_ADDRESS ?? ""); - const response = await portal.GET("/api/generic-erc-20/{address}/symbol", { - params: { path: { address } }, - parseAs: "text", - }); - return response.data; - } catch (err) { - if (err instanceof InvalidAddressError) { - return null; - } - throw err; - } - }, - }); - - const writeContract = useCallback(() => { - const address = getAddress(process.env.NEXT_PUBLIC_CONTRACT_ADDRESS ?? ""); - return writeContractAsync({ - address, - abi: contractData.abi, - functionName: "transfer", - args: [to, value], - }); - }, [to, value, writeContractAsync]); + const { status: accountStatus } = useAccount(); + const [attestations, setAttestations] = useState([]); + const [columns, setColumns] = useState([]); + const [isModalOpen, setIsModalOpen] = useState(false); + const [totalAttestations, setTotalAttestations] = useState(null); + + const loadAttestations = useCallback(async () => { + const fetchedAttestations = await fetchAttestations(); + const sortedAttestations = fetchedAttestations.sort((a, b) => + b.decodedData.timestamp - a.decodedData.timestamp + ); + setAttestations(sortedAttestations); + + if (sortedAttestations.length > 0) { + setColumns(Object.keys(sortedAttestations[0].decodedData)); + } + + const total = await fetchTotalAttestations(); + setTotalAttestations(total); + }, []); + + useEffect(() => { + loadAttestations(); + }, [loadAttestations]); + + const handleModalClose = () => setIsModalOpen(false); + const handleAttestationCreated = () => { + loadAttestations(); + setIsModalOpen(false); + }; + + const videoRef = useRef(null); + + useEffect(() => { + if (videoRef.current) { + videoRef.current.playbackRate = 0.75; // Slowed down from 0.75 to 0.5 + } + }, []); + + const { scrollY } = useScroll(); + const springConfig = { stiffness: 300, damping: 30, restDelta: 0.001 }; + const contentY = useSpring( + useTransform(scrollY, [0, 300], [50, -50]), + springConfig + ); return ( -
- - Send Tokens - - -
-

Send Your Tokens

- -

-

Token to Send: {data ?? "/"}

-

-
- setTo(e.target.value)} - disabled={!isAccountConnected} - className="p-2 border border-gray-400 rounded-md text-black" - /> -
-
- setValue(e.target.value)} - disabled={!isAccountConnected} - className="p-2 border border-gray-400 rounded-md text-black" - /> -
-
- - {isPending &&

Sending Tokens

} - {isSuccess &&

Tokens Sent

} +

+ Coffee Beans Tracker +

+

+ Track the journey of your coffee beans from farm to cup. +

+ + Explore Coffee Journeys + +
+
+ +
+ + +

Coffee Journey Tracking

+
+
+
+

What We Track

+
    + {["Batch ID", "Processing Stage", "Location", "Certifications", "Timestamp", "Details"].map((item) => ( +
  • + + {item} +
  • + ))} +
+
+
+

Journey Milestones

+ {totalAttestations !== null ? ( +
+
+

{totalAttestations.toLocaleString()}

+

Coffee Journeys Tracked

+
+ {/* biome-ignore lint/a11y/noSvgWithoutTitle: */} + + + +
+ ) : ( +
+
+
+ )} +
+
+
+

How to Use

+

+ Explore recent attestations below to see the latest updates on coffee batches. Each entry represents a step in a coffee batch's journey, from farm to cup. +

+

+ For a comprehensive view with advanced sorting and filtering options, visit our Browse page. +

+

+ Part of the coffee supply chain? Contribute by adding new attestations using the "Create Attestation" button. Track stages including Farm, Processing, Export, Import, Roasting, and Retail. +

+

+ View detailed information for each attestation, including location, certifications, and specific details to ensure transparency throughout the coffee's journey. +

+
+
+ + + +
+

+ Recent Coffee Journeys +

+ setIsModalOpen(true)} /> +
+
+ +
+
+
+ + setIsModalOpen(false)} + onSubmit={handleAttestationCreated} + mode="create" + /> + +
); } diff --git a/src/app/portal/portal-schema-rest.d.ts b/src/app/portal/portal-schema-rest.d.ts index e948343..5f80798 100644 --- a/src/app/portal/portal-schema-rest.d.ts +++ b/src/app/portal/portal-schema-rest.d.ts @@ -4,24853 +4,27681 @@ */ export interface paths { - "/api/generic-erc-20/{address}/domain-separator": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/eip-712-domain": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressEip-712-domain"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressDomain-separator"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/allowance/{owner}/{spender}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/get-attest-type-hash": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressGet-attest-type-hash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressAllowanceByOwnerBySpender"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/balance-of/{account}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/get-attestation/{uid}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressGet-attestationByUid"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressBalance-ofByAccount"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/decimals": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/get-domain-separator": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressGet-domain-separator"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressDecimals"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/eip-712-domain": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/get-name": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressGet-name"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressEip-712-domain"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/name": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/get-nonce/{account}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressGet-nonceByAccount"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressName"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/nonces/{owner}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/get-revoke-offchain/{revoker}/{data}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressGet-revoke-offchainByRevokerByData"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressNoncesByOwner"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/owner": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/get-revoke-type-hash": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressGet-revoke-type-hash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressOwner"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/paused": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/get-schema-registry": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressGet-schema-registry"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressPaused"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/symbol": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/get-timestamp/{data}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressGet-timestampByData"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressSymbol"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/total-supply": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/is-attestation-valid/{uid}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressIs-attestation-validByUid"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressTotal-supply"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/approve": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/version": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressVersion"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressApprove"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/approve/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/attest": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressAttest"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressApproveReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/burn": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/attest/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressAttestReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressBurn"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/burn/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/attest-by-delegation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressAttest-by-delegation"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressBurnReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/burn-from": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/attest-by-delegation/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressAttest-by-delegationReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressBurn-from"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/burn-from/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/increase-nonce": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressIncrease-nonce"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressBurn-fromReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/mint": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/increase-nonce/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressIncrease-nonceReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressMint"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/mint/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-attest": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressMulti-attest"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressMintReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/pause": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-attest/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressMulti-attestReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressPause"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/pause/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-attest-by-delegation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressMulti-attest-by-delegation"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressPauseReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/permit": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-attest-by-delegation/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressMulti-attest-by-delegationReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressPermit"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/permit/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-revoke": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressMulti-revoke"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressPermitReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/renounce-ownership": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-revoke/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressMulti-revokeReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressRenounce-ownership"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/renounce-ownership/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-revoke-by-delegation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressMulti-revoke-by-delegation"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressRenounce-ownershipReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/transfer": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-revoke-by-delegation/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressMulti-revoke-by-delegationReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressTransfer"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/transfer/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-revoke-offchain": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressMulti-revoke-offchain"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressTransferReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/transfer-from": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-revoke-offchain/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressMulti-revoke-offchainReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressTransfer-from"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/transfer-from/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-timestamp": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressMulti-timestamp"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressTransfer-fromReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/transfer-ownership": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/multi-timestamp/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressMulti-timestampReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressTransfer-ownership"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/transfer-ownership/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/revoke": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressRevoke"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressTransfer-ownershipReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/unpause": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/revoke/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressRevokeReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post: operations["postApiGeneric-erc-20ByAddressUnpause"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/generic-erc-20/{address}/unpause/receipt/{transactionHash}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/revoke-by-delegation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressRevoke-by-delegation"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get: operations["getApiGeneric-erc-20ByAddressUnpauseReceiptByTransactionHash"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/ws": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/revoke-by-delegation/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressRevoke-by-delegationReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - get?: never; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/transactions/pending-and-recently-processed": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/revoke-offchain": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressRevoke-offchain"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - /** @description Get the list of pending and recently processed transactions */ - get: operations["getTransactionsPending-and-recently-processed"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/transactions/pending": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/revoke-offchain/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressRevoke-offchainReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - /** @description Get the list of pending transactions */ - get: operations["getTransactionsPending"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/transactions/processed": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + "/api/eas-deployment/{address}/timestamp": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-deploymentByAddressTimestamp"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/eas-deployment/{address}/timestamp/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-deploymentByAddressTimestampReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/eas-schema-registry/{address}/get-schema/{uid}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-schema-registryByAddressGet-schemaByUid"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/eas-schema-registry/{address}/version": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-schema-registryByAddressVersion"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/eas-schema-registry/{address}/register": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["postApiEas-schema-registryByAddressRegister"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/eas-schema-registry/{address}/register/receipt/{transactionHash}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["getApiEas-schema-registryByAddressRegisterReceiptByTransactionHash"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/transactions/pending-and-recently-processed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Get the list of pending and recently processed transactions */ + get: operations["getTransactionsPending-and-recently-processed"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/transactions/pending": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Get the list of pending transactions */ + get: operations["getTransactionsPending"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/transactions/processed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Get the list of processed transactions */ + get: operations["getTransactionsProcessed"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - /** @description Get the list of processed transactions */ - get: operations["getTransactionsProcessed"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; } export type webhooks = Record; export interface components { - schemas: never; - responses: never; - parameters: never; - requestBodies: never; - headers: never; - pathItems: never; + schemas: never; + responses: never; + parameters: never; + requestBodies: never; + headers: never; + pathItems: never; } export type $defs = Record; export interface operations { - "getApiGeneric-erc-20ByAddressDomain-separator": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": string; - "multipart/form-data": string; - "text/plain": string; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; + "getApiEas-deploymentByAddressEip-712-domain": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + fields: string; + name: string; + version: string; + chainId: string; + verifyingContract: string; + salt: string; + extensions: string[]; + }; + "multipart/form-data": { + fields: string; + name: string; + version: string; + chainId: string; + verifyingContract: string; + salt: string; + extensions: string[]; + }; + "text/plain": { + fields: string; + name: string; + version: string; + chainId: string; + verifyingContract: string; + salt: string; + extensions: string[]; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; + }; + "getApiEas-deploymentByAddressGet-attest-type-hash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + "multipart/form-data": string; + "text/plain": string; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; + }; + "getApiEas-deploymentByAddressGet-attestationByUid": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + uid: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + uid: string; + schema: string; + time: string; + expirationTime: string; + revocationTime: string; + refUID: string; + recipient: string; + attester: string; + revocable: boolean; + data: string; + }; + "multipart/form-data": { + uid: string; + schema: string; + time: string; + expirationTime: string; + revocationTime: string; + refUID: string; + recipient: string; + attester: string; + revocable: boolean; + data: string; + }; + "text/plain": { + uid: string; + schema: string; + time: string; + expirationTime: string; + revocationTime: string; + refUID: string; + recipient: string; + attester: string; + revocable: boolean; + data: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; + }; + "getApiEas-deploymentByAddressGet-domain-separator": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + "multipart/form-data": string; + "text/plain": string; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; }; - }; - "getApiGeneric-erc-20ByAddressAllowanceByOwnerBySpender": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - owner: string; - spender: string; - }; - cookie?: never; + "getApiEas-deploymentByAddressGet-name": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + "multipart/form-data": string; + "text/plain": string; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; + }; }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; + "getApiEas-deploymentByAddressGet-nonceByAccount": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + account: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + "multipart/form-data": string; + "text/plain": string; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": string; - "multipart/form-data": string; - "text/plain": string; + }; + "getApiEas-deploymentByAddressGet-revoke-offchainByRevokerByData": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + revoker: string; + data: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + "multipart/form-data": string; + "text/plain": string; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; + }; + "getApiEas-deploymentByAddressGet-revoke-type-hash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + "multipart/form-data": string; + "text/plain": string; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; + }; + "getApiEas-deploymentByAddressGet-schema-registry": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + "multipart/form-data": string; + "text/plain": string; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; + }; + "getApiEas-deploymentByAddressGet-timestampByData": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + data: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + "multipart/form-data": string; + "text/plain": string; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; + }; + "getApiEas-deploymentByAddressIs-attestation-validByUid": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + uid: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": boolean; + "multipart/form-data": boolean; + "text/plain": boolean; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; + }; + "getApiEas-deploymentByAddressVersion": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + "multipart/form-data": string; + "text/plain": string; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; + }; + "postApiEas-deploymentByAddressAttest": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + request: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }; + }; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + request: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }; + }; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + request: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }; + }; + }; + }; + }; }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; + }; + "getApiEas-deploymentByAddressAttestReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; + }; + "postApiEas-deploymentByAddressAttest-by-delegation": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + delegatedRequest: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }; + signature: { + v: number; + r: string; + s: string; + }; + attester: string; + deadline: string; + }; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + delegatedRequest: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }; + signature: { + v: number; + r: string; + s: string; + }; + attester: string; + deadline: string; + }; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + delegatedRequest: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }; + signature: { + v: number; + r: string; + s: string; + }; + attester: string; + deadline: string; + }; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; + }; + "getApiEas-deploymentByAddressAttest-by-delegationReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; + }; + "postApiEas-deploymentByAddressIncrease-nonce": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + newNonce: string; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + newNonce: string; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + newNonce: string; + }; + }; + }; }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; + }; + "getApiEas-deploymentByAddressIncrease-nonceReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; + }; + "postApiEas-deploymentByAddressMulti-attest": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiRequests: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }[]; + }[]; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiRequests: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }[]; + }[]; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiRequests: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }[]; + }[]; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; }; - }; - "getApiGeneric-erc-20ByAddressBalance-ofByAccount": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - account: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; + "getApiEas-deploymentByAddressMulti-attestReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": string; - "multipart/form-data": string; - "text/plain": string; + }; + "postApiEas-deploymentByAddressMulti-attest-by-delegation": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiDelegatedRequests: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }[]; + signatures: { + v: number; + r: string; + s: string; + }[]; + attester: string; + deadline: string; + }[]; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiDelegatedRequests: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }[]; + signatures: { + v: number; + r: string; + s: string; + }[]; + attester: string; + deadline: string; + }[]; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiDelegatedRequests: { + schema: string; + data: { + recipient: string; + expirationTime: string; + revocable: boolean; + refUID: string; + data: string; + value: string; + }[]; + signatures: { + v: number; + r: string; + s: string; + }[]; + attester: string; + deadline: string; + }[]; + }; + }; + }; }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressDecimals": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": number; - "multipart/form-data": number; - "text/plain": number; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressEip-712-domain": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - fields: string; - name: string; - version: string; - chainId: string; - verifyingContract: string; - salt: string; - extensions: string[]; - }; - "multipart/form-data": { - fields: string; - name: string; - version: string; - chainId: string; - verifyingContract: string; - salt: string; - extensions: string[]; - }; - "text/plain": { - fields: string; - name: string; - version: string; - chainId: string; - verifyingContract: string; - salt: string; - extensions: string[]; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressName": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": string; - "multipart/form-data": string; - "text/plain": string; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressNoncesByOwner": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - owner: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": string; - "multipart/form-data": string; - "text/plain": string; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressOwner": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": string; - "multipart/form-data": string; - "text/plain": string; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressPaused": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": boolean; - "multipart/form-data": boolean; - "text/plain": boolean; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressSymbol": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": string; - "multipart/form-data": string; - "text/plain": string; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressTotal-supply": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": string; - "multipart/form-data": string; - "text/plain": string; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressApprove": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - spender: string; - value: string; - }; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - spender: string; - value: string; - }; - }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - spender: string; - value: string; - }; - }; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressApproveReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - 425: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressBurn": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - value: string; - }; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - value: string; - }; - }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - value: string; - }; - }; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressBurnReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - 425: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressBurn-from": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - account: string; - value: string; - }; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - account: string; - value: string; - }; - }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - account: string; - value: string; - }; - }; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressBurn-fromReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - 425: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressMint": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - to: string; - amount: string; - }; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - to: string; - amount: string; - }; - }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - to: string; - amount: string; - }; - }; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressMintReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - 425: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressPause": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - }; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressPauseReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - 425: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressPermit": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - owner: string; - spender: string; - value: string; - deadline: string; - v: number; - r: string; - s: string; - }; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - owner: string; - spender: string; - value: string; - deadline: string; - v: number; - r: string; - s: string; - }; - }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - owner: string; - spender: string; - value: string; - deadline: string; - v: number; - r: string; - s: string; - }; - }; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressPermitReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - 425: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressRenounce-ownership": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - }; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressRenounce-ownershipReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - 425: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressTransfer": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - to: string; - value: string; - }; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - to: string; - value: string; - }; - }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - to: string; - value: string; - }; - }; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressTransferReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - 425: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressTransfer-from": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - from: string; - to: string; - value: string; - }; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - from: string; - to: string; - value: string; - }; - }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - from: string; - to: string; - value: string; - }; - }; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressTransfer-fromReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - 425: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressTransfer-ownership": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - newOwner: string; - }; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - newOwner: string; - }; - }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - input: { - newOwner: string; - }; + "getApiEas-deploymentByAddressMulti-attest-by-delegationReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; + "postApiEas-deploymentByAddressMulti-revoke": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiRequests: { + schema: string; + data: { + uid: string; + value: string; + }[]; + }[]; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiRequests: { + schema: string; + data: { + uid: string; + value: string; + }[]; + }[]; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiRequests: { + schema: string; + data: { + uid: string; + value: string; + }[]; + }[]; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressTransfer-ownershipReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - 425: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; + "getApiEas-deploymentByAddressMulti-revokeReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - }; - }; - "postApiGeneric-erc-20ByAddressUnpause": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - }; - cookie?: never; }; - requestBody: { - content: { - "application/json": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; - }; - "multipart/form-data": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; + "postApiEas-deploymentByAddressMulti-revoke-by-delegation": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiDelegatedRequests: { + schema: string; + data: { + uid: string; + value: string; + }[]; + signatures: { + v: number; + r: string; + s: string; + }[]; + revoker: string; + deadline: string; + }[]; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiDelegatedRequests: { + schema: string; + data: { + uid: string; + value: string; + }[]; + signatures: { + v: number; + r: string; + s: string; + }[]; + revoker: string; + deadline: string; + }[]; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + multiDelegatedRequests: { + schema: string; + data: { + uid: string; + value: string; + }[]; + signatures: { + v: number; + r: string; + s: string; + }[]; + revoker: string; + deadline: string; + }[]; + }; + }; + }; }; - "text/plain": { - /** @description From address */ - from: string; - /** @description Payable value (wei) */ - value?: string; - /** @description Gas limit */ - gasLimit?: string; - /** @description Gas price */ - gasPrice?: string; - /** @description Simulate the transaction before sending it */ - simulate?: boolean; - /** @description Metadata (store custom metadata from your application) */ - metadata?: Record; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Transaction hash */ - transactionHash: string; - }; - "multipart/form-data": { - /** @description Transaction hash */ - transactionHash: string; - }; - "text/plain": { - /** @description Transaction hash */ - transactionHash: string; - }; - }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; + "getApiEas-deploymentByAddressMulti-revoke-by-delegationReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - }; - }; - "getApiGeneric-erc-20ByAddressUnpauseReceiptByTransactionHash": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Contract address */ - address: string; - /** @description Transaction hash */ - transactionHash: string; - }; - cookie?: never; }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "multipart/form-data": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; - "text/plain": { - receipt: { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - }; + "postApiEas-deploymentByAddressMulti-revoke-offchain": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string[]; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string[]; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string[]; + }; + }; + }; }; - }; - /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ - 400: { - headers: { - [name: string]: unknown; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32000; - /** @constant */ - name: "InvalidInputRpcError"; - message: string; - } - | { - /** @constant */ - code: -32602; - /** @constant */ - name: "InvalidParamsRpcError"; - message: string; - } - | { - /** @constant */ - code: -32600; - /** @constant */ - name: "InvalidRequestRpcError"; - message: string; - } - | { - /** @constant */ - code: -32700; - /** @constant */ - name: "ParseRpcError"; - message: string; - } - | { - message: string; - }; + }; + "getApiEas-deploymentByAddressMulti-revoke-offchainReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ - 404: { - headers: { - [name: string]: unknown; + }; + "postApiEas-deploymentByAddressMulti-timestamp": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string[]; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string[]; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string[]; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32601; - /** @constant */ - name: "MethodNotFoundRpcError"; - message: string; - } - | { - /** @constant */ - code: -32001; - /** @constant */ - name: "ResourceNotFoundRpcError"; - message: string; - } - | { - message: string; - }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description TransactionRejectedRpcErrorType */ - 409: { - headers: { - [name: string]: unknown; + }; + "getApiEas-deploymentByAddressMulti-timestampReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32003; - /** @constant */ - name: "TransactionRejectedRpcError"; - message: string; - } - | { - message: string; - }; + }; + "postApiEas-deploymentByAddressRevoke": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + request: { + schema: string; + data: { + uid: string; + value: string; + }; + }; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + request: { + schema: string; + data: { + uid: string; + value: string; + }; + }; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + request: { + schema: string; + data: { + uid: string; + value: string; + }; + }; + }; + }; + }; }; - }; - 425: { - headers: { - [name: string]: unknown; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": { - message: string; - }; - "multipart/form-data": { - message: string; - }; - "text/plain": { - message: string; - }; + }; + "getApiEas-deploymentByAddressRevokeReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description LimitExceededRpcErrorType */ - 429: { - headers: { - [name: string]: unknown; + }; + "postApiEas-deploymentByAddressRevoke-by-delegation": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + delegatedRequest: { + schema: string; + data: { + uid: string; + value: string; + }; + signature: { + v: number; + r: string; + s: string; + }; + revoker: string; + deadline: string; + }; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + delegatedRequest: { + schema: string; + data: { + uid: string; + value: string; + }; + signature: { + v: number; + r: string; + s: string; + }; + revoker: string; + deadline: string; + }; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + /** @description Payable value (wei) */ + value?: string; + input: { + delegatedRequest: { + schema: string; + data: { + uid: string; + value: string; + }; + signature: { + v: number; + r: string; + s: string; + }; + revoker: string; + deadline: string; + }; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32005; - /** @constant */ - name: "LimitExceededRpcError"; - message: string; - } - | { - message: string; - }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ - 500: { - headers: { - [name: string]: unknown; + }; + "getApiEas-deploymentByAddressRevoke-by-delegationReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: 4901; - /** @constant */ - name: "ChainDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "HttpRequestError"; - message: string; - } - | { - /** @constant */ - code: -32603; - /** @constant */ - name: "InternalRpcError"; - message: string; - } - | { - /** @constant */ - code: 4900; - /** @constant */ - name: "ProviderDisconnectedError"; - message: string; - } - | { - /** @constant */ - name: "RpcError"; - message: string; - } - | { - /** @constant */ - name: "RpcRequestError"; - message: string; - } - | { - /** @constant */ - code: 4902; - /** @constant */ - name: "SwitchChainError"; - message: string; - } - | { - /** @constant */ - name: "TimeoutError"; - message: string; - } - | { - /** @constant */ - code: 4100; - /** @constant */ - name: "UnauthorizedProviderError"; - message: string; - } - | { - /** @constant */ - name: "UnknownRpcError"; - message: string; - } - | { - /** @constant */ - code: 4200; - /** @constant */ - name: "UnsupportedProviderMethodError"; - message: string; - } - | { - /** @constant */ - code: 4001; - /** @constant */ - name: "UserRejectedRequestError"; - message: string; - } - | { - /** @constant */ - name: "WebSocketRequestError"; - message: string; - } - | { - message: string; - }; + }; + "postApiEas-deploymentByAddressRevoke-offchain": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string; + }; + }; + }; }; - }; - /** @description MethodNotSupportedRpcErrorType */ - 501: { - headers: { - [name: string]: unknown; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32004; - /** @constant */ - name: "MethodNotSupportedRpcError"; - message: string; - } - | { - message: string; - }; + }; + "getApiEas-deploymentByAddressRevoke-offchainReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description ResourceUnavailableRpcErrorType */ - 503: { - headers: { - [name: string]: unknown; + }; + "postApiEas-deploymentByAddressTimestamp": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + data: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32002; - /** @constant */ - name: "ResourceUnavailableRpcError"; - message: string; - } - | { - message: string; - }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; - /** @description JsonRpcVersionUnsupportedErrorType */ - 505: { - headers: { - [name: string]: unknown; + }; + "getApiEas-deploymentByAddressTimestampReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ + transactionHash: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - content: { - "application/json": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "multipart/form-data": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; - "text/plain": - | { - /** @constant */ - code: -32006; - /** @constant */ - name: "JsonRpcVersionUnsupportedError"; - message: string; - } - | { - message: string; - }; + }; + "getApiEas-schema-registryByAddressGet-schemaByUid": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + uid: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + uid: string; + resolver: string; + revocable: boolean; + schema: string; + }; + "multipart/form-data": { + uid: string; + resolver: string; + revocable: boolean; + schema: string; + }; + "text/plain": { + uid: string; + resolver: string; + revocable: boolean; + schema: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; }; - }; - "getTransactionsPending-and-recently-processed": { - parameters: { - query?: { - /** @description Contract address */ - address?: string; - /** @description From address */ - from?: string; - /** @description Function name */ - functionName?: string; - /** @description Page number, starts from 0 */ - page?: string; - /** @description Number of items per page */ - pageSize?: string; - /** @description Processed after date, use json like date format (eg 2024-06-26T14:07:37.740Z) (default is 15 minutes ago) */ - processedAfter?: string; - }; - header?: never; - path?: never; - cookie?: never; + "getApiEas-schema-registryByAddressVersion": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + "multipart/form-data": string; + "text/plain": string; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; + }; }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; + "postApiEas-schema-registryByAddressRegister": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + schema: string; + resolver: string; + revocable: boolean; + }; + }; + "multipart/form-data": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + schema: string; + resolver: string; + revocable: boolean; + }; + }; + "text/plain": { + /** @description From address */ + from: string; + /** @description Gas limit */ + gasLimit?: string; + /** @description Gas price */ + gasPrice?: string; + /** @description Simulate the transaction before sending it */ + simulate?: boolean; + /** @description Metadata (store custom metadata from your application) */ + metadata?: Record; + input: { + schema: string; + resolver: string; + revocable: boolean; + }; + }; + }; }; - content: { - "application/json": { - /** @description Total number of results */ - count: number; - /** @description Pending and recently processed transactions */ - records: { - /** @description Transaction hash */ - transactionHash: string; - /** @description From address */ - from: string; - /** @description Contract address */ - address: string; - /** @description Function name */ - functionName: string; - createdAt: null | (Record | string); - updatedAt: null | (Record | string); - receipt: null | { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - metadata: null | Record; - }[]; - }; - "multipart/form-data": { - /** @description Total number of results */ - count: number; - /** @description Pending and recently processed transactions */ - records: { - /** @description Transaction hash */ - transactionHash: string; - /** @description From address */ - from: string; - /** @description Contract address */ - address: string; - /** @description Function name */ - functionName: string; - createdAt: null | (Record | string); - updatedAt: null | (Record | string); - receipt: null | { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - metadata: null | Record; - }[]; - }; - "text/plain": { - /** @description Total number of results */ - count: number; - /** @description Pending and recently processed transactions */ - records: { - /** @description Transaction hash */ - transactionHash: string; - /** @description From address */ - from: string; - /** @description Contract address */ - address: string; - /** @description Function name */ - functionName: string; - createdAt: null | (Record | string); - updatedAt: null | (Record | string); - receipt: null | { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - metadata: null | Record; - }[]; - }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Transaction hash */ + transactionHash: string; + }; + "multipart/form-data": { + /** @description Transaction hash */ + transactionHash: string; + }; + "text/plain": { + /** @description Transaction hash */ + transactionHash: string; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; }; - }; - getTransactionsPending: { - parameters: { - query?: { - /** @description Contract address */ - address?: string; - /** @description From address */ - from?: string; - /** @description Function name */ - functionName?: string; - /** @description Page number, starts from 0 */ - page?: string; - /** @description Number of items per page */ - pageSize?: string; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - /** @description Total number of results */ - count: number; - /** @description Pending transactions */ - records: { - /** @description Transaction hash */ - transactionHash: string; - /** @description From address */ - from: string; - /** @description Contract address */ - address: string; - /** @description Function name */ - functionName: string; - createdAt: null | (Record | string); - updatedAt: null | (Record | string); - receipt: null | { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ + "getApiEas-schema-registryByAddressRegisterReceiptByTransactionHash": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Contract address */ + address: string; + /** @description Transaction hash */ transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - metadata: null | Record; - }[]; - }; - "multipart/form-data": { - /** @description Total number of results */ - count: number; - /** @description Pending transactions */ - records: { - /** @description Transaction hash */ - transactionHash: string; - /** @description From address */ - from: string; - /** @description Contract address */ - address: string; - /** @description Function name */ - functionName: string; - createdAt: null | (Record | string); - updatedAt: null | (Record | string); - receipt: null | { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - metadata: null | Record; - }[]; - }; - "text/plain": { - /** @description Total number of results */ - count: number; - /** @description Pending transactions */ - records: { - /** @description Transaction hash */ - transactionHash: string; - /** @description From address */ - from: string; - /** @description Contract address */ - address: string; - /** @description Function name */ - functionName: string; - createdAt: null | (Record | string); - updatedAt: null | (Record | string); - receipt: null | { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - metadata: null | Record; - }[]; - }; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "multipart/form-data": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + "text/plain": { + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + }; + }; + }; + }; + /** @description InvalidInputRpcErrorType, InvalidParamsRpcErrorType, InvalidRequestRpcErrorType, ParseRpcErrorType */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32000; + /** @constant */ + name: "InvalidInputRpcError"; + message: string; + } | { + /** @constant */ + code: -32602; + /** @constant */ + name: "InvalidParamsRpcError"; + message: string; + } | { + /** @constant */ + code: -32600; + /** @constant */ + name: "InvalidRequestRpcError"; + message: string; + } | { + /** @constant */ + code: -32700; + /** @constant */ + name: "ParseRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotFoundRpcErrorType, ResourceNotFoundRpcErrorType */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32601; + /** @constant */ + name: "MethodNotFoundRpcError"; + message: string; + } | { + /** @constant */ + code: -32001; + /** @constant */ + name: "ResourceNotFoundRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description TransactionRejectedRpcErrorType */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32003; + /** @constant */ + name: "TransactionRejectedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + 425: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + message: string; + }; + "multipart/form-data": { + message: string; + }; + "text/plain": { + message: string; + }; + }; + }; + /** @description LimitExceededRpcErrorType */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32005; + /** @constant */ + name: "LimitExceededRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ChainDisconnectedErrorType, HttpRequestErrorType, InternalRpcErrorType, ProviderDisconnectedErrorType, RpcErrorType, RpcRequestErrorType, SwitchChainErrorType, TimeoutErrorType, UnauthorizedProviderErrorType, UnknownRpcErrorType, UnsupportedProviderMethodErrorType, UserRejectedRequestErrorType, WebSocketRequestErrorType */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: 4901; + /** @constant */ + name: "ChainDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "HttpRequestError"; + message: string; + } | { + /** @constant */ + code: -32603; + /** @constant */ + name: "InternalRpcError"; + message: string; + } | { + /** @constant */ + code: 4900; + /** @constant */ + name: "ProviderDisconnectedError"; + message: string; + } | { + /** @constant */ + name: "RpcError"; + message: string; + } | { + /** @constant */ + name: "RpcRequestError"; + message: string; + } | { + /** @constant */ + code: 4902; + /** @constant */ + name: "SwitchChainError"; + message: string; + } | { + /** @constant */ + name: "TimeoutError"; + message: string; + } | { + /** @constant */ + code: 4100; + /** @constant */ + name: "UnauthorizedProviderError"; + message: string; + } | { + /** @constant */ + name: "UnknownRpcError"; + message: string; + } | { + /** @constant */ + code: 4200; + /** @constant */ + name: "UnsupportedProviderMethodError"; + message: string; + } | { + /** @constant */ + code: 4001; + /** @constant */ + name: "UserRejectedRequestError"; + message: string; + } | { + /** @constant */ + name: "WebSocketRequestError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description MethodNotSupportedRpcErrorType */ + 501: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32004; + /** @constant */ + name: "MethodNotSupportedRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description ResourceUnavailableRpcErrorType */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32002; + /** @constant */ + name: "ResourceUnavailableRpcError"; + message: string; + } | { + message: string; + }; + }; + }; + /** @description JsonRpcVersionUnsupportedErrorType */ + 505: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "multipart/form-data": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + "text/plain": { + /** @constant */ + code: -32006; + /** @constant */ + name: "JsonRpcVersionUnsupportedError"; + message: string; + } | { + message: string; + }; + }; + }; }; - }; }; - }; - getTransactionsProcessed: { - parameters: { - query?: { - /** @description Contract address */ - address?: string; - /** @description From address */ - from?: string; - /** @description Function name */ - functionName?: string; - /** @description Page number, starts from 0 */ - page?: string; - /** @description Number of items per page */ - pageSize?: string; - /** @description Processed after date, use json like date format (eg 2024-06-26T14:07:37.740Z) */ - processedAfter?: string; - }; - header?: never; - path?: never; - cookie?: never; + "getTransactionsPending-and-recently-processed": { + parameters: { + query?: { + /** @description Contract address */ + address?: string; + /** @description From address */ + from?: string; + /** @description Function name */ + functionName?: string; + /** @description Page number, starts from 0 */ + page?: string; + /** @description Number of items per page */ + pageSize?: string; + /** @description Processed after date, use json like date format (eg 2024-06-26T14:07:37.740Z) (default is 15 minutes ago) */ + processedAfter?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Total number of results */ + count: number; + /** @description Pending and recently processed transactions */ + records: { + /** @description Transaction hash */ + transactionHash: string; + /** @description From address */ + from: string; + /** @description Contract address */ + address: string; + /** @description Function name */ + functionName: string; + createdAt: (Record | string) | null; + updatedAt: (Record | string) | null; + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + } | null; + metadata: Record | null; + }[]; + }; + "multipart/form-data": { + /** @description Total number of results */ + count: number; + /** @description Pending and recently processed transactions */ + records: { + /** @description Transaction hash */ + transactionHash: string; + /** @description From address */ + from: string; + /** @description Contract address */ + address: string; + /** @description Function name */ + functionName: string; + createdAt: (Record | string) | null; + updatedAt: (Record | string) | null; + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + } | null; + metadata: Record | null; + }[]; + }; + "text/plain": { + /** @description Total number of results */ + count: number; + /** @description Pending and recently processed transactions */ + records: { + /** @description Transaction hash */ + transactionHash: string; + /** @description From address */ + from: string; + /** @description Contract address */ + address: string; + /** @description Function name */ + functionName: string; + createdAt: (Record | string) | null; + updatedAt: (Record | string) | null; + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + } | null; + metadata: Record | null; + }[]; + }; + }; + }; + }; }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; + getTransactionsPending: { + parameters: { + query?: { + /** @description Contract address */ + address?: string; + /** @description From address */ + from?: string; + /** @description Function name */ + functionName?: string; + /** @description Page number, starts from 0 */ + page?: string; + /** @description Number of items per page */ + pageSize?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Total number of results */ + count: number; + /** @description Pending transactions */ + records: { + /** @description Transaction hash */ + transactionHash: string; + /** @description From address */ + from: string; + /** @description Contract address */ + address: string; + /** @description Function name */ + functionName: string; + createdAt: (Record | string) | null; + updatedAt: (Record | string) | null; + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + } | null; + metadata: Record | null; + }[]; + }; + "multipart/form-data": { + /** @description Total number of results */ + count: number; + /** @description Pending transactions */ + records: { + /** @description Transaction hash */ + transactionHash: string; + /** @description From address */ + from: string; + /** @description Contract address */ + address: string; + /** @description Function name */ + functionName: string; + createdAt: (Record | string) | null; + updatedAt: (Record | string) | null; + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + } | null; + metadata: Record | null; + }[]; + }; + "text/plain": { + /** @description Total number of results */ + count: number; + /** @description Pending transactions */ + records: { + /** @description Transaction hash */ + transactionHash: string; + /** @description From address */ + from: string; + /** @description Contract address */ + address: string; + /** @description Function name */ + functionName: string; + createdAt: (Record | string) | null; + updatedAt: (Record | string) | null; + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + } | null; + metadata: Record | null; + }[]; + }; + }; + }; }; - content: { - "application/json": { - /** @description Total number of results */ - count: number; - /** @description Processed transactions */ - records: { - /** @description Transaction hash */ - transactionHash: string; - /** @description From address */ - from: string; - /** @description Contract address */ - address: string; - /** @description Function name */ - functionName: string; - createdAt: null | (Record | string); - updatedAt: null | (Record | string); - receipt: null | { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - metadata: null | Record; - }[]; - }; - "multipart/form-data": { - /** @description Total number of results */ - count: number; - /** @description Processed transactions */ - records: { - /** @description Transaction hash */ - transactionHash: string; - /** @description From address */ - from: string; - /** @description Contract address */ - address: string; - /** @description Function name */ - functionName: string; - createdAt: null | (Record | string); - updatedAt: null | (Record | string); - receipt: null | { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - metadata: null | Record; - }[]; - }; - "text/plain": { - /** @description Total number of results */ - count: number; - /** @description Processed transactions */ - records: { - /** @description Transaction hash */ - transactionHash: string; - /** @description From address */ - from: string; - /** @description Contract address */ - address: string; - /** @description Function name */ - functionName: string; - createdAt: null | (Record | string); - updatedAt: null | (Record | string); - receipt: null | { - /** @description Blob Gas Price */ - blobGasPrice?: string; - /** @description Blob Gas Used */ - blobGasUsed?: string; - /** @description Block Hash */ - blockHash: string; - /** @description Block Number */ - blockNumber: string; - /** @description Contract Address */ - contractAddress?: string | null; - /** @description Cumulative Gas Used */ - cumulativeGasUsed: string; - /** @description Effective Gas Price */ - effectiveGasPrice: string; - /** @description From */ - from: string; - /** @description Gas Used */ - gasUsed: string; - /** @description Logs */ - logs: unknown[]; - /** @description Logs Bloom */ - logsBloom: string; - /** @description Root */ - root?: string; - /** @description Status */ - status: "success" | "reverted"; - /** @description To */ - to: string | null; - /** @description Transaction Hash */ - transactionHash: string; - /** @description Transaction Index */ - transactionIndex: number; - /** @description Type */ - type: string; - }; - metadata: null | Record; - }[]; - }; + }; + getTransactionsProcessed: { + parameters: { + query?: { + /** @description Contract address */ + address?: string; + /** @description From address */ + from?: string; + /** @description Function name */ + functionName?: string; + /** @description Page number, starts from 0 */ + page?: string; + /** @description Number of items per page */ + pageSize?: string; + /** @description Processed after date, use json like date format (eg 2024-06-26T14:07:37.740Z) */ + processedAfter?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @description Total number of results */ + count: number; + /** @description Processed transactions */ + records: { + /** @description Transaction hash */ + transactionHash: string; + /** @description From address */ + from: string; + /** @description Contract address */ + address: string; + /** @description Function name */ + functionName: string; + createdAt: (Record | string) | null; + updatedAt: (Record | string) | null; + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + } | null; + metadata: Record | null; + }[]; + }; + "multipart/form-data": { + /** @description Total number of results */ + count: number; + /** @description Processed transactions */ + records: { + /** @description Transaction hash */ + transactionHash: string; + /** @description From address */ + from: string; + /** @description Contract address */ + address: string; + /** @description Function name */ + functionName: string; + createdAt: (Record | string) | null; + updatedAt: (Record | string) | null; + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + } | null; + metadata: Record | null; + }[]; + }; + "text/plain": { + /** @description Total number of results */ + count: number; + /** @description Processed transactions */ + records: { + /** @description Transaction hash */ + transactionHash: string; + /** @description From address */ + from: string; + /** @description Contract address */ + address: string; + /** @description Function name */ + functionName: string; + createdAt: (Record | string) | null; + updatedAt: (Record | string) | null; + receipt: { + /** @description Blob Gas Price */ + blobGasPrice?: string; + /** @description Blob Gas Used */ + blobGasUsed?: string; + /** @description Block Hash */ + blockHash: string; + /** @description Block Number */ + blockNumber: string; + /** @description Contract Address */ + contractAddress?: string | null; + /** @description Cumulative Gas Used */ + cumulativeGasUsed: string; + /** @description Effective Gas Price */ + effectiveGasPrice: string; + /** @description From */ + from: string; + /** @description Gas Used */ + gasUsed: string; + /** @description Logs */ + logs: unknown[]; + /** @description Logs Bloom */ + logsBloom: string; + /** @description Root */ + root?: string; + /** @description Status */ + status: "success" | "reverted"; + /** @description To */ + to: string | null; + /** @description Transaction Hash */ + transactionHash: string; + /** @description Transaction Index */ + transactionIndex: number; + /** @description Type */ + type: string; + } | null; + metadata: Record | null; + }[]; + }; + }; + }; }; - }; }; - }; } diff --git a/src/components/AttestationModal.tsx b/src/components/AttestationModal.tsx new file mode 100644 index 0000000..b2b3400 --- /dev/null +++ b/src/components/AttestationModal.tsx @@ -0,0 +1,195 @@ +import type React from 'react'; +import { useEffect, useState } from 'react'; +import { useAccount } from 'wagmi'; +import { createAttestation } from '../api/attestations'; +import type { DecodedData } from '../types/attestation'; + +const stageNames = ["Farm", "Processing", "Export", "Import", "Roasting", "Retail"]; +const stageIcons = ["🌱", "🏭", "🚢", "🛬", "☕", "🛒"]; +const stageColors = [ + "bg-[#8B4513]", // Farm (Dark brown) + "bg-[#A0522D]", // Processing (Sienna) + "bg-[#CD853F]", // Export (Peru) + "bg-[#DEB887]", // Import (Burlywood) + "bg-[#D2691E]", // Roasting (Chocolate) + "bg-[#B8860B]" // Retail (Dark goldenrod) +]; + +interface AttestationModalProps { + isOpen: boolean; + onClose: () => void; + onSubmit: (newAttestation: DecodedData) => void; + mode: string; +} + +export const AttestationModal: React.FC = ({ isOpen, onClose, onSubmit, mode }) => { + const [batchId, setBatchId] = useState(''); + const [stage, setStage] = useState(0); + const [location, setLocation] = useState(''); + const [certifications, setCertifications] = useState(''); + const [details, setDetails] = useState(''); + const [isSubmitting, setIsSubmitting] = useState(false); + const [isFormValid, setIsFormValid] = useState(false); + + const { address } = useAccount(); + + useEffect(() => { + setIsFormValid( + batchId.trim() !== '' && + location.trim() !== '' && + certifications.trim() !== '' && + details.trim() !== '' + ); + }, [batchId, location, certifications, details]); + + const handleSubmit = async (e: React.FormEvent) => { + e.preventDefault(); + if (!address || !isFormValid) { + console.log("Form is not valid or address is missing"); + return; + } + + setIsSubmitting(true); + try { + const certificationsArray = certifications.split(',').map(cert => cert.trim()); + const timestamp = Math.floor(Date.now() / 1000); + const previousAttestationId = '0x0000000000000000000000000000000000000000000000000000000000000000'; + + await createAttestation( + batchId, + stage, + location, + certificationsArray, + details, + address, + previousAttestationId, + timestamp + ); + + onSubmit({ batchId, stage, location, certifications: certificationsArray, details, attester: address, previousAttestationId, timestamp }); + onClose(); + } catch (error) { + console.error("Error creating attestation:", error); + } finally { + setIsSubmitting(false); + } + }; + + if (!isOpen) return null; + + return ( +
+
+

Create Coffee Journey Entry

+
+
+ + setBatchId(e.target.value)} + disabled={isSubmitting} + /> +
+
+ + +
+
+ + setLocation(e.target.value)} + className="w-full bg-[#333333] text-white p-2 rounded" + disabled={isSubmitting} + /> +
+
+ + setCertifications(e.target.value)} + className="w-full bg-[#333333] text-white p-2 rounded" + disabled={isSubmitting} + /> +
+
+ +