diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ebdb805..6e1a56c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: yarn - name: Install dependencies diff --git a/.github/workflows/test-deploy.yaml b/.github/workflows/test-deploy.yaml index abb2c65..883aba8 100644 --- a/.github/workflows/test-deploy.yaml +++ b/.github/workflows/test-deploy.yaml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: yarn - name: Install dependencies diff --git a/docs/presto/fundamentals/getting-set-up.mdx b/docs/presto/fundamentals/getting-set-up.mdx index 7929a6b..4e94551 100644 --- a/docs/presto/fundamentals/getting-set-up.mdx +++ b/docs/presto/fundamentals/getting-set-up.mdx @@ -21,7 +21,7 @@ title: Getting Set Up
Step 3: Deploy your own token -[How to deploy a smart contract](../overview/features-for-developers/how-to-deploy-a-smart-contract) +[How to Deploy a smart contract](../overview/features-for-developers/how-to-deploy-a-smart-contract)
diff --git a/docs/presto/overview/features-for-developers/how-to-deploy-a-smart-contract.mdx b/docs/presto/overview/features-for-developers/how-to-deploy-a-smart-contract.mdx index 51eaa05..383a9e7 100644 --- a/docs/presto/overview/features-for-developers/how-to-deploy-a-smart-contract.mdx +++ b/docs/presto/overview/features-for-developers/how-to-deploy-a-smart-contract.mdx @@ -1,9 +1,16 @@ --- -title: How To Deploy A Smart Contract +title: How To Deploy a Smart Contract --- -# How To Deploy A Smart Contract +## Contact Us for Deployment +### Steps to Deploy Using Hardhat +1. Create a Hardhat project +2. Add RPC + Chain ID to Hardhat network config +3. Add deployer private key in `.env` and `.gitignore` +4. Fund the deployer wallet +5. Compile and deploy using `npx hardhat compile` and `npx hardhat run scripts/deploy.js --network ` Deploy your smart contract to this L2 (validium/rollup) using the Ethereum development environment Hardhat. - +Check the video for more detailed steps + diff --git a/docs/presto/overview/for-enterprise-customers/enterprise-vs-paid-what-is-the-difference.mdx b/docs/presto/overview/for-enterprise-customers/enterprise-vs-paid-what-is-the-difference.mdx index fa0ffe0..4946ab2 100644 --- a/docs/presto/overview/for-enterprise-customers/enterprise-vs-paid-what-is-the-difference.mdx +++ b/docs/presto/overview/for-enterprise-customers/enterprise-vs-paid-what-is-the-difference.mdx @@ -4,7 +4,7 @@ title: Enterprise vs Paid β€” what is the difference? # Enterprise vs Paid β€” what is the difference? -Presto offers both a paid, self-serve solution for paid rollups as well as enterprise plan. +Presto offers solution for all business kinds of rollups. Paid plans are limited in configuration options (only those that are available through the UI) as well as support and SLAs. diff --git a/docs/presto/overview/for-enterprise-customers/presto-customization-options.mdx b/docs/presto/overview/for-enterprise-customers/presto-customization-options.mdx index 2380ed0..f260e7e 100644 --- a/docs/presto/overview/for-enterprise-customers/presto-customization-options.mdx +++ b/docs/presto/overview/for-enterprise-customers/presto-customization-options.mdx @@ -21,11 +21,11 @@ There are multiple type of settings. Section (1) is Hard Settings. These needs to be decided before the rollup is launched. -Some of this options are available for self-serve, when you configure a rollup through Presto UI ([presto.gateway.fm](https://presto.gateway.fm)); others are available at request to the Gateway team. +Some of these options are available for Seamless in the Presto UI, where you can browse rollup types and use cases.([presto.gateway.fm](https://presto.gateway.fm)); To configure a rollup or to request additional optionsβ€”please contact the Gateway team. We are always working to bring more options towards the UI. -## 1. πŸ’Ž Hard Settings +## 1.πŸ’Ž Hard Settings #### ⚠️ Decide Before The Chain Launch @@ -42,7 +42,6 @@ Choose the root chain where proofs and DA (for rollups only) will be settled upo **Options**: * **Ethereum.** βœ… out of the box; πŸ’» fully automated & available in the UI. -* **Gnosis Chain.** βœ… out of the box; πŸ’» fully automated & available in the UI. * **Custom EVM chain.** We can setup Presto as L2 or L3 on top of any EVM chain that supports necessary opcodes (that excludes some zkEVMs is possible on most L2s like OP or ARB). πŸ‘·β€β™‚οΈ manual; needs to be discussed with Gateway. ### 1.2. πŸ’Ž Data Availability @@ -69,8 +68,8 @@ Select which token to use to pay for Gas in L2. This technically means, which to **Options:** -* _**Default Gas Token.**_ βœ… out of the box; πŸ’» fully automated & available in the UI. \*\*\*\*\*\*use the same gas token as the rootchain/L1: for Ethereum it will be ETH; for Gnosis Chain xDai, etc. -* **Custom Gas Token** πŸ‘·β€β™‚οΈ manual; needs to be discussed with Gateway. \*\*\*\*Select any ERC20 token on L1 to serve as a gas token for L2. This also means that costs of L1 transactions for DA and Proofs are fully covered by the rollup operator. +* _**Default Gas Token.**_ βœ… out of the box; πŸ’» fully automated & available in the UI. Use the same gas token as the rootchain/L1: for Ethereum it will be ETH; for etc. +* **Custom Gas Token** πŸ‘·β€β™‚οΈ manual; needs to be discussed with Gateway. Select any ERC20 token on L1 to serve as a gas token for L2. This also means that costs of L1 transactions for DA and Proofs are fully covered by the rollup operator. ### 1.4. πŸ’Ž Gas Fees @@ -289,17 +288,7 @@ Debugging tools, state of the art πŸ‘·β€β™‚οΈ manual; needs to be discussed with Gateway. -### 3.7. Gnosis Safe - -**Available in the Presto UI**: πŸ”΄ no (coming soon) - -**Pre-bundled:** πŸ”΄ no (coming soon) - -**Price:** free - -πŸ‘·β€β™‚οΈ manual; needs to be discussed with Gateway. - -### 3.8. RedStone Oracles +### 3.7. RedStone Oracles **Available in the Presto UI**: πŸ”΄ no (coming soon) @@ -309,7 +298,7 @@ Debugging tools, state of the art πŸ‘·β€β™‚οΈ manual; needs to be discussed with Gateway. -### 3.9. FractalID +### 3.8. FractalID KYC Service @@ -321,7 +310,7 @@ KYC Service πŸ‘·β€β™‚οΈ manual; needs to be discussed with Gateway. -### 3.10. Goldsky +### 3.9. Goldsky Indexer with subgraph support and its own API diff --git a/docs/presto/overview/main-functionality/how-to-create-a-rollup.mdx b/docs/presto/overview/main-functionality/how-to-create-a-rollup.mdx index 7c30b19..9591f32 100644 --- a/docs/presto/overview/main-functionality/how-to-create-a-rollup.mdx +++ b/docs/presto/overview/main-functionality/how-to-create-a-rollup.mdx @@ -2,30 +2,12 @@ title: How to Create a Rollup --- -# How to Create a Rollup +Presto (presto.gateway.fm) is for browsing rollup types and use cases. +To deploy a rollup or request configuration options, you need to contact the Gateway team. -This guide shows how to create a rollup on Ethereum or Gnosis Chain with the native gas token and the default gas fee marketplace: +### What to do -* ETH for Ethereum -* xDAI for Gnosis Chain +1. Open presto.gateway.fm and review the available rollup types / use cases. +2. Contact the Gateway team to request a rollup deployment. +3. Share the details below so the team can set it up for you. -### Steps - -1. Sign in to [presto.gateway.fm](http://presto.gateway.fm) with your Google account. -2. Click β€˜+ Deploy’ in the upper right corner. - -![Create Rollup Step 1](https://lh7-us.googleusercontent.com/docsz/AD_4nXeF5Jbzv_y5As6zU-ZXcuYoou4DGaLisGIBH3xIIFg6D03KBUEG5p_-5dnM6JDNSw8UP3tsNk_O1ujfX4pp7k6soUZtgJkcM2Bss83x1VxLHgcMpescTSzgHYfzTr43FN-tyYbfwZoVaVcz9XXmFPT8R1-a?key=DThnlcJWqRHqlbrP02Az0w) - -3. Click β€˜Deploy’ or go to expert settings for β€˜Configure’ - -![Create Rollup Step 2](https://lh7-us.googleusercontent.com/docsz/AD_4nXesqCQYlUXJ7NVD5WmGkMPm_UOrBrIJGkeg6x6xeqprK74BqeE40iuJlBKfaTYN2TCLFRqE42HSH4W-7AE5vvZDOvesB8y9hv740gYCVfa19JoRQeugGeQ0hRXRSmvip6IkwGY_XVInAFyVNQKxoAcZ3uzR?key=DThnlcJWqRHqlbrP02Az0w) - -4. When the status turns to β€˜Active’ in a few minutes your rollup is live. - -![Create Rollup Step 3](https://lh7-us.googleusercontent.com/docsz/AD_4nXc0CpYcYBusNCqwZRz1kgZzCswMdHFQg6Y2sNYr_9memsheYFmO4t99x1h-8PivfCmIxf72c9UpzCRJxDW4TOpnEn4ph0OZfxut_vs3nElcY7giRBV83Dr77LljPYihB7Q019cp6FRLMYvAF3HI2Zqb-mCN?key=DThnlcJWqRHqlbrP02Az0w) - -5. The menu gives you immediate access to settings and overview of the rollup. - -![Create Rollup Step 4](https://lh7-us.googleusercontent.com/docsz/AD_4nXf8y2ZWrNAI9_Zwz-7IpJkuowDMQCP9Y9qqBca7Q_FPsuFnCN-udorSh9r6ldSIiQ-hbwTerUWDgvNRdBjN9-_ZBAO6bWSSO6a2vHC38g_Xubexm1bkgidgsUdxIMXW6niY0KNzY8VDAeUNbv2p3sIwPpV8?key=DThnlcJWqRHqlbrP02Az0w) - -6. Your Rollup is ready. diff --git a/docs/presto/overview/main-functionality/how-to-create-and-use-a-gasless-rollup.mdx b/docs/presto/overview/main-functionality/how-to-create-and-use-a-gasless-rollup.mdx index eaf7214..aedbeaf 100644 --- a/docs/presto/overview/main-functionality/how-to-create-and-use-a-gasless-rollup.mdx +++ b/docs/presto/overview/main-functionality/how-to-create-and-use-a-gasless-rollup.mdx @@ -1,8 +1,9 @@ --- -title: How to Deploy a gasless rollup +title: How to create and use a gasless rollup --- -# How to Deploy a gasless rollup +# Contact Us For Deploying a gasless rollup +[Reach out to the Gateway team to start the gasless rollup deployment process](https://presto.gateway.fm/login) ## What is a Gasless Rollup? diff --git a/docs/presto/overview/main-functionality/how-to-deploy-mainnet.mdx b/docs/presto/overview/main-functionality/how-to-deploy-mainnet.mdx index 81c47f1..829d82a 100644 --- a/docs/presto/overview/main-functionality/how-to-deploy-mainnet.mdx +++ b/docs/presto/overview/main-functionality/how-to-deploy-mainnet.mdx @@ -2,7 +2,7 @@ title: How To Deploy Mainnet --- -# How To Deploy Mainnet +# Contact Us For Deploying Mainnet Currently this is impossible to do through the UI. diff --git a/docs/presto/overview/main-functionality/how-to-use-a-bridge.mdx b/docs/presto/overview/main-functionality/how-to-use-a-bridge.mdx index 1e33b25..bc23ad9 100644 --- a/docs/presto/overview/main-functionality/how-to-use-a-bridge.mdx +++ b/docs/presto/overview/main-functionality/how-to-use-a-bridge.mdx @@ -16,7 +16,7 @@ When using a bridge in the context of ZK-rollups, such as Presto layer 2, the br The main purpose of a blockchain bridge is to facilitate interoperability and enable the seamless transfer of assets or information across different blockchain platforms. It helps overcome the limitations of isolated blockchains and opens up opportunities for cross-chain transactions and collaborations. -With Presto Platform users can deploy their own zkEVM Rollup on either the Ethereum network or the Gnosis Chain. This rollup will form the basis for creating bridges and achieving scalability. +With Presto Platform users can deploy their own zkEVM Rollup on the Ethereum network. This rollup will form the basis for creating bridges and achieving scalability. Blockchain bridges typically consist of a set of smart contracts or protocols that establish trust and enable the secure transfer of assets between blockchains. These bridges ensure that the transferred assets maintain their integrity and security throughout the process. @@ -38,7 +38,7 @@ zkEVM Validium (Proofs on L1): recommended for testing and simple games zkEVM Rollups (Proofs and DA (data availability) on L1): recommended for projects requiring higher security. -Presto offers easy access to blockchain bridges by facilitating the setting of ZK-rollup. This solution enables quick and effortless deployment of a ZK-EVM rollup, a powerful scaling solution, on either the Ethereum network or the Gnosis Chain. Where you can within minutes get started with: +Presto offers easy access to blockchain bridges by facilitating the setting of ZK-rollup. This solution enables quick and effortless deployment of a ZK-EVM rollup, a powerful scaling solution, on the Ethereum network. Where you can within minutes get started with: Deploying private ZK-rollups diff --git a/docs/presto/overview/main-functionality/how-to-use-a-faucet.mdx b/docs/presto/overview/main-functionality/how-to-use-a-faucet.mdx index 2dc378f..1feabfa 100644 --- a/docs/presto/overview/main-functionality/how-to-use-a-faucet.mdx +++ b/docs/presto/overview/main-functionality/how-to-use-a-faucet.mdx @@ -12,13 +12,13 @@ title: How to use a Faucet A testnet faucet provides developers and builders with test tokens for deploying, testing and optimizing smart contracts on public blockchains without having to spend real ETH tokens. -Smart contracts on mainnet blockchains like Ethereum and Gnosis require gas fees to run smart contracts and incentivize validators to process and validate transactions accurately. Testnets help mirror the functionality of the main blockchain. +Smart contracts on mainnet blockchains like Ethereum require gas fees to run smart contracts and incentivize validators to process and validate transactions accurately. Testnets help mirror the functionality of the main blockchain. The faucet on Presto is not gasless as each testnet provisioned with Presto has a faucet built-in and pre-funded. Also see: -* [How To Deploy A Smart Contract](../features-for-developers/how-to-deploy-a-smart-contract) +* [Contact Us For Deployment ](../features-for-developers/how-to-deploy-a-smart-contract) * [How To Create & Use a Gasless Rollup](how-to-create-and-use-a-gasless-rollup) ## How To Use a Faucet? @@ -29,11 +29,11 @@ This shows to to request 1 test ETH on the faucet. -2. Open [Faucet](https://sn2-stavanger-faucet.eu-north-2.gateway.fm/), enter your wallet address and press 'Request'. +2. Open [Faucet](http://faucet.stavanger.gateway.fm/, enter your wallet address and press 'Request'. ![Faucet 2](../../assets/Faucet_2.png) -3. Confirm on the [block explorer](https://sn2-stavanger-blockscout.eu-north-2.gateway.fm/) and in the wallet. +3. Confirm on the [block explorer](http://faucet.stavanger.gateway.fm/) and in the wallet. ![Faucet 3](../../assets/Faucet_3.png) diff --git a/docs/presto/overview/pricing-and-trial/pricing-and-tiers.mdx b/docs/presto/overview/pricing-and-trial/pricing-and-tiers.mdx index c876a67..85c3cf4 100644 --- a/docs/presto/overview/pricing-and-trial/pricing-and-tiers.mdx +++ b/docs/presto/overview/pricing-and-trial/pricing-and-tiers.mdx @@ -6,7 +6,7 @@ title: Pricing & Tiers While in Beta, you can create a single testnet in Presto for free. -When the commercial release is available, there will be self-service subscription with prices that we will announce at launch. +When the commercial release is available, there will be subscription with prices that we will announce at launch. ## Tiers diff --git a/docs/presto/overview/stavanger-testnet/what-is-stavanger-testnet.mdx b/docs/presto/overview/stavanger-testnet/what-is-stavanger-testnet.mdx index 2942231..213ea39 100644 --- a/docs/presto/overview/stavanger-testnet/what-is-stavanger-testnet.mdx +++ b/docs/presto/overview/stavanger-testnet/what-is-stavanger-testnet.mdx @@ -6,4 +6,4 @@ title: What is Stavanger Testnet? Stavanger testnet is a public testnet, it is shared across all Presto accounts. -It is static and permanent and has a real ZK-prover attached to it. Always available at the URL [https://presto.gateway.fm/rollups/00000000-0000-0000-0000-000000000000](https://presto.gateway.fm/rollups/00000000-0000-0000-0000-000000000000). +It is static and permanent and has a real ZK-prover attached to it. Always available at the URL [https://presto.gateway.fm/rollups/42cc0738-624a-4d1c-88c7-a0a778546691](https://presto.gateway.fm/rollups/42cc0738-624a-4d1c-88c7-a0a778546691). diff --git a/docs/presto/overview/what-is-presto.mdx b/docs/presto/overview/what-is-presto.mdx index 62b339b..1d78f48 100644 --- a/docs/presto/overview/what-is-presto.mdx +++ b/docs/presto/overview/what-is-presto.mdx @@ -6,13 +6,13 @@ title: What is Presto? Presto is a cutting-edge platform designed specifically for web3 applications. It serves as a comprehensive solution that enables developers to quickly and effortlessly deploy their very own zkEVM Rollup, a powerful scaling solution on the Ethereum network. -By utilizing Presto, developers gain access to a wide range of tools and functionalities that significantly streamline the deployment process. This includes seamless integration with both Ethereum and Gnosis Chain, ensuring compatibility and interoperability with existing ecosystems. +By utilizing Presto, developers gain access to a wide range of tools and functionalities that significantly streamline the deployment process. This includes seamless integration with Ethereum Chain, ensuring compatibility and interoperability with existing ecosystems. With Presto, developers can take full advantage of the benefits offered by zkEVM Rollup technology, such as enhanced scalability, reduced transaction costs, and improved transaction speeds. Additionally, the platform provides a user-friendly interface for managing and monitoring your deployed zkEVM Rollup, allowing for easy customization and optimization. -In summary, Presto serves as a powerful and versatile platform that empowers developers to effortlessly deploy their own zkEVM Rollup on either Ethereum or Gnosis Chain, unlocking the full potential of web3 applications. +In summary, Presto serves as a powerful and versatile platform that empowers developers to effortlessly deploy their own zkEVM Rollup on Ethereum or, unlocking the full potential of web3 applications. ## What is Stavanger Testnet? diff --git a/docs/rpc/gnosis/README.md b/docs/rpc/gnosis/README.md deleted file mode 100644 index dda3bfc..0000000 --- a/docs/rpc/gnosis/README.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -description: >- - Below you will find the api documentation for the standard Gnosis json-rpc - calls that Gateway supports. ---- - -# Gnosis API - -Public Gnosis RPC provides most reliable access via API to anybody. -Copy endpoint link and enjoy it: -https://rpc.ap-southeast-1.gateway.fm/v4/gnosis/non-archival/mainnet - -If you use public RPC you don't need authorization Bearer token, -it means that this header should be deleted from your request: - --H "Authorization: Bearer YOUR_API_KEY" diff --git a/docs/rpc/gnosis/eth_blocknumber.md b/docs/rpc/gnosis/eth_blocknumber.md deleted file mode 100644 index 25969c8..0000000 --- a/docs/rpc/gnosis/eth_blocknumber.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -description: Returns the number of the most recent block. ---- - -# eth_blockNumber - -## Parameters - -none - -## Returns - -`QUANTITY` - integer of the current block number the client is on. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":71}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 71, - "result": "0x101218e" -} -``` diff --git a/docs/rpc/gnosis/eth_call.md b/docs/rpc/gnosis/eth_call.md deleted file mode 100644 index b33aa85..0000000 --- a/docs/rpc/gnosis/eth_call.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -description: >- - Executes a new message call immediately without creating a transaction on the - block chain. ---- - -# eth_call - -This is one of the most commonly used API calls. It is used to read from the blockchain which includes executing smart contracts, but does not publish anything to the blockchain. - -### Parameters - -- `Object` - The transaction call object - - `from`: `DATA`, 20 Bytes - (optional) The address the transaction is sent from. - - `to`: `DATA`, 20 Bytes - The address the transaction is directed to. - - `gas`: `QUANTITY` - (optional) Integer of the gas provided for the transaction execution. `eth_call` consumes zero gas, but this parameter may be needed by some executions. **NOTE: this parameter does not have limit or cap. ** - - `gasPrice`: `QUANTITY` - (optional) Integer of the gasPrice used for each paid gas. - - `value`: `QUANTITY` - (optional) Integer of the value sent with this transaction - - `data`: `DATA` - (optional) Hash of the method signature and encoded parameters. For details see [Ethereum Contract ABI](https://docs.soliditylang.org/en/v0.7.0/abi-spec.html) -- `QUANTITY|TAG` - integer block number, or the string "latest", "earliest" or "pending" (see the [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter)), OR the `blockHash` (in accordance with [EIP-1898](https://eips.ethereum.org/EIPS/eip-1898)) **NOTE: the parameter is an object instead of a string and should be specified as: `{"blockHash": "0x"}.`** Learn more [here](https://eips.ethereum.org/EIPS/eip-1898). - -### Returns - -`DATA` - the return value of executed contract. - -**Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_call","params":[{"from": "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d","to": "0x0000000000000000000000000000000000000000","data": "0x06fdde03"}, "latest"],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": "0x" -} -``` diff --git a/docs/rpc/gnosis/eth_chainid.md b/docs/rpc/gnosis/eth_chainid.md deleted file mode 100644 index 9faed9d..0000000 --- a/docs/rpc/gnosis/eth_chainid.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -description: >- - Returns the currently configured chain ID, a value used in replay-protected - transaction signing as introduced by EIP-155. ---- - -# eth_chainId - -### **Parameters** - -None. - -### **Returns** - -`QUANTITY` - integer of the current chain ID. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": "0x64" -} -``` diff --git a/docs/rpc/gnosis/eth_estimategas.md b/docs/rpc/gnosis/eth_estimategas.md deleted file mode 100644 index a6cd2ee..0000000 --- a/docs/rpc/gnosis/eth_estimategas.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -description: >- - Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. The transaction will not be added to the blockchain. Note that the estimate may be significantly more than the amount of gas actually used by the transaction, for a variety of reasons including EVM mechanics and node performance. ---- - -# eth_estimateGas - -### **Parameters** - -- `Object` - The transaction call object - - `from`: `DATA`, 20 Bytes - (optional) The address the transaction is sent from. - - `to`: `DATA`, 20 Bytes - The address the transaction is directed to. - - `gas`: `QUANTITY` - (optional) Integer of the gas provided for the transaction execution. `eth_call` consumes zero gas, but this parameter may be needed by some executions. **NOTE: this parameter does not have limit or cap. ** - - `gasPrice`: `QUANTITY` - (optional) Integer of the gasPrice used for each paid gas. - - `value`: `QUANTITY` - (optional) Integer of the value sent with this transaction - - `data`: `DATA` - (optional) Hash of the method signature and encoded parameters. For details see Ethereum Contract ABI -- `QUANTITY|TAG` - integer block number, or the string "latest", "earliest" or "pending", see the [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter). - -### Returns - -`QUANTITY` - the amount of gas used. - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_estimateGas","params":[{"from": "0x3d14de87b5ade1c61a0b7ca29f7632e6e756b8bf","to": "0x4c88153de66e84c6691fa6bf5b5823530300a942"}],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": "0x5208" -} -``` - -### diff --git a/docs/rpc/gnosis/eth_gasprice.md b/docs/rpc/gnosis/eth_gasprice.md deleted file mode 100644 index 2dfa4d3..0000000 --- a/docs/rpc/gnosis/eth_gasprice.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -description: Returns the current price per gas in wei. ---- - -# eth_gasPrice - -### Parameters - -none - -### Returns - -`QUANTITY` - integer of the current gas price in wei. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":71}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 71, - "result": "0x25a01c500" -} -``` diff --git a/docs/rpc/gnosis/eth_getbalance.md b/docs/rpc/gnosis/eth_getbalance.md deleted file mode 100644 index 5b1d43d..0000000 --- a/docs/rpc/gnosis/eth_getbalance.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -description: Returns the balance of the account of a given address. ---- - -# eth_getBalance - -### Parameters - -- `DATA`, 20 Bytes - address to check for balance. -- `QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"` or `"pending"`, see the [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter). - -### Returns - -`QUANTITY` - integer of the current balance for the given address in wei. - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{ "id": 89, "jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb","latest"]}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 89, - "result": "0x0" -} -``` diff --git a/docs/rpc/gnosis/eth_getblockbyhash.md b/docs/rpc/gnosis/eth_getblockbyhash.md deleted file mode 100644 index 0f4d383..0000000 --- a/docs/rpc/gnosis/eth_getblockbyhash.md +++ /dev/null @@ -1,449 +0,0 @@ ---- -description: Returns information about a block by hash. ---- - -# eth_getBlockByHash - -### Parameters - -- `DATA`, 32 Bytes - Hash of a block. -- `Boolean` - If true it returns the full transaction objects, if false it returns only the hashes of the transactions. - -### Returns - -- `Object` - A block object with the following fields, or null when no block was found: - - `number`: QUANTITY - the block number. null when its pending block. - - `hash`: DATA, 32 Bytes - hash of the block. null when its pending block. - - `parentHash`: DATA, 32 Bytes - hash of the parent block. - - `nonce`: DATA, 8 Bytes - hash of the generated proof-of-work. null when its pending block. - - `sha3Uncles`: DATA, 32 Bytes - SHA3 of the uncles data in the block. - - `logsBloom`: DATA, 256 Bytes - the bloom filter for the logs of the block. null when its pending block. - - `transactionsRoot`: DATA, 32 Bytes - the root of the transaction trie of the block. - - `stateRoot`: DATA, 32 Bytes - the root of the final state trie of the block. - - `receiptsRoot`: DATA, 32 Bytes - the root of the receipts trie of the block. - - `miner`: DATA, 20 Bytes - the address of the beneficiary to whom the mining rewards were given. - - `difficulty`: QUANTITY - integer of the difficulty for this block. - - `totalDifficulty`: QUANTITY - integer of the total difficulty of the chain until this block. - - `extraData`: DATA - the "extra data" field of this block. - - `size`: QUANTITY - integer the size of this block in bytes. - - `gasLimit`: QUANTITY - the maximum gas allowed in this block. - - `gasUsed`: QUANTITY - the total used gas by all transactions in this block. - - `timestamp`: QUANTITY - the unix timestamp for when the block was collated. - - `transactions`: Array - Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter. - - `uncles`: Array - Array of uncle hashes. - -### - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_getBlockByHash","params":["0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", true],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": { - "author": "0xdb1c683758f493cef2e7089a3640502ab306322a", - "difficulty": "0xfffffffffffffffffffffffffffffffe", - "extraData": "0x4e65746865726d696e64", - "gasLimit": "0x1036640", - "gasUsed": "0x932a59", - "hash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000800040000680000000000000000000000000000080000000200000000000004000000000000008000000080000000000000000000000000000000000000200020000100000200000000800000400000000000020000010000000000000000000000000000000000000010000000008000000200004000000000000020000040200000000000000000000000800000000020000000000000000000200000002280200000000000000000100000020100010800000000000400020000010000000000000000000000000000000000000000000000000000000000000", - "miner": "0xdb1c683758f493cef2e7089a3640502ab306322a", - "number": "0x1026339", - "parentHash": "0xeb09b28955a1182635a617aa062f5fd55f84442fc06d8d04e9470518ca8e4dbd", - "receiptsRoot": "0x52a1b5ee6881bc92bb169797fc57c52386ef8080da3f1cbd5742fb3bf355dd0d", - "sealFields": [ - "0x841360c9c8", - "0xb841ea6a1d85cc487a59408fae808e145cb74f6efbcb483f79334a3aff0c882567d9650214b6e8f5512b6a21af2ee44c50a7cf22c9a2d1d8546e8efbf23df33f60ce00" - ], - "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", - "signature": "ea6a1d85cc487a59408fae808e145cb74f6efbcb483f79334a3aff0c882567d9650214b6e8f5512b6a21af2ee44c50a7cf22c9a2d1d8546e8efbf23df33f60ce00", - "size": "0x2299", - "stateRoot": "0x826effb029336a3e38859588dd0be3d25cf6de0a9729743cdc0654519b5d3808", - "step": "325110216", - "timestamp": "0x60e3f0e8", - "totalDifficulty": "0x1026338ffffffffffffffffffffffffeb9ed2ff", - "transactions": [ - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0xdb1c683758f493cef2e7089a3640502ab306322a", - "gas": "0x186a00", - "gasPrice": "0x0", - "hash": "0xbe173e36975ac7f769cf01bb341b13b1965d53409f5a908973f66bbbea9bdb6c", - "input": "0xfe7d567d2b51e4d081f009e3592f447e56ee833543496a2609e89d25a4d7d7f944574baa", - "nonce": "0x324cc", - "publicKey": "0x2bb9c28ca1fae8ab1b525549347c665fcc60541e2e4ac6a5ff0b6b20f53198d1a9da06300c545fd715e66a8d5d3c8a47f4c592454838150593183eb06e4fe153", - "r": "0xbcf02d6cec6cf3b0fd0f3361e871d3720fd3fd12c68fe6364a3fb84f21f6d22d", - "raw": "0xf888830324cc8083186a00945870b0527dedb1cfbd9534343feda1a41ce4776680a4fe7d567d2b51e4d081f009e3592f447e56ee833543496a2609e89d25a4d7d7f944574baa81eba0bcf02d6cec6cf3b0fd0f3361e871d3720fd3fd12c68fe6364a3fb84f21f6d22da042620a88ab7ffa9818e602dc496deadb314128d9e98bd13553d980a2c1dfc31c", - "s": "0x42620a88ab7ffa9818e602dc496deadb314128d9e98bd13553d980a2c1dfc31c", - "standardV": "0x0", - "to": "0x5870b0527dedb1cfbd9534343feda1a41ce47766", - "transactionIndex": "0x0", - "type": "0x0", - "v": "0xeb", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x84d94883766306435ad3fde5a5f1eeddf91446e6", - "gas": "0x1e8480", - "gasPrice": "0x70e054f00", - "hash": "0x6eb81c425db96c5ce1d3ad8ea6dfc0178ec8bfa06c619b535353c3c7f01516e9", - "input": "0x5f2129080a090cf73b4966bb13a030afe2d71c51cdafcaf0049772906dc4a38e8323af521b9bd120e3b20f77dd941e55db923cc56e421cea640cde73323ac71832fce7f808d408cf3e45bd22d0d834c5d690254637d64374a55e7836759197c6b1ab183110af1f4d3c27c52fb8a0aa0071639e89a675c00204f8efddc143f366e7b0b96a01decef945c0d7e82fc36b3839784bf740335135c11cb594637d4a633e3a4a2e2fce9c499037e3e390467f2d68afcd95d343f586b9f6a7a12a975b5433d15702067e0812413a578a341a395cffce08a583891ff493dfcf62d7dbec392f0921f70372560f06b295fa940ecab2f3125a63751cb6d241d5ef8275c53987c20334120000ba2e01a7f16067d8802a1084fc575f7a8654cb905d937d169ec0013f828900001eb403d3a8ad2543bfba988d2bb4dbf15ecbc9fda7c8b0db91a6a8fdd62100000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000041b78000000000000000000000000000000000000000000000000000000000000054100000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015d1f00000000000000000000000000000000000000000000000000000000000972b380000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x9f50", - "publicKey": "0x2c64dfbc48e7ada79a67bd86c6bc7950b9eceab06d990ca40dc57928dcc1b3eca80c7789f3ef24be2fbd62e13e2d3053029f6b573f8033c748b97e2b8e93ac49", - "r": "0x8aaaf4525de85091681456090f94aa2ff9056ba95b392147cdc90e0aa5ce1da2", - "raw": "0xf9030e829f5085070e054f00831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b902a45f2129080a090cf73b4966bb13a030afe2d71c51cdafcaf0049772906dc4a38e8323af521b9bd120e3b20f77dd941e55db923cc56e421cea640cde73323ac71832fce7f808d408cf3e45bd22d0d834c5d690254637d64374a55e7836759197c6b1ab183110af1f4d3c27c52fb8a0aa0071639e89a675c00204f8efddc143f366e7b0b96a01decef945c0d7e82fc36b3839784bf740335135c11cb594637d4a633e3a4a2e2fce9c499037e3e390467f2d68afcd95d343f586b9f6a7a12a975b5433d15702067e0812413a578a341a395cffce08a583891ff493dfcf62d7dbec392f0921f70372560f06b295fa940ecab2f3125a63751cb6d241d5ef8275c53987c20334120000ba2e01a7f16067d8802a1084fc575f7a8654cb905d937d169ec0013f828900001eb403d3a8ad2543bfba988d2bb4dbf15ecbc9fda7c8b0db91a6a8fdd62100000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000041b78000000000000000000000000000000000000000000000000000000000000054100000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015d1f00000000000000000000000000000000000000000000000000000000000972b38000000000000000000000000000000000000000000000000000000000000000081eba08aaaf4525de85091681456090f94aa2ff9056ba95b392147cdc90e0aa5ce1da2a0553dfd3b663923627c845188a0e7a363277f3951ff7826b7ebd2570830cbe3ef", - "s": "0x553dfd3b663923627c845188a0e7a363277f3951ff7826b7ebd2570830cbe3ef", - "standardV": "0x0", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0x1", - "type": "0x0", - "v": "0xeb", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x555d97c93ea2d856b52f164174e23354d71977e2", - "gas": "0x1e8480", - "gasPrice": "0x4a817c800", - "hash": "0x65901f22f86f9e6bac606b507c15252911b08f52e4fb684857e315c48deddeee", - "input": "0x5f2129081348cfea6a55978d74c7c104ec41aed883d0cf7afb721dccb148f71d5abc4ded074fa9184a7a3d33c552881341b03b271c33b9be2624b168511701fa2c20d1ef0df4e39f25f75c4fa03a90fed51c2bbd035b48a59843f4170753bbb5113eff9803758e8bb2a067188e51249807dbb91dd2a77b71dd8c6f14accfe7494caded3d239f0e6c57ea01c9d971708d1962fa0d85d985b0d80e4eaa4166400b581f109911a80bdb63b3cf21ec6580710cf9c801df5c3ff72bcb645781dc36f0e8a9d0a804e665ccb7c683c9d86d15d39a39ef0151730883fad62368b328ee46b8ba0a492ab2b4fcd5461e012e9c635e3609e03a28a6a11f33812023e07bc472f848dc5a0000272400595450f0cc1940f257079a943d8d00216ceabda6dabcf24ba906df00000bf600f9fb121d9130283aa8f72865a47567e1b3e6d8e23c815155da67ad00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000041b7d0000000000000000000000000000000000000000000000000000000000000bbc00000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af0000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001de496800000000000000000000000000000000000000000000000000000000010fe9600000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x11d4", - "publicKey": "0x60b6937d63a8416352cead772f9da985c9494c29dcbf7050c43071a6e56f1000bd5b52bd0446a51068d31064d371e269ffa71e1215b9e137e9318e5bd583d8a3", - "r": "0xe5324b76e5fc7ae6977d5da57d5432ac907c5fdc1d9ad87f25986233efb3a0aa", - "raw": "0xf9030e8211d48504a817c800831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b902a45f2129081348cfea6a55978d74c7c104ec41aed883d0cf7afb721dccb148f71d5abc4ded074fa9184a7a3d33c552881341b03b271c33b9be2624b168511701fa2c20d1ef0df4e39f25f75c4fa03a90fed51c2bbd035b48a59843f4170753bbb5113eff9803758e8bb2a067188e51249807dbb91dd2a77b71dd8c6f14accfe7494caded3d239f0e6c57ea01c9d971708d1962fa0d85d985b0d80e4eaa4166400b581f109911a80bdb63b3cf21ec6580710cf9c801df5c3ff72bcb645781dc36f0e8a9d0a804e665ccb7c683c9d86d15d39a39ef0151730883fad62368b328ee46b8ba0a492ab2b4fcd5461e012e9c635e3609e03a28a6a11f33812023e07bc472f848dc5a0000272400595450f0cc1940f257079a943d8d00216ceabda6dabcf24ba906df00000bf600f9fb121d9130283aa8f72865a47567e1b3e6d8e23c815155da67ad00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000041b7d0000000000000000000000000000000000000000000000000000000000000bbc00000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af0000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001de496800000000000000000000000000000000000000000000000000000000010fe960000000000000000000000000000000000000000000000000000000000000000081eca0e5324b76e5fc7ae6977d5da57d5432ac907c5fdc1d9ad87f25986233efb3a0aaa02ac58c752cc7b6d9779b4c702705e5a3225f70a02ddcb6f9ead83e7c14101c0f", - "s": "0x2ac58c752cc7b6d9779b4c702705e5a3225f70a02ddcb6f9ead83e7c14101c0f", - "standardV": "0x1", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0x2", - "type": "0x0", - "v": "0xec", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0xc609472ea901f26141df8370d4e995ce878b37a8", - "gas": "0x1e8480", - "gasPrice": "0x2540be400", - "hash": "0xa5546ba5c4160d70ced36667265afe08e6de7cca7bbd37d396f096c97c205a54", - "input": "0x73a85381000066f9001da2dc9b302b59cdf23f3d8823cb396f5fa5adead2a8b61a795d430000000000000000000000000000000000000000000000000000000000000001", - "nonce": "0xad", - "publicKey": "0xc2e0510230d734b214930b80ef2bf95d1db1aa573f692baea699cf390f6ad4736c81e2181ea5cecf3f7c0bad53d9de196290c805d06b138abb1475d1164cb072", - "r": "0x24c9273cabff453e1b1d052097441d5c5066e4804a542d7d5457b35fdba0294d", - "raw": "0xf8ac81ad8502540be400831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b84473a85381000066f9001da2dc9b302b59cdf23f3d8823cb396f5fa5adead2a8b61a795d43000000000000000000000000000000000000000000000000000000000000000181eca024c9273cabff453e1b1d052097441d5c5066e4804a542d7d5457b35fdba0294da0713fd72507ac1ab5a8c3430c747317b440a289b2be489d0f29384f107f37c388", - "s": "0x713fd72507ac1ab5a8c3430c747317b440a289b2be489d0f29384f107f37c388", - "standardV": "0x1", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0x3", - "type": "0x0", - "v": "0xec", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x3e3c21c3b8d5b3d99c3b5f78440602c7b56fa946", - "gas": "0x1e8480", - "gasPrice": "0x12d00e280", - "hash": "0x19aa0ca1d2c0e25915912c22feda61066335deac5bb7d906a21c5dabbf836e9d", - "input": "0x443a397c00000384019e06d7107765b3b4a3f7bdbecaf0966d7fedca483094346aef7aca00000000000000000000000000000000000000000000000000000000007270e0", - "nonce": "0xc4ae", - "publicKey": "0x2ca98e57afd09ff1c485f0b4e81a9a04e1aaa1da60c53bf6a65c60006e126465b10f0f34bb1cc70f709901c98bbf1df27d55bf45d218a5735414d32125dadb13", - "r": "0x76a4ea917fba2138a762afca7ecc4a4d0c457674118931ebcc8aa35facb35fc", - "raw": "0xf8ad82c4ae85012d00e280831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b844443a397c00000384019e06d7107765b3b4a3f7bdbecaf0966d7fedca483094346aef7aca00000000000000000000000000000000000000000000000000000000007270e081eba0076a4ea917fba2138a762afca7ecc4a4d0c457674118931ebcc8aa35facb35fca07fa118bfd24a9a27fe0ffd92b465bcc1ad21bfce8502a0038c4b2831a69c1cf4", - "s": "0x7fa118bfd24a9a27fe0ffd92b465bcc1ad21bfce8502a0038c4b2831a69c1cf4", - "standardV": "0x0", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0x4", - "type": "0x0", - "v": "0xeb", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0xf4a808cef49e46a7be16ae6bea02ece27d901ffa", - "gas": "0x1e8480", - "gasPrice": "0x12a05f200", - "hash": "0x66fc4e5e996d55fff525726276e5bdb2e2a845d305a4a36f7f82d116a9aca06b", - "input": "0x5f2129082558eb21eb2a79c3868bec7492e6dd0a8ac7f5de367e668a85bdb5e1c2ba196a121151cec3856f3bc65c15d94da1b6d4add9b827ccab1f6bcb23efc30f7e52b825cd5c6c3332201e2d7418ca62fdaafb3ee360c568af1aa04d465c080342bf3b044014d368829f48676ae1f092e067b9dfdb05103dce32b97d9abcc933e1b7eb0ebb78949426061a7e605a794d3da1d26c17512c16df08195bafcf5b27c86d7011a5089272f81a21c9272e429e48cee11d1c720ba4db90fca2e8d72b8e84b28c139ac7e8c06cf390c14d648cf5a541cff8917c012d310498ec204d6371f39c4823e7afb5a23bc9376187b21406b7886f4cd4c115fb6d7e3b43dd53c1738ebee7000039d800358688cee6097f2f2be7912ed97be776dada1ed89db7809ee07da400006f42013e7f97157c0c41989f7aab227b431d4c3f33746ac38944dd1c6500000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000000041b7d000000000000000000000000000000000000000000000000000000000000094500000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af00000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028e869800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x21e9", - "publicKey": "0xe0e2067ec264c9e6207f60a62a17797b4baea8ed4f8435e90505af4e5dfb2501731688b19e89f684425a45d9bbed98b187d48f9e651a3369d1be267d937789a1", - "r": "0x95270f245bb2812f96d9f05f0c2a02e7f9a4925e4b09e8754e1ae33ec235e8ee", - "raw": "0xf9030e8221e985012a05f200831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b902a45f2129082558eb21eb2a79c3868bec7492e6dd0a8ac7f5de367e668a85bdb5e1c2ba196a121151cec3856f3bc65c15d94da1b6d4add9b827ccab1f6bcb23efc30f7e52b825cd5c6c3332201e2d7418ca62fdaafb3ee360c568af1aa04d465c080342bf3b044014d368829f48676ae1f092e067b9dfdb05103dce32b97d9abcc933e1b7eb0ebb78949426061a7e605a794d3da1d26c17512c16df08195bafcf5b27c86d7011a5089272f81a21c9272e429e48cee11d1c720ba4db90fca2e8d72b8e84b28c139ac7e8c06cf390c14d648cf5a541cff8917c012d310498ec204d6371f39c4823e7afb5a23bc9376187b21406b7886f4cd4c115fb6d7e3b43dd53c1738ebee7000039d800358688cee6097f2f2be7912ed97be776dada1ed89db7809ee07da400006f42013e7f97157c0c41989f7aab227b431d4c3f33746ac38944dd1c6500000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000000041b7d000000000000000000000000000000000000000000000000000000000000094500000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af00000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028e86980000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000081eca095270f245bb2812f96d9f05f0c2a02e7f9a4925e4b09e8754e1ae33ec235e8eea03ce777a7d0485e65f5f20a7c40d4e0f90f28a5f20c9c1ba8b10e1f7eaa8377f9", - "s": "0x3ce777a7d0485e65f5f20a7c40d4e0f90f28a5f20c9c1ba8b10e1f7eaa8377f9", - "standardV": "0x1", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0x5", - "type": "0x0", - "v": "0xec", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x830f2f15834b8fea8fcbe5c6b4b9fa5a7cdc5898", - "gas": "0x1e8480", - "gasPrice": "0x12a05f200", - "hash": "0x5beade4cf0e6bb36cfcf40bd15378167596cb6610a149abee505cc2089e3650e", - "input": "0x73a8538100006a67001d5a1edadb578e060c699b01c870cfcea364b9767bacfe2551f5350000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0xfed", - "publicKey": "0xb6bb1b80f4c72f7b1fe26a7fb56039a6cb1df1330f09b8fe3854585e31599825d51b64dbc5a1a83b9a0010c34a9d073948f3fbccd9440ea530c68f244cfb3436", - "r": "0x78f9ce47ddf7b7def3fcd5892c3522f1a1b4214705ce469caec6ac71ec7ee84d", - "raw": "0xf8ad820fed85012a05f200831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b84473a8538100006a67001d5a1edadb578e060c699b01c870cfcea364b9767bacfe2551f535000000000000000000000000000000000000000000000000000000000000000081eca078f9ce47ddf7b7def3fcd5892c3522f1a1b4214705ce469caec6ac71ec7ee84da02c26d90a3a24c73603083638e566a66897e21548bab8ae00df3ec06756a9fd34", - "s": "0x2c26d90a3a24c73603083638e566a66897e21548bab8ae00df3ec06756a9fd34", - "standardV": "0x1", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0x6", - "type": "0x0", - "v": "0xec", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0xb7a8aa73d68ae393df5c51b8b62f860e6b554c68", - "gas": "0x1e8480", - "gasPrice": "0x12a05f200", - "hash": "0xd4c1eb9b5d723c11845bf5a20c8e35cb67a08c2ef63885b11854475aef4ad22c", - "input": "0x73a8538100002f8401768564eb883f11055febd7ecc0ba3c0daeadf5066658f8a0dfb3960000000000000000000000000000000000000000000000000000000000000001", - "nonce": "0x7243", - "publicKey": "0x01e4ea55592bf7db7d040471b275b339be74ab32e80caa6aa9740404f222d9883600b38b2611609605ffe97df10c425476f2c7b82c351fee097cc17ae302165d", - "r": "0x97ac1944474604f754ccb27826c5c97e6a7398b7a97af198070a1b4d6b696692", - "raw": "0xf8ad82724385012a05f200831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b84473a8538100002f8401768564eb883f11055febd7ecc0ba3c0daeadf5066658f8a0dfb396000000000000000000000000000000000000000000000000000000000000000181eca097ac1944474604f754ccb27826c5c97e6a7398b7a97af198070a1b4d6b696692a0582f3948a3e2545b6fd5a961374f37c57e229786b36c2ce7ad6183c50762c2c3", - "s": "0x582f3948a3e2545b6fd5a961374f37c57e229786b36c2ce7ad6183c50762c2c3", - "standardV": "0x1", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0x7", - "type": "0x0", - "v": "0xec", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x487ddc76efcafd2c18cbca50ded169c700b2ae47", - "gas": "0x1e8480", - "gasPrice": "0x12a05f200", - "hash": "0x9c00b8b793ad39821181c250df9289c34fdfb00ade3c2a01407d30f36d09f36b", - "input": "0x5f212908272648576f2bde45b7e50613d5f1add22965744a95d1d3e1ec3fd5be83fb310a2fb1965696ffa2a7d5d8595bec9f9b428a8c7e5a3f5b0db8148e76cb83b557c20324f02df1eeec33c56ef8f86af0f41608aca81450decd4bfee2fc9ef0e39d7d02e8a804914c5c910b7c2f8337800d32a13b3a06c953843daa7140c3e8ea23421cf0e671a8a57a579898f4729d13b3d09ef93899b42da34dff0c58cb03734a1d0c919fe84b9592efca88e55a604f507812d02cf2444c43b6f29d9583143d33c12814d2f064956ae1ade334e7a4b5d25e5ecc8b0ca1e13e67f6c43617ad15dcaa0d8be97733fc7ec927cf50a959d05b9edf57a2076930d080f0facd33262039650000846200cddde5df25cba6942763e7321409185b15599f274565abe5d18dc600002323001ffcd3d332cdd6c0f4a1eeca13b370075b837f20f27aded0f8aa23000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000000000000000000000000041b7d0000000000000000000000000000000000000000000000000000000000000b1100000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af0000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fc165000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x1373", - "publicKey": "0xbd59f45a3a81b829737f6e76d84ae5e8b0b0de5218d4fb8846e6aed6524eb17e37bf1c4ebcaa983533fc22879e5c4b36a8674975bc4ffceeb88c635787a77b14", - "r": "0x212867601389d83b46ec40e802a1dd22c450276fb29712a6dcd79b2a15b33e8b", - "raw": "0xf9030e82137385012a05f200831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b902a45f212908272648576f2bde45b7e50613d5f1add22965744a95d1d3e1ec3fd5be83fb310a2fb1965696ffa2a7d5d8595bec9f9b428a8c7e5a3f5b0db8148e76cb83b557c20324f02df1eeec33c56ef8f86af0f41608aca81450decd4bfee2fc9ef0e39d7d02e8a804914c5c910b7c2f8337800d32a13b3a06c953843daa7140c3e8ea23421cf0e671a8a57a579898f4729d13b3d09ef93899b42da34dff0c58cb03734a1d0c919fe84b9592efca88e55a604f507812d02cf2444c43b6f29d9583143d33c12814d2f064956ae1ade334e7a4b5d25e5ecc8b0ca1e13e67f6c43617ad15dcaa0d8be97733fc7ec927cf50a959d05b9edf57a2076930d080f0facd33262039650000846200cddde5df25cba6942763e7321409185b15599f274565abe5d18dc600002323001ffcd3d332cdd6c0f4a1eeca13b370075b837f20f27aded0f8aa23000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000000000000000000000000041b7d0000000000000000000000000000000000000000000000000000000000000b1100000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af0000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fc16500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000081eba0212867601389d83b46ec40e802a1dd22c450276fb29712a6dcd79b2a15b33e8ba0639096d2522ad62f63ad11fd8921601b293e116fd953858814760e1e645ef28b", - "s": "0x639096d2522ad62f63ad11fd8921601b293e116fd953858814760e1e645ef28b", - "standardV": "0x0", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0x8", - "type": "0x0", - "v": "0xeb", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x7e9ee7f3bd17537424cec3b53300640d2f36a9df", - "gas": "0x1e8480", - "gasPrice": "0x12a05f200", - "hash": "0x47224de122b2e1c898bece091657fc3800a7fc236a6f29fb4c8e153eb59102ec", - "input": "0x5f2129082321bd01fad5a4ad1fe924b6f72055eee4ae47c5576be197954f7bc3087c81802d6af98b6519735816e1868702f3e06d749d40d5f891f9c144a127ca2c00cd380b1cc242062da5d2b4d67262be531200d1ba7367201fdb41e22fb66b94278661173919e1684a449de0a7da3e975c5086f65594928744705be3ced404b65f600419bdd89c865041d2dd209a37fb59748b110cd6942e90ad48d51ca2b8222b94ee0aaa0f7b5e006d02514c9faf93f260fc9c0bcc2ba4673de4c544ce9859ae078b2de476781c9309b24c08e493815feb3921aa8f3cbff699de0e8d561043ff5afd042e5e32c0ea328d87a124a7760e0c537479712058f2b6aeea175d8d6b4c4e9f000023c6012a6a79480d61a880864c890cb9bd18b863b1aa0b662a5362a36c6d0000ad98006e92f6135ba96d24339dd3b456f97a87095ff53f7ba4316ab9938300000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000041b78000000000000000000000000000000000000000000000000000000000000040100000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020555800000000000000000000000000000000000000000000000000000000007259700000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x42d2", - "publicKey": "0x7111c9c5aeaec49eb7972c3155131ffb1b16bf200a1a411607c655ea4f786ad3ae6bc1ae70d46c7aac519b2872282e958a2bc3f64b99c8c73446e02de8204b89", - "r": "0xfda96e8c7640ffdfe2fe45acd411d9aee756b474e9f18d2b37e65bca068a2c39", - "raw": "0xf9030e8242d285012a05f200831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b902a45f2129082321bd01fad5a4ad1fe924b6f72055eee4ae47c5576be197954f7bc3087c81802d6af98b6519735816e1868702f3e06d749d40d5f891f9c144a127ca2c00cd380b1cc242062da5d2b4d67262be531200d1ba7367201fdb41e22fb66b94278661173919e1684a449de0a7da3e975c5086f65594928744705be3ced404b65f600419bdd89c865041d2dd209a37fb59748b110cd6942e90ad48d51ca2b8222b94ee0aaa0f7b5e006d02514c9faf93f260fc9c0bcc2ba4673de4c544ce9859ae078b2de476781c9309b24c08e493815feb3921aa8f3cbff699de0e8d561043ff5afd042e5e32c0ea328d87a124a7760e0c537479712058f2b6aeea175d8d6b4c4e9f000023c6012a6a79480d61a880864c890cb9bd18b863b1aa0b662a5362a36c6d0000ad98006e92f6135ba96d24339dd3b456f97a87095ff53f7ba4316ab9938300000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000041b78000000000000000000000000000000000000000000000000000000000000040100000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af00000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002055580000000000000000000000000000000000000000000000000000000000725970000000000000000000000000000000000000000000000000000000000000000081eca0fda96e8c7640ffdfe2fe45acd411d9aee756b474e9f18d2b37e65bca068a2c39a00717a5ff23003531eeac61506b76cada53a4e52f09cf2f975a0c0c4fd48fb3d9", - "s": "0x717a5ff23003531eeac61506b76cada53a4e52f09cf2f975a0c0c4fd48fb3d9", - "standardV": "0x1", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0x9", - "type": "0x0", - "v": "0xec", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0xe5f3a73084aee0bc4a4d1ac847f67a2e94fbebd3", - "gas": "0x1e8480", - "gasPrice": "0x12a05f200", - "hash": "0x38a14b86adbc6912b60636cfea5d2e2c1c41d81669a9e13a4ae341f224064a2e", - "input": "0x70e0f0ce0000a0bf00395014165e1522036eec61e02eaa03ddd6f8234c0b023bd1f767baa261eeb0901e5f12ae11dfee5399dd25aac27d46b092a5b64b03424783f9c8bd", - "nonce": "0x14e4", - "publicKey": "0x1a8f93c944cea27cd7127a1b494e3c191045c5fdbfc1d0f42dbdf0d083cf2ca19ad9282e810bb4faf8b9f05f9a148077c283d89ff6ffdd75e742cded7b7b6fd8", - "r": "0x96dd1f0a3fdce385724338a46b436749a0f280f1dede5e83ea2a057222ae7080", - "raw": "0xf8ad8214e485012a05f200831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b84470e0f0ce0000a0bf00395014165e1522036eec61e02eaa03ddd6f8234c0b023bd1f767baa261eeb0901e5f12ae11dfee5399dd25aac27d46b092a5b64b03424783f9c8bd81eca096dd1f0a3fdce385724338a46b436749a0f280f1dede5e83ea2a057222ae7080a0180558298901f1b14b7244ed8555ef5c2e0c6fd40c4c8ee26e4c5972fe27c4a3", - "s": "0x180558298901f1b14b7244ed8555ef5c2e0c6fd40c4c8ee26e4c5972fe27c4a3", - "standardV": "0x1", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0xa", - "type": "0x0", - "v": "0xec", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x9e7fe16174b88f20a9cba9b4baf7f256249fa6f3", - "gas": "0x1e8480", - "gasPrice": "0x12a05f200", - "hash": "0x492dcde15fb897260d36af132d93eef570afb264057a277d68982f2aee39a745", - "input": "0x5f21290828647cdaf72219116c154d29e26dca4d57bcd62b991c567f0d26ec3d56e7b352276e584eb45123c3be66af616150c366494e86f33d69bf855c86a4c30b1e3d1a04c44ff9d0075389259de0407537e7806372dd17f5a001deae3548831cb6512a05026881a964ce24ccc7f7b57b9b13f741b227dd386dfacd0a8b110cf7028922078a8e50d6ad1ab98456b0ff3b979542332d835e1b27b1dbe6daa3194e2665ef2d6363b1b0d661b1673838ea9dd6dab2d737868a322f0932780275dd280852390b100887d5176b643436854327d86ce9abcec2779055f615588a8e9877c1c8f01a1ee5138172e484b1aa6f0543c0b69af501bfca1ec91121ef1b776d937b592e0000b5100498b2355d91c51a94da92ef1cb4a152247cc7d76ad36832023f5b360000139c001b59c5bb5dadffcb01b9ea00aa9fb65131167b241f49ba4446c694000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000041b7300000000000000000000000000000000000000000000000000000000000001bb00000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x2b2d", - "publicKey": "0x569cba76c8d93198c79918c6cb324ce6aaef39f0b482d5965c9d531940b4a6fa550a3b206e6c2f1881705fdd27911e6585f9f79ac5e25412368bbc8d6f486e51", - "r": "0xfbfeb824cb27be6d2a989d44e541324db3324d7452f594c800defeb896b1b0fc", - "raw": "0xf9030e822b2d85012a05f200831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b902a45f21290828647cdaf72219116c154d29e26dca4d57bcd62b991c567f0d26ec3d56e7b352276e584eb45123c3be66af616150c366494e86f33d69bf855c86a4c30b1e3d1a04c44ff9d0075389259de0407537e7806372dd17f5a001deae3548831cb6512a05026881a964ce24ccc7f7b57b9b13f741b227dd386dfacd0a8b110cf7028922078a8e50d6ad1ab98456b0ff3b979542332d835e1b27b1dbe6daa3194e2665ef2d6363b1b0d661b1673838ea9dd6dab2d737868a322f0932780275dd280852390b100887d5176b643436854327d86ce9abcec2779055f615588a8e9877c1c8f01a1ee5138172e484b1aa6f0543c0b69af501bfca1ec91121ef1b776d937b592e0000b5100498b2355d91c51a94da92ef1cb4a152247cc7d76ad36832023f5b360000139c001b59c5bb5dadffcb01b9ea00aa9fb65131167b241f49ba4446c694000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000041b7300000000000000000000000000000000000000000000000000000000000001bb00000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af00000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001194000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000081eba0fbfeb824cb27be6d2a989d44e541324db3324d7452f594c800defeb896b1b0fca00e6c8faf4f98994767ec73367e186cdf7b6ab6d3af698e7b16a1ceae1fc4948a", - "s": "0xe6c8faf4f98994767ec73367e186cdf7b6ab6d3af698e7b16a1ceae1fc4948a", - "standardV": "0x0", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0xb", - "type": "0x0", - "v": "0xeb", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x9e54a19367f182ec78d6b81dcda29237cb86f25a", - "gas": "0x1e8480", - "gasPrice": "0x12a05f200", - "hash": "0x46f83f23e88b1c8834357eb614d4442c746a223b03c08a471babb1ab78b36f65", - "input": "0x5f2129082209bc183377ced81af5a1561f0f926dbd4ed5fd7aeb0d583a4c56aa7c9aba3f046cd6d566e8b1a54fdbe37c93e6b819eca8f46cfdac4182ecf670b0a84e7fec003af7a5aa54c339eead0af9e69b9e23afee69b8ef46fd0736c0c7f8bb1c861411b47ff6aa41ae8ed419f5e992a72985f8e558f64598acb54c9d1429758f2d9720ff9a6c324d9930031aac6878fdae2c999a991a85ecf7b00690ba2529af4a0e1c8c4bb65e7841d09031ec2b19da2defe93a87d397c411a4101ab40ff48bbcdf0526f6d8abefa2e30fd2825645f14f0c249656e23588446a95e96b1b0ae97aa818c9cd3f36b5cb902f2a2a6931345c7189eb828bd4934379960175a6da5947cc00008e8a00b6939854e3c0debbee05fc98a3c210bf65df1ddcf5e00702d5dc4f00009e99003d11a925920a46d425d8914541cb8a6c606bc27c948d82a363dcea000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000041b6400000000000000000000000000000000000000000000000000000000000007d100000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046965000000000000000000000000000000000000000000000000000000000022551000000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x87c", - "publicKey": "0x6a04c74440757a0769da3a93a04b9c6fe9749ffd08af56a5ce0f189d73f01d4e1f1dd35719d77fad78dabae497cfefb485fff6fe948fb4ef908126b065b1814c", - "r": "0xc136090df9c0f3d819fa5a5d590b1464cffcd31799d4f8913687c4f738373b89", - "raw": "0xf9030e82087c85012a05f200831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b902a45f2129082209bc183377ced81af5a1561f0f926dbd4ed5fd7aeb0d583a4c56aa7c9aba3f046cd6d566e8b1a54fdbe37c93e6b819eca8f46cfdac4182ecf670b0a84e7fec003af7a5aa54c339eead0af9e69b9e23afee69b8ef46fd0736c0c7f8bb1c861411b47ff6aa41ae8ed419f5e992a72985f8e558f64598acb54c9d1429758f2d9720ff9a6c324d9930031aac6878fdae2c999a991a85ecf7b00690ba2529af4a0e1c8c4bb65e7841d09031ec2b19da2defe93a87d397c411a4101ab40ff48bbcdf0526f6d8abefa2e30fd2825645f14f0c249656e23588446a95e96b1b0ae97aa818c9cd3f36b5cb902f2a2a6931345c7189eb828bd4934379960175a6da5947cc00008e8a00b6939854e3c0debbee05fc98a3c210bf65df1ddcf5e00702d5dc4f00009e99003d11a925920a46d425d8914541cb8a6c606bc27c948d82a363dcea000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000041b6400000000000000000000000000000000000000000000000000000000000007d100000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af00000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004696500000000000000000000000000000000000000000000000000000000002255100000000000000000000000000000000000000000000000000000000000000000081eba0c136090df9c0f3d819fa5a5d590b1464cffcd31799d4f8913687c4f738373b89a0548491084d74fdf15aece29ca87d211fb9aa58ac77c1eefbe84fa4005a664761", - "s": "0x548491084d74fdf15aece29ca87d211fb9aa58ac77c1eefbe84fa4005a664761", - "standardV": "0x0", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0xc", - "type": "0x0", - "v": "0xeb", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0xb50f85d22f71b822059e7dcada96d095e5e3a61b", - "gas": "0x1e8480", - "gasPrice": "0x12a05f200", - "hash": "0xc51065b2083db486e4559e15e6836316f5be903f61e4527c42a9cd8ad66474b3", - "input": "0x5f2129081c3cd497eead1c6442355cb0fb0f0f35bef7a7e3be914acdd47ba83e3515b7b52db7865ce996ff0724c4c8d5cb1ad36292280e49e7c53c521e19ab81e70582c403ddfff37888be06b56bd5ade20aa29c97849c45cc6b859ce092385343baad521ec2982f00d593d4754a2cb01777ddf53c0c6702313515ba0676e4f7560668f40f6a33076ff4ef2f732ee8139b4d206afbd360d2683d565eb92de5c9b989e14a0bc0d9089574dcdaf57664b2050ee1f03ca9af5fba36ee2de36ecedbf76fa2dc02661cfbff63c01159bd7a0e25142afdfcb2f7d0883f48a0104cc640c5e603852cf298566859b1cc72c582e7194637525f511d60a27e8709a7b932ce459b2e8a000039ac012a70e467472c54ea81b5262846c702af35c4eb32847f50522d11cb00003624022f566c10f2c103198ebe8ea0c440083c7a9728e5b9ef4019edf119000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000000000000000000000000041b780000000000000000000000000000000000000000000000000000000000000ccc00000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062f40800000000000000000000000000000000000000000000000000000000007270e00000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x4063", - "publicKey": "0x10c40943a7ecdcb97acdd274feabd55471218894aae26ee19cf6fd706e32fe8ed0afeffb352084cfbaeab149b6bb6c83db2e34dca7f60fa5389e53b317efb758", - "r": "0x91b581b7f0aa10699dad9e5faaaa54a3f5df93bf4425aad85c3af6cba9d2746d", - "raw": "0xf9030e82406385012a05f200831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b902a45f2129081c3cd497eead1c6442355cb0fb0f0f35bef7a7e3be914acdd47ba83e3515b7b52db7865ce996ff0724c4c8d5cb1ad36292280e49e7c53c521e19ab81e70582c403ddfff37888be06b56bd5ade20aa29c97849c45cc6b859ce092385343baad521ec2982f00d593d4754a2cb01777ddf53c0c6702313515ba0676e4f7560668f40f6a33076ff4ef2f732ee8139b4d206afbd360d2683d565eb92de5c9b989e14a0bc0d9089574dcdaf57664b2050ee1f03ca9af5fba36ee2de36ecedbf76fa2dc02661cfbff63c01159bd7a0e25142afdfcb2f7d0883f48a0104cc640c5e603852cf298566859b1cc72c582e7194637525f511d60a27e8709a7b932ce459b2e8a000039ac012a70e467472c54ea81b5262846c702af35c4eb32847f50522d11cb00003624022f566c10f2c103198ebe8ea0c440083c7a9728e5b9ef4019edf119000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000000000000000000000000041b780000000000000000000000000000000000000000000000000000000000000ccc00000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062f40800000000000000000000000000000000000000000000000000000000007270e0000000000000000000000000000000000000000000000000000000000000000081eca091b581b7f0aa10699dad9e5faaaa54a3f5df93bf4425aad85c3af6cba9d2746da06d70289410a6991a2c9e2e3ec17741a18ab3fae02d354834b9b1bf5a48f6cfdb", - "s": "0x6d70289410a6991a2c9e2e3ec17741a18ab3fae02d354834b9b1bf5a48f6cfdb", - "standardV": "0x1", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0xd", - "type": "0x0", - "v": "0xec", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x3dd04accd0658c0a9046a6b4ca02e5e9bff6fcf6", - "gas": "0x2ab98", - "gasPrice": "0x12a05f200", - "hash": "0xa495dcb6f7930f32dcb1a0c47b63cf7db6768008424a2da809129048b0515cc1", - "input": "0x15efd8a70000000000000000000000003dd04accd0658c0a9046a6b4ca02e5e9bff6fcf60000000000000000000000000000000000000000000000000000000000000000263f2af79a27f6356177b756fd77a2589806afbf2c6e3869adc23ed563decec2", - "nonce": "0x14ea", - "publicKey": "0x1b3c3a25e2f8f60214507378bd477782cf2cbc1a0c4c1b45aa309d373c7785991ecce748911482ec92f1806777a22100cf68e64fa4cb9dce836c30e74f7cec8a", - "r": "0xe73144fa3a8934d83e25776c709751a9ac477cc276900418c51e7a94da359081", - "raw": "0xf8cd8214ea85012a05f2008302ab9894c2d5a532cf69aa9a1378737d8ccdef884b6e742080b86415efd8a70000000000000000000000003dd04accd0658c0a9046a6b4ca02e5e9bff6fcf60000000000000000000000000000000000000000000000000000000000000000263f2af79a27f6356177b756fd77a2589806afbf2c6e3869adc23ed563decec281eca0e73144fa3a8934d83e25776c709751a9ac477cc276900418c51e7a94da359081a049da1369618ecdbec292342e0ba633f80b7f019b30b16bd70c1cd6d448b6261d", - "s": "0x49da1369618ecdbec292342e0ba633f80b7f019b30b16bd70c1cd6d448b6261d", - "standardV": "0x1", - "to": "0xc2d5a532cf69aa9a1378737d8ccdef884b6e7420", - "transactionIndex": "0xe", - "type": "0x0", - "v": "0xec", - "value": "0x0" - }, - { - "blockHash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "blockNumber": "0x1026339", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0xa051a8e78e4943f540abe0bd7a1e466173a705a4", - "gas": "0x1e8480", - "gasPrice": "0xb2d05e00", - "hash": "0x2d784511df4a836d90f681d6cf2a767cf5af10db411d35faacf45dcddd99067c", - "input": "0x5f21290816eb9e857ffa4f139e7b06b9258d5b637909761d108c217595baeb41d30fc7ef0168ff8c76db665112a119aa76ddc9a256c076f28c2395f6bb963f1cf3d290f42f84a990818d07805d92c3bf7435f7ed38e03dc231b33ba2888d7fc22baebe552d7a68718ba7146e49752b6a15eb916d4e311fa63bb5ba0b1083797be8b6c44119aa9d6d33b11b529de36c6786eef49a29b159550f61f6130ee503d01feb72dc2142bd4b016a079454a7b9724adbf3114125396bd06957ff09a9476168287d6517397280fffa5d77bae82c692fd2c99f2b051404df6ed24e9d691f2410ff9be109fc621f4a8f8843b7913c175a04bea8a31ff02418cb0b61ec481e4b89eb2225000045b002be6ae25e56210496749687598f3ef91e63fddfbbaf2467cd0706c200002c4b01ee0242127148b3ae485b649a43442cd1014e59d9297cd35d1e5dc300000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000041b0800000000000000000000000000000000000000000000000000000000000013ee00000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af0000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000380f9000000000000000000000000000000000000000000000000000000000007270e00000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x20e0", - "publicKey": "0xa3ec2ce37d5ae8e0509c4c65111c51b8d80a9ec5af0808cdf86b57631035673e8a7ac2e594bd016ad2364e0331700afd52c2b0d00df050ff22cce6dc1a229015", - "r": "0x3ef98b7966ab0abc6c2bf7346044d88e4ceec04d9d81b56820ce04b7febf7506", - "raw": "0xf9030d8220e084b2d05e00831e8480940f8e1785f850d4bf1155614883c2cb778a69c46380b902a45f21290816eb9e857ffa4f139e7b06b9258d5b637909761d108c217595baeb41d30fc7ef0168ff8c76db665112a119aa76ddc9a256c076f28c2395f6bb963f1cf3d290f42f84a990818d07805d92c3bf7435f7ed38e03dc231b33ba2888d7fc22baebe552d7a68718ba7146e49752b6a15eb916d4e311fa63bb5ba0b1083797be8b6c44119aa9d6d33b11b529de36c6786eef49a29b159550f61f6130ee503d01feb72dc2142bd4b016a079454a7b9724adbf3114125396bd06957ff09a9476168287d6517397280fffa5d77bae82c692fd2c99f2b051404df6ed24e9d691f2410ff9be109fc621f4a8f8843b7913c175a04bea8a31ff02418cb0b61ec481e4b89eb2225000045b002be6ae25e56210496749687598f3ef91e63fddfbbaf2467cd0706c200002c4b01ee0242127148b3ae485b649a43442cd1014e59d9297cd35d1e5dc300000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000041b0800000000000000000000000000000000000000000000000000000000000013ee00000000000000000000000000000000000000000000000000000000000001ae00000000000000000000000000000000000000000000000000000000000001af0000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000380f9000000000000000000000000000000000000000000000000000000000007270e0000000000000000000000000000000000000000000000000000000000000000081eba03ef98b7966ab0abc6c2bf7346044d88e4ceec04d9d81b56820ce04b7febf7506a0294a895fb1e8659b4fc28bfe8aef4bba789788c5a956fe61f157bbe66fa47083", - "s": "0x294a895fb1e8659b4fc28bfe8aef4bba789788c5a956fe61f157bbe66fa47083", - "standardV": "0x0", - "to": "0x0f8e1785f850d4bf1155614883c2cb778a69c463", - "transactionIndex": "0xf", - "type": "0x0", - "v": "0xeb", - "value": "0x0" - } - ], - "transactionsRoot": "0xd74bf569a59ea5c0126ec4d4fc760a973101395a4bb44f2a465983864ed1ee2d", - "uncles": [] - } -} -``` diff --git a/docs/rpc/gnosis/eth_getblockbynumber.md b/docs/rpc/gnosis/eth_getblockbynumber.md deleted file mode 100644 index b9b6ed3..0000000 --- a/docs/rpc/gnosis/eth_getblockbynumber.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -description: Returns information about a block by block number. ---- - -# eth_getBlockByNumber - -### Parameters - -- `QUANTITY|TAG` - integer of a block number, or the string "earliest", "latest" or "pending", as in the default block parameter. -- `Boolean` - If true it returns the full transaction objects, if false it returns only the hashes of the transactions. - -### Returns - -See [`eth_getBlockByHash`](./#eth_getblockbyhash) - -### Example - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1026339", false],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": { - "author": "0xdb1c683758f493cef2e7089a3640502ab306322a", - "difficulty": "0xfffffffffffffffffffffffffffffffe", - "extraData": "0x4e65746865726d696e64", - "gasLimit": "0x1036640", - "gasUsed": "0x932a59", - "hash": "0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270", - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000800040000680000000000000000000000000000080000000200000000000004000000000000008000000080000000000000000000000000000000000000200020000100000200000000800000400000000000020000010000000000000000000000000000000000000010000000008000000200004000000000000020000040200000000000000000000000800000000020000000000000000000200000002280200000000000000000100000020100010800000000000400020000010000000000000000000000000000000000000000000000000000000000000", - "miner": "0xdb1c683758f493cef2e7089a3640502ab306322a", - "number": "0x1026339", - "parentHash": "0xeb09b28955a1182635a617aa062f5fd55f84442fc06d8d04e9470518ca8e4dbd", - "receiptsRoot": "0x52a1b5ee6881bc92bb169797fc57c52386ef8080da3f1cbd5742fb3bf355dd0d", - "sealFields": [ - "0x841360c9c8", - "0xb841ea6a1d85cc487a59408fae808e145cb74f6efbcb483f79334a3aff0c882567d9650214b6e8f5512b6a21af2ee44c50a7cf22c9a2d1d8546e8efbf23df33f60ce00" - ], - "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", - "signature": "ea6a1d85cc487a59408fae808e145cb74f6efbcb483f79334a3aff0c882567d9650214b6e8f5512b6a21af2ee44c50a7cf22c9a2d1d8546e8efbf23df33f60ce00", - "size": "0x2299", - "stateRoot": "0x826effb029336a3e38859588dd0be3d25cf6de0a9729743cdc0654519b5d3808", - "step": "325110216", - "timestamp": "0x60e3f0e8", - "totalDifficulty": "0x1026338ffffffffffffffffffffffffeb9ed2ff", - "transactions": [ - "0xbe173e36975ac7f769cf01bb341b13b1965d53409f5a908973f66bbbea9bdb6c", - "0x6eb81c425db96c5ce1d3ad8ea6dfc0178ec8bfa06c619b535353c3c7f01516e9", - "0x65901f22f86f9e6bac606b507c15252911b08f52e4fb684857e315c48deddeee", - "0xa5546ba5c4160d70ced36667265afe08e6de7cca7bbd37d396f096c97c205a54", - "0x19aa0ca1d2c0e25915912c22feda61066335deac5bb7d906a21c5dabbf836e9d", - "0x66fc4e5e996d55fff525726276e5bdb2e2a845d305a4a36f7f82d116a9aca06b", - "0x5beade4cf0e6bb36cfcf40bd15378167596cb6610a149abee505cc2089e3650e", - "0xd4c1eb9b5d723c11845bf5a20c8e35cb67a08c2ef63885b11854475aef4ad22c", - "0x9c00b8b793ad39821181c250df9289c34fdfb00ade3c2a01407d30f36d09f36b", - "0x47224de122b2e1c898bece091657fc3800a7fc236a6f29fb4c8e153eb59102ec", - "0x38a14b86adbc6912b60636cfea5d2e2c1c41d81669a9e13a4ae341f224064a2e", - "0x492dcde15fb897260d36af132d93eef570afb264057a277d68982f2aee39a745", - "0x46f83f23e88b1c8834357eb614d4442c746a223b03c08a471babb1ab78b36f65", - "0xc51065b2083db486e4559e15e6836316f5be903f61e4527c42a9cd8ad66474b3", - "0xa495dcb6f7930f32dcb1a0c47b63cf7db6768008424a2da809129048b0515cc1", - "0x2d784511df4a836d90f681d6cf2a767cf5af10db411d35faacf45dcddd99067c" - ], - "transactionsRoot": "0xd74bf569a59ea5c0126ec4d4fc760a973101395a4bb44f2a465983864ed1ee2d", - "uncles": [] - } -} -``` diff --git a/docs/rpc/gnosis/eth_getblocktransactioncountbyhash.md b/docs/rpc/gnosis/eth_getblocktransactioncountbyhash.md deleted file mode 100644 index 13b4b7d..0000000 --- a/docs/rpc/gnosis/eth_getblocktransactioncountbyhash.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -description: Returns the number of transactions in a block matching the given block hash. ---- - -# eth_getBlockTransactionCountByHash - -### Parameters - -`DATA`, 32 Bytes - hash of a block. - -### Returns - -`QUANTITY` - integer of the number of transactions in this block. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByHash","params":["0xf6e63efb895ad86507f8cf22a2351df15068fa309c871db2fae7641994490270"],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": "0x10" -} -``` diff --git a/docs/rpc/gnosis/eth_getblocktransactioncountbynumber.md b/docs/rpc/gnosis/eth_getblocktransactioncountbynumber.md deleted file mode 100644 index 14bada7..0000000 --- a/docs/rpc/gnosis/eth_getblocktransactioncountbynumber.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -description: Returns the number of transactions in a block matching the given block number. ---- - -# eth_getBlockTransactionCountByNumber - -### Parameters - -`QUANTITY|TAG` - integer of a block number, or the string "earliest", "latest" or "pending", as in the [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter). - -### Returns - -`QUANTITY` - integer of the number of transactions in this block. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByNumber","params":["latest"],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": "0x23" -} -``` diff --git a/docs/rpc/gnosis/eth_getcode.md b/docs/rpc/gnosis/eth_getcode.md deleted file mode 100644 index eb5ea6a..0000000 --- a/docs/rpc/gnosis/eth_getcode.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -description: Returns code at a given address. ---- - -# eth_getCode - -### Parameters - -- `DATA`, 20 Bytes - address. -- `QUANTITY|TAG` - integer block number, or the string "latest", "earliest" or "pending", see the [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter). - -### Returns - -`DATA` - the code from the given address. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_getCode","params":["0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb", "latest"],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": "0x608060405260043610603e5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416635c60da1b81146092575b6000604660cd565b905073ffffffffffffffffffffffffffffffffffffffff81161515606957600080fd5b60405136600082376000803683855af43d82016040523d6000833e808015608e573d83f35b3d83fd5b348015609d57600080fd5b5060a460cd565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54905600a165627a7a7230582074808ee101bea5849b0339acc4d06c466b54a9ec6cfe2c1fb57dd2bfd19b7b0b0029" -} -``` diff --git a/docs/rpc/gnosis/eth_getfilterlogs.md b/docs/rpc/gnosis/eth_getfilterlogs.md deleted file mode 100644 index e45c5a7..0000000 --- a/docs/rpc/gnosis/eth_getfilterlogs.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -description: Returns an array of all logs matching filter with given id. Can compute the - same results with an eth_getLogs call (see hint below). ---- - -# eth_getFilterLogs - -This method only works for filters creates with [`eth_newFilter`](./#eth_newfilter)not for filters created using [`eth_newBlockFilter`](./#eth_newblockfilter) or [`eth_newPendingTransactionFilter`](./#eth_newpendingtransactionfilter), which will return `"filter not found".` - -### eth_getLogs vs. eth_getFilterLogs - -These two computations will return the same results: - -1. Calling `eth_getLogs` with params `[options]` -2. Calling `eth_newFilter` with params `[options]`, getting a filter id `filterId` back, then calling `eth_getFilterLogs` with params `[filterId]` - -### **Parameters** - -`QUANTITY` - The filter id. - -### **Returns** - -See [`eth_getFilterChanges`](./#eth_getfilterchanges) - -### **Example** - -Request - -```bash -curl https://rpc.REGION.gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_getFilterLogs","params":["0xfe704947a3cd3ca12541458a4321c869"],"id":74}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 73, - "result": [{ - "address": "0xb5a5f22694352c15b00323844ad545abb2b11028", - "blockHash": "0x99e8663c7b6d8bba3c7627a17d774238eae3e793dee30008debb2699666657de", - "blockNumber": "0x5d12ab", - "data": "0x0000000000000000000000000000000000000000000000a247d7a2955b61d000", - "logIndex": "0x0", - "removed": false, - "topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", "0x000000000000000000000000bdc0afe57b8e9468aa95396da2ab2063e595f37e", "0x0000000000000000000000007503e090dc2b64a88f034fb45e247cbd82b8741e"], - "transactionHash": "0xa74c2432c9cf7dbb875a385a2411fd8f13ca9ec12216864b1a1ead3c99de99cd", - "transactionIndex": "0x3" - }, { - "address": "0xe38165c9f6deb144afc9c32c206b024817e1496d", - "blockHash": "0x99e8663c7b6d8bba3c7627a17d774238eae3e793dee30008debb2699666657de", - "blockNumber": "0x5d12ab", - "data": "0x0000000000000000000000000000000000000000000000000000000025c6b720", - "logIndex": "0x3", - "removed": false, - "topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", "0x00000000000000000000000080e73e47173b2d00b531bf83bc39e710157125c3", "0x0000000000000000000000008f6cc93795969e5bbbf07c66dfee7d41ad24f1ef"], - "transactionHash": "0x9e8f1cb1facb9a11a1cf947634053a0b2d557399f926b12127aa10497a2f0153", - "transactionIndex": "0x5" - } -} -``` diff --git a/docs/rpc/gnosis/eth_getlogs.md b/docs/rpc/gnosis/eth_getlogs.md deleted file mode 100644 index 87f2deb..0000000 --- a/docs/rpc/gnosis/eth_getlogs.md +++ /dev/null @@ -1,228 +0,0 @@ ---- -description: >- - Returns an array of all logs matching a given filter object. ---- - -# eth_getLogs - -### Parameters - -`Object` - The filter options: - -- `fromBlock`: `QUANTITY|TAG` - (optional, default: "latest") Value: - - Integer block number - - "latest" for the last mined block - - "pending", "earliest" for not yet mined transactions. -- `toBlock`: `QUANTITY|TAG` - (optional, default: "latest") Value: - - Integer block number - - "latest" for the last mined block - - "pending", "earliest" for not yet mined transactions. -- `address`: `DATA|Array`, 20 Bytes - (optional) Contract address or a list of addresses from which logs should originate. -- `topics`: `Array` of `DATA`, - (optional) Array of 32 Bytes DATA topics. - - Topics are order-dependent. Each topic can also be an array of DATA with "or" options. - - Check out more details on how to format topics in [eth_newFilter](./#eth_newfilter). -- `blockHash`: `DATA`, 32 Bytes - (optional) With the addition of EIP-234 (Geth >= v1.8.13 or Parity >= v2.1.0), blockHash is a new filter option which restricts the logs returned to the single block with the 32-byte hash blockHash. Using blockHash is equivalent to fromBlock = toBlock = the block number with hash `blockHash`. **If blockHash is present in the filter criteria, then neither `fromBlock` nor `toBlock` are allowed.** - -### Returns - -`Array` - Array of log objects, or an empty array if nothing has changed since last poll. - -- For filters created with `eth_newBlockFilter` the return are block hashes (`DATA`, 32 Bytes), e.g. `["0x3454645634534..."]`. -- For filters created with `eth_newPendingTransactionFilter` the return are transaction hashes (`DATA`, 32 Bytes), e.g. `["0x6345343454645..."]`. -- For filters created with `eth_newFilter` logs are objects with following params: - - `removed`: `TAG` - `true` when the log was removed, due to a chain reorganization. `false` if its a valid log. - - `logIndex`: `QUANTITY` - integer of the log index position in the block. `null` when its pending log. - - `transactionIndex`: `QUANTITY` - integer of the transactions index position log was created from. `null` when its pending log. - - `transactionHash`: `DATA`, 32 Bytes - hash of the transactions this log was created from. `null` when its pending log. - - `blockHash`: `DATA`, 32 Bytes - hash of the block where this log was in. `null` when its pending. `null` when its pending log. - - `blockNumber`: `QUANTITY` - the block number where this log was in. `null` when its pending. `null` when its pending log. - - `address`: `DATA`, 20 Bytes - address from which this log originated. - - `data`: `DATA` - contains one or more 32 Bytes non-indexed arguments of the log. - - `topics`: `Array of DATA` - Array of 0 to 4 32 Bytes `DATA` of indexed log arguments. - - In _solidity_: The first topic is the _hash_ of the signature of the event (e.g. `Deposit(address,bytes32,uint256)`), except you declare the event with the `anonymous` specifier. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{ "address": "0x75Df5AF045d91108662D8080fD1FEFAd6aA0bb59", "fromBlock": "0x101f817","toBlock": "0x101f918","topics": []}],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": [ - { - "address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", - "blockHash": "0xda240026aad6be41da3719808afdedbe5411461e4351d807a88cdcbc17e20d03", - "blockNumber": "0x101f88d", - "data": "0xb1a0f4bb87c5075d9cf6e0668960e0b247d486f9f3846fb03ca9ce622939b15b", - "logIndex": "0x32", - "removed": false, - "topics": [ - "0x5df9cc3eb93d8a9a481857a3b70a8ca966e6b80b25cf0ee2cce180ec5afa80a1", - "0x000000000000000000000000105cd22ed3d089bf5589c59b452f9de0796ca52d" - ], - "transactionHash": "0x0a8e1bc945ac5f692d1c4c1245d645615ee8b5173f3b496a71695c73cd4b61a2", - "transactionIndex": "0x1d", - "transactionLogIndex": "0x0", - "type": "mined" - }, - { - "address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", - "blockHash": "0xda240026aad6be41da3719808afdedbe5411461e4351d807a88cdcbc17e20d03", - "blockNumber": "0x101f88d", - "data": "0xb1a0f4bb87c5075d9cf6e0668960e0b247d486f9f3846fb03ca9ce622939b15b", - "logIndex": "0x33", - "removed": false, - "topics": [ - "0x5df9cc3eb93d8a9a481857a3b70a8ca966e6b80b25cf0ee2cce180ec5afa80a1", - "0x000000000000000000000000459a3bd49f1ff109bc90b76125533699aaaaf9a6" - ], - "transactionHash": "0x9f6767d8723e27772fd9bb62808f1e52b4d34f55aa815b4c8341581586303be0", - "transactionIndex": "0x1e", - "transactionLogIndex": "0x0", - "type": "mined" - }, - { - "address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", - "blockHash": "0xda240026aad6be41da3719808afdedbe5411461e4351d807a88cdcbc17e20d03", - "blockNumber": "0x101f88d", - "data": "0xb1a0f4bb87c5075d9cf6e0668960e0b247d486f9f3846fb03ca9ce622939b15b", - "logIndex": "0x34", - "removed": false, - "topics": [ - "0x5df9cc3eb93d8a9a481857a3b70a8ca966e6b80b25cf0ee2cce180ec5afa80a1", - "0x000000000000000000000000dac288df7a6e253578711fdd1bf3ccb877f0f7f9" - ], - "transactionHash": "0x4bb6bdb6e8c90d51c7a319e1d8539d4b1bf8eb011a45c0e1b857bf46945a8807", - "transactionIndex": "0x1f", - "transactionLogIndex": "0x0", - "type": "mined" - }, - { - "address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", - "blockHash": "0x1d445e39385642f26b238cb6c7174d19288b1f0625bc30b744d33a26a0b63cbd", - "blockNumber": "0x101f88e", - "data": "0xb1a0f4bb87c5075d9cf6e0668960e0b247d486f9f3846fb03ca9ce622939b15b", - "logIndex": "0x1a", - "removed": false, - "topics": [ - "0x5df9cc3eb93d8a9a481857a3b70a8ca966e6b80b25cf0ee2cce180ec5afa80a1", - "0x000000000000000000000000eaf183603ed92df9e856320e1ec605a9bce62b3e" - ], - "transactionHash": "0xebbefbb2142c5fa942488cad495fb527a16cfdc60d0b3f6a12d0964574a245f2", - "transactionIndex": "0x18", - "transactionLogIndex": "0x0", - "type": "mined" - }, - { - "address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", - "blockHash": "0x1d445e39385642f26b238cb6c7174d19288b1f0625bc30b744d33a26a0b63cbd", - "blockNumber": "0x101f88e", - "data": "0x0000000000000000000000000000000000000000000000000000000000000001", - "logIndex": "0x1e", - "removed": false, - "topics": [ - "0xe194ef610f9150a2db4110b3db5116fd623175dca3528d7ae7046a1042f84fe7", - "0x00000000000000000000000088ad09518695c6c3712ac10a214be5109a655671", - "0x000000000000000000000000f6a78083ca3e2a662d6dd1703c939c8ace2e268d", - "0x000500004ac82b41bd819dd871590b510316f2385cb196fb0000000000013e54" - ], - "transactionHash": "0xebbefbb2142c5fa942488cad495fb527a16cfdc60d0b3f6a12d0964574a245f2", - "transactionIndex": "0x18", - "transactionLogIndex": "0x4", - "type": "mined" - }, - { - "address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", - "blockHash": "0xdaafc94ef7b6375bc4beca48d9e2f6798577d61bc42eaa5c3cec2fcfbb3f2779", - "blockNumber": "0x101f8b0", - "data": "0x619b0fbef92e4ed8792e2f8c02a5790bb7d07f7c3d95390fac73d2d486ead171", - "logIndex": "0x30", - "removed": false, - "topics": [ - "0x5df9cc3eb93d8a9a481857a3b70a8ca966e6b80b25cf0ee2cce180ec5afa80a1", - "0x000000000000000000000000dac288df7a6e253578711fdd1bf3ccb877f0f7f9" - ], - "transactionHash": "0xda7a88ad5b45b6d088c2274415151659118d4aecd830aef380ec0ed12bcd51e7", - "transactionIndex": "0x1c", - "transactionLogIndex": "0x0", - "type": "mined" - }, - { - "address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", - "blockHash": "0xdaafc94ef7b6375bc4beca48d9e2f6798577d61bc42eaa5c3cec2fcfbb3f2779", - "blockNumber": "0x101f8b0", - "data": "0x619b0fbef92e4ed8792e2f8c02a5790bb7d07f7c3d95390fac73d2d486ead171", - "logIndex": "0x31", - "removed": false, - "topics": [ - "0x5df9cc3eb93d8a9a481857a3b70a8ca966e6b80b25cf0ee2cce180ec5afa80a1", - "0x000000000000000000000000459a3bd49f1ff109bc90b76125533699aaaaf9a6" - ], - "transactionHash": "0x43eac8ffc7816d76ed74196e238bf0f57e2b31496b90cf8bdaa225bd484519ac", - "transactionIndex": "0x1d", - "transactionLogIndex": "0x0", - "type": "mined" - }, - { - "address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", - "blockHash": "0xdaafc94ef7b6375bc4beca48d9e2f6798577d61bc42eaa5c3cec2fcfbb3f2779", - "blockNumber": "0x101f8b0", - "data": "0x619b0fbef92e4ed8792e2f8c02a5790bb7d07f7c3d95390fac73d2d486ead171", - "logIndex": "0x32", - "removed": false, - "topics": [ - "0x5df9cc3eb93d8a9a481857a3b70a8ca966e6b80b25cf0ee2cce180ec5afa80a1", - "0x000000000000000000000000105cd22ed3d089bf5589c59b452f9de0796ca52d" - ], - "transactionHash": "0xdc94abc346cb36c1abf08f3f3cca49be2adc1d29321a3257df45a215ea6f5099", - "transactionIndex": "0x1e", - "transactionLogIndex": "0x0", - "type": "mined" - }, - { - "address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", - "blockHash": "0x9a211dab44f812c9f88ad601e183f491c28464109414f294c401b6ccf915e776", - "blockNumber": "0x101f8b2", - "data": "0x619b0fbef92e4ed8792e2f8c02a5790bb7d07f7c3d95390fac73d2d486ead171", - "logIndex": "0x0", - "removed": false, - "topics": [ - "0x5df9cc3eb93d8a9a481857a3b70a8ca966e6b80b25cf0ee2cce180ec5afa80a1", - "0x00000000000000000000000019ac7c69e5f1ac95b8d49b30cbb79e81f1ab0dba" - ], - "transactionHash": "0xac80f933ffa7c899ea367c425f0a5542d870955edf6545ddad48c49bec1956b0", - "transactionIndex": "0x0", - "transactionLogIndex": "0x0", - "type": "mined" - }, - { - "address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", - "blockHash": "0x9a211dab44f812c9f88ad601e183f491c28464109414f294c401b6ccf915e776", - "blockNumber": "0x101f8b2", - "data": "0x0000000000000000000000000000000000000000000000000000000000000001", - "logIndex": "0x4", - "removed": false, - "topics": [ - "0xe194ef610f9150a2db4110b3db5116fd623175dca3528d7ae7046a1042f84fe7", - "0x00000000000000000000000088ad09518695c6c3712ac10a214be5109a655671", - "0x000000000000000000000000f6a78083ca3e2a662d6dd1703c939c8ace2e268d", - "0x000500004ac82b41bd819dd871590b510316f2385cb196fb0000000000013e55" - ], - "transactionHash": "0xac80f933ffa7c899ea367c425f0a5542d870955edf6545ddad48c49bec1956b0", - "transactionIndex": "0x0", - "transactionLogIndex": "0x4", - "type": "mined" - } - ] -} -``` diff --git a/docs/rpc/gnosis/eth_getstorageat.md b/docs/rpc/gnosis/eth_getstorageat.md deleted file mode 100644 index 8744f3e..0000000 --- a/docs/rpc/gnosis/eth_getstorageat.md +++ /dev/null @@ -1,99 +0,0 @@ ---- -description: >- - Returns the value from a storage position at a given address, or in other - words, returns the state of the contract's storage, which may not be exposed - via the contract's methods. ---- - -# eth_getStorageAt - -## Parameters - -- `DATA`, 20 Bytes - address of the storage. -- `QUANTITY` - integer of the position in the storage. -- `QUANTITY|TAG` - integer block number, or the string "latest", "earliest" or "pending", see the [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter). - -## Returns - -`DATA` - the value at this storage position. - -### Example - -Calculating the correct position depends on the storage to retrieve. Consider the following contract deployed at `0x295a70b2de5e3953354a6a8344e616ed314d7251` by address `0x391694e7e0b0cce554cb130d723a9d27458f9298`. - -```javascript -contract Storage { - uint pos0; - mapping(address => uint) pos1; - - function Storage() { - pos0 = 1234; - pos1[msg.sender] = 5678; - } -} -``` - -Retrieving the value of `pos0` is straight forward: - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0", "method": "eth_getStorageAt", "params": ["0x75Df5AF045d91108662D8080fD1FEFAd6aA0bb59", "0x0", "latest"], "id": 1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": "0x0000000000000000000000000000000000000000000000000000000000000000" -} -``` - -Retrieving an element of the map is harder. The position of an element in the map is calculated with: - -```javascript -keccack(LeftPad32(key, 0), LeftPad32(map position, 0)) -``` - -This means to retrieve the storage on `pos1[β€œ0x391694e7e0b0cce554cb130d723a9d27458f9298”]` we need to calculate the position with: - -```javascript -keccak( - decodeHex( - "000000000000000000000000391694e7e0b0cce554cb130d723a9d27458f9298" + - "0000000000000000000000000000000000000000000000000000000000000001", - ), -); -``` - -The geth console which comes with the web3 library can be used to make the calculation: - -```bash -> var key = "000000000000000000000000391694e7e0b0cce554cb130d723a9d27458f9298" + "0000000000000000000000000000000000000000000000000000000000000001" -undefined -> web3.sha3(key, {"encoding": "hex"}) -"0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9" -``` - -Now to fetch the storage: - -```bash -curl https://rpc.gateway.fm/v4/ethereum/mainnet \ --X POST \ --H "Authorization: Bearer " \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0", "method": "eth_getStorageAt", "params": ["0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE","0x0",14036168 ],"id": 89}' -``` - -Result - -```javascript -{ - "jsonrpc":"2.0", - "id":89, - "result":"0x0000000000000000000000000000000000000000000000000000000000000000" -} -``` diff --git a/docs/rpc/gnosis/eth_gettransactionbyblockhashandindex.md b/docs/rpc/gnosis/eth_gettransactionbyblockhashandindex.md deleted file mode 100644 index b431522..0000000 --- a/docs/rpc/gnosis/eth_gettransactionbyblockhashandindex.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -description: >- - Returns information about a transaction by block hash and transaction index - position. ---- - -# eth_getTransactionByBlockHashAndIndex - -### Parameters - -- `DATA`, 32 Bytes - hash of a block. - -- `QUANTITY` - integer of the transaction index position. - -### Returns - -See [`eth_getTransactionByHash`](./#eth_gettransactionbyhash) - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"id": 89,"jsonrpc": "2.0","method": "eth_getTransactionByBlockHashAndIndex","params": ["0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623","0x0"]}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 89, - "result": { - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x70b4a5bffc002b68623cbc17ab777e625307011d", - "gas": "0xc3500", - "gasPrice": "0x244d614e03b", - "hash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "input": "0xdab2ed45000000000000000000000000000000000000000000000000826e73a4946b22b100000000000000000000000000000000000000000000000000354a6ba7a1800000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000006103c0e400000000000000000000000000000000000000000000000000000000000000030000000000000000000000001af298d8bfd6e36ccdfd4b3659077d7a3b573d450000000000000000000000001a90e50a0d0782cf54dfd96259b89a65babcea360000000000000000000000007feb0ddd7bdc11589f6919a51ac5536bcfd854bf0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000e91d153e0b41518a2ce8dd3d7944fa863463a97d000000000000000000000000b7d311e2eb55f2f68a9440da38e7989210b9a05e0000000000000000000000002f9cebf5de3bc25e0643d0e66134e5bf5c48e191000000000000000000000000e91d153e0b41518a2ce8dd3d7944fa863463a97d", - "nonce": "0x2aa", - "publicKey": "0xefbbd83a7f8821edd407d3907ebaa93c6bb36a901296b82f5c49e275048988c1c8b654399259c36a3eee61e85a0f85679659861b96138ec31301fcd6199470ca", - "r": "0x98bc28d7a8460132d5ce87df739dfb98fea92bce6a9fbf914af21c5e2475e345", - "raw": "0xf9022f8202aa860244d614e03b830c35009496f9a82cefdbf3661bf23a2e0997821326b1834680b901c4dab2ed45000000000000000000000000000000000000000000000000826e73a4946b22b100000000000000000000000000000000000000000000000000354a6ba7a1800000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000006103c0e400000000000000000000000000000000000000000000000000000000000000030000000000000000000000001af298d8bfd6e36ccdfd4b3659077d7a3b573d450000000000000000000000001a90e50a0d0782cf54dfd96259b89a65babcea360000000000000000000000007feb0ddd7bdc11589f6919a51ac5536bcfd854bf0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000e91d153e0b41518a2ce8dd3d7944fa863463a97d000000000000000000000000b7d311e2eb55f2f68a9440da38e7989210b9a05e0000000000000000000000002f9cebf5de3bc25e0643d0e66134e5bf5c48e191000000000000000000000000e91d153e0b41518a2ce8dd3d7944fa863463a97d81eca098bc28d7a8460132d5ce87df739dfb98fea92bce6a9fbf914af21c5e2475e345a0075101c9192dc09b799aed560d18dd76f72fae37bc79b820c15d6bee58a1fa92", - "s": "0x75101c9192dc09b799aed560d18dd76f72fae37bc79b820c15d6bee58a1fa92", - "standardV": "0x1", - "to": "0x96f9a82cefdbf3661bf23a2e0997821326b18346", - "transactionIndex": "0x0", - "type": "0x0", - "v": "0xec", - "value": "0x0" - } -} -``` diff --git a/docs/rpc/gnosis/eth_gettransactionbyblocknumberandindex.md b/docs/rpc/gnosis/eth_gettransactionbyblocknumberandindex.md deleted file mode 100644 index 42b869a..0000000 --- a/docs/rpc/gnosis/eth_gettransactionbyblocknumberandindex.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -description: >- - Returns information about a transaction by block number and transaction index - position. ---- - -# eth_getTransactionByBlockNumberAndIndex - -### Parameters - -- `QUANTITY|TAG` - a block number, or the string "earliest", "latest" or "pending", as in the [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter). -- `QUANTITY` - the transaction index position. - -### Returns - -See [`eth_getTransactionByHash`](./#eth_gettransactionbyhash) - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"id": 89,"jsonrpc": "2.0","method": "eth_getTransactionByBlockNumberAndIndex","params": ["latest","0x3"]}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 89, - "result": { - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x0f9f9004ccf1fef85ee9a34d45b95d83365d34f7", - "gas": "0x2625a0", - "gasPrice": "0x72c31e6d97", - "hash": "0x739c860166011bb7195b7f7da2874293c2b82b4cb8195f8425f56bde3d63f26e", - "input": "0x893d242d000000000000000000000000187c938543f2bde09fe39034fe3ff797a3d35ca0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026b06757f8b898c00000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x9172", - "publicKey": "0xc52051f8b9cb5d74b51d5bde7f378a2debdd52ba8c323ec2e30e9edd50f31a1e27192dde3e3af16fe51011fea3fd6b91d236eda0d0762450d4b692f937d3b0d3", - "r": "0xc4d3d93f9d2ec81f7d04c9049b1072c1cc43cad9c0a29fbd224db489d04f65a4", - "raw": "0xf9010d8291728572c31e6d97832625a0945d9593586b4b5edbd23e7eba8d88fd8f09d83ebd80b8a4893d242d000000000000000000000000187c938543f2bde09fe39034fe3ff797a3d35ca0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026b06757f8b898c00000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000081eca0c4d3d93f9d2ec81f7d04c9049b1072c1cc43cad9c0a29fbd224db489d04f65a4a07fd3e1403f0e959cf111da588f1f6390891aa94d4ef4a715e9d674a025c6ccce", - "s": "0x7fd3e1403f0e959cf111da588f1f6390891aa94d4ef4a715e9d674a025c6ccce", - "standardV": "0x1", - "to": "0x5d9593586b4b5edbd23e7eba8d88fd8f09d83ebd", - "transactionIndex": "0x3", - "type": "0x0", - "v": "0xec", - "value": "0x0" - } -} -``` diff --git a/docs/rpc/gnosis/eth_gettransactionbyhash.md b/docs/rpc/gnosis/eth_gettransactionbyhash.md deleted file mode 100644 index 5f5b4d1..0000000 --- a/docs/rpc/gnosis/eth_gettransactionbyhash.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -description: Returns the information about a transaction requested by transaction hash. - In the response object, `blockHash`, `blockNumber`, and `transactionIndex` are - `null` when the transaction is pending. ---- - -# eth_getTransactionByHash - -### Parameters - -`DATA`, 32 Bytes - hash of a transaction - -### Returns - -- `Object` - A transaction object, or null when no transaction was found: - - `hash`: `DATA`, 32 Bytes - hash of the transaction. - - `nonce`: `QUANTITY` - the number of transactions made by the sender prior to this one. - - `blockHash`: `DATA`, 32 Bytes - hash of the block where this transaction was in. null when its pending. - - `blockNumber`: `QUANTITY` - block number where this transaction was in. null when its pending. - - `transactionIndex`: `QUANTITY` - integer of the transactions index position in the block. null when its pending. - - `from`: `DATA`, 20 Bytes - address of the sender. - - `to`: `DATA`, 20 Bytes - address of the receiver. null when its a contract creation transaction. - - `value`: `QUANTITY` - value transferred in Wei. - - `gasPrice`: `QUANTITY` - gas price provided by the sender in Wei. - - `gas`: `QUANTITY` - gas provided by the sender. - - `input`: `DATA` - the data send along with the transaction. - - `v`: `QUANTITY` - ECDSA recovery id - - `r`: `DATA`, 32 Bytes - ECDSA signature r - - `s`: `DATA`, 32 Bytes - ECDSA signature s - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d'{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778"],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": { - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "chainId": "0x64", - "condition": null, - "creates": null, - "from": "0x70b4a5bffc002b68623cbc17ab777e625307011d", - "gas": "0xc3500", - "gasPrice": "0x244d614e03b", - "hash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "input": "0xdab2ed45000000000000000000000000000000000000000000000000826e73a4946b22b100000000000000000000000000000000000000000000000000354a6ba7a1800000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000006103c0e400000000000000000000000000000000000000000000000000000000000000030000000000000000000000001af298d8bfd6e36ccdfd4b3659077d7a3b573d450000000000000000000000001a90e50a0d0782cf54dfd96259b89a65babcea360000000000000000000000007feb0ddd7bdc11589f6919a51ac5536bcfd854bf0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000e91d153e0b41518a2ce8dd3d7944fa863463a97d000000000000000000000000b7d311e2eb55f2f68a9440da38e7989210b9a05e0000000000000000000000002f9cebf5de3bc25e0643d0e66134e5bf5c48e191000000000000000000000000e91d153e0b41518a2ce8dd3d7944fa863463a97d", - "nonce": "0x2aa", - "publicKey": "0xefbbd83a7f8821edd407d3907ebaa93c6bb36a901296b82f5c49e275048988c1c8b654399259c36a3eee61e85a0f85679659861b96138ec31301fcd6199470ca", - "r": "0x98bc28d7a8460132d5ce87df739dfb98fea92bce6a9fbf914af21c5e2475e345", - "raw": "0xf9022f8202aa860244d614e03b830c35009496f9a82cefdbf3661bf23a2e0997821326b1834680b901c4dab2ed45000000000000000000000000000000000000000000000000826e73a4946b22b100000000000000000000000000000000000000000000000000354a6ba7a1800000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000006103c0e400000000000000000000000000000000000000000000000000000000000000030000000000000000000000001af298d8bfd6e36ccdfd4b3659077d7a3b573d450000000000000000000000001a90e50a0d0782cf54dfd96259b89a65babcea360000000000000000000000007feb0ddd7bdc11589f6919a51ac5536bcfd854bf0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000e91d153e0b41518a2ce8dd3d7944fa863463a97d000000000000000000000000b7d311e2eb55f2f68a9440da38e7989210b9a05e0000000000000000000000002f9cebf5de3bc25e0643d0e66134e5bf5c48e191000000000000000000000000e91d153e0b41518a2ce8dd3d7944fa863463a97d81eca098bc28d7a8460132d5ce87df739dfb98fea92bce6a9fbf914af21c5e2475e345a0075101c9192dc09b799aed560d18dd76f72fae37bc79b820c15d6bee58a1fa92", - "s": "0x75101c9192dc09b799aed560d18dd76f72fae37bc79b820c15d6bee58a1fa92", - "standardV": "0x1", - "to": "0x96f9a82cefdbf3661bf23a2e0997821326b18346", - "transactionIndex": "0x0", - "type": "0x0", - "v": "0xec", - "value": "0x0" - } -} -``` diff --git a/docs/rpc/gnosis/eth_gettransactioncount.md b/docs/rpc/gnosis/eth_gettransactioncount.md deleted file mode 100644 index 1358009..0000000 --- a/docs/rpc/gnosis/eth_gettransactioncount.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -description: Returns the number of transactions sent from an address. ---- - -# eth_getTransactionCount - -### Parameters - -- `DATA`, 20 Bytes - address. -- `QUANTITY|TAG` - integer block number, or the string "latest", "earliest" or "pending", see the [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter). - -### Returns - -`QUANTITY` - integer of the number of transactions send from this address. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet\ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_getTransactionCount","params":["0x00000000092769687eeb04fdc990c363eddefec2","latest"],"id":13}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 13, - "result": "0x4824" -} -``` diff --git a/docs/rpc/gnosis/eth_gettransactionreceipt.md b/docs/rpc/gnosis/eth_gettransactionreceipt.md deleted file mode 100644 index bd96cc8..0000000 --- a/docs/rpc/gnosis/eth_gettransactionreceipt.md +++ /dev/null @@ -1,279 +0,0 @@ ---- -description: Returns the receipt of a transaction by transaction hash. ---- - -# eth_getTransactionReceipt - -**Note:** the receipt is not available for pending transactions. - -### Parameters - -`DATA`, 32 Bytes - hash of a transaction - -### Returns - -- `Object` - A transaction receipt object, or null when no receipt was found: - - `transactionHash`: `DATA`, 32 Bytes - hash of the transaction. - - `transactionIndex`: `QUANTITY` - integer of the transactions index position in the block. - - `blockHash`: `DATA`, 32 Bytes - hash of the block where this transaction was in. - - `blockNumber`: `QUANTITY` - block number where this transaction was in. - - `from`: `DATA`, 20 Bytes - address of the sender. - - `to`: `DATA`, 20 Bytes - address of the receiver. null when its a contract creation transaction. - - `cumulativeGasUsed`: `QUANTITY` - The total amount of gas used when this transaction was executed in the block. - - `gasUsed`: `QUANTITY` - The amount of gas used by this specific transaction alone. - - `contractAddress`: `DATA`, 20 Bytes - The contract address created, if the transaction was a contract creation, otherwise null. - - `logs`: `Array` - Array of log objects, which this transaction generated. - - `logsBloom`: `DATA`, 256 Bytes - Bloom filter for light clients to quickly retrieve related logs. - -It also returns either: - -- `root` : `DATA` 32 bytes of post-transaction stateroot (pre Byzantium) -- `status`: `QUANTITY` either 1 (success) or 0 (failure) - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"id": 1,"jsonrpc": "2.0","method": "eth_getTransactionReceipt","params": ["0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778"]}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": { - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "contractAddress": null, - "cumulativeGasUsed": "0x3cf47", - "effectiveGasPrice": "0x244d614e03b", - "from": "0x70b4a5bffc002b68623cbc17ab777e625307011d", - "gasUsed": "0x3cf47", - "logs": [ - { - "address": "0xb7d311e2eb55f2f68a9440da38e7989210b9a05e", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x0000000000000000000000000000000000000000000000001413ad98d64bd959", - "logIndex": "0x0", - "removed": false, - "topics": [ - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", - "0x0000000000000000000000001af298d8bfd6e36ccdfd4b3659077d7a3b573d45", - "0x00000000000000000000000096f9a82cefdbf3661bf23a2e0997821326b18346" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0x0", - "type": "mined" - }, - { - "address": "0xb7d311e2eb55f2f68a9440da38e7989210b9a05e", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x0000000000000000000000000000000000000000000000001413ad98d64bd959", - "logIndex": "0x1", - "removed": false, - "topics": [ - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", - "0x00000000000000000000000096f9a82cefdbf3661bf23a2e0997821326b18346", - "0x0000000000000000000000001a90e50a0d0782cf54dfd96259b89a65babcea36" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0x1", - "type": "mined" - }, - { - "address": "0xb7d311e2eb55f2f68a9440da38e7989210b9a05e", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x00000000000000000000000096f9a82cefdbf3661bf23a2e0997821326b183460000000000000000000000001a90e50a0d0782cf54dfd96259b89a65babcea360000000000000000000000000000000000000000000000001413ad98d64bd959", - "logIndex": "0x2", - "removed": false, - "topics": [ - "0x11249f0fc79fc134a15a10d1da8291b79515bf987e036ced05b9ec119614070b" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0x2", - "type": "mined" - }, - { - "address": "0x2f9cebf5de3bc25e0643d0e66134e5bf5c48e191", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x0000000000000000000000000000000000000000000000192f8bac0b6799b88e", - "logIndex": "0x3", - "removed": false, - "topics": [ - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", - "0x0000000000000000000000001a90e50a0d0782cf54dfd96259b89a65babcea36", - "0x0000000000000000000000007feb0ddd7bdc11589f6919a51ac5536bcfd854bf" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0x3", - "type": "mined" - }, - { - "address": "0x2f9cebf5de3bc25e0643d0e66134e5bf5c48e191", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x0000000000000000000000001a90e50a0d0782cf54dfd96259b89a65babcea360000000000000000000000007feb0ddd7bdc11589f6919a51ac5536bcfd854bf0000000000000000000000000000000000000000000000192f8bac0b6799b88e", - "logIndex": "0x4", - "removed": false, - "topics": [ - "0x11249f0fc79fc134a15a10d1da8291b79515bf987e036ced05b9ec119614070b" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0x4", - "type": "mined" - }, - { - "address": "0x1a90e50a0d0782cf54dfd96259b89a65babcea36", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x000000000000000000000000000000000000000000000da50eef6630dbe6545100000000000000000000000000000000000000000000000aec395f35f21c5670", - "logIndex": "0x5", - "removed": false, - "topics": [ - "0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0x5", - "type": "mined" - }, - { - "address": "0x1a90e50a0d0782cf54dfd96259b89a65babcea36", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001413ad98d64bd9590000000000000000000000000000000000000000000000192f8bac0b6799b88e0000000000000000000000000000000000000000000000000000000000000000", - "logIndex": "0x6", - "removed": false, - "topics": [ - "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822", - "0x00000000000000000000000096f9a82cefdbf3661bf23a2e0997821326b18346", - "0x0000000000000000000000007feb0ddd7bdc11589f6919a51ac5536bcfd854bf" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0x6", - "type": "mined" - }, - { - "address": "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x00000000000000000000000000000000000000000000000083ab7a4b7b839a0a", - "logIndex": "0x7", - "removed": false, - "topics": [ - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", - "0x0000000000000000000000007feb0ddd7bdc11589f6919a51ac5536bcfd854bf", - "0x00000000000000000000000096f9a82cefdbf3661bf23a2e0997821326b18346" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0x7", - "type": "mined" - }, - { - "address": "0x7feb0ddd7bdc11589f6919a51ac5536bcfd854bf", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x000000000000000000000000000000000000000000002c7e701c6e0632537dee0000000000000000000000000000000000000000000000e8cbd04b6fb74ea509", - "logIndex": "0x8", - "removed": false, - "topics": [ - "0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0x8", - "type": "mined" - }, - { - "address": "0x7feb0ddd7bdc11589f6919a51ac5536bcfd854bf", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x0000000000000000000000000000000000000000000000192f8bac0b6799b88e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083ab7a4b7b839a0a", - "logIndex": "0x9", - "removed": false, - "topics": [ - "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822", - "0x00000000000000000000000096f9a82cefdbf3661bf23a2e0997821326b18346", - "0x00000000000000000000000096f9a82cefdbf3661bf23a2e0997821326b18346" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0x9", - "type": "mined" - }, - { - "address": "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x000000000000000000000000000000000000000000000000826e73a4946b22ad", - "logIndex": "0xa", - "removed": false, - "topics": [ - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", - "0x00000000000000000000000096f9a82cefdbf3661bf23a2e0997821326b18346", - "0x0000000000000000000000001af298d8bfd6e36ccdfd4b3659077d7a3b573d45" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0xa", - "type": "mined" - }, - { - "address": "0x1af298d8bfd6e36ccdfd4b3659077d7a3b573d45", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x00000000000000000000000000000000000000000000053e4a129caa627efc600000000000000000000000000000000000000000000021f6aba1b5a9bd0ad0f5", - "logIndex": "0xb", - "removed": false, - "topics": [ - "0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0xb", - "type": "mined" - }, - { - "address": "0x1af298d8bfd6e36ccdfd4b3659077d7a3b573d45", - "blockHash": "0x3b7e9781c36c7dd97c688aa879e79cf10c71076d40d426d38c87a6fa361db623", - "blockNumber": "0x10787f5", - "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000826e73a4946b22ad0000000000000000000000000000000000000000000000001413ad98d64bd9590000000000000000000000000000000000000000000000000000000000000000", - "logIndex": "0xc", - "removed": false, - "topics": [ - "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822", - "0x00000000000000000000000096f9a82cefdbf3661bf23a2e0997821326b18346", - "0x00000000000000000000000096f9a82cefdbf3661bf23a2e0997821326b18346" - ], - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "transactionLogIndex": "0xc", - "type": "mined" - } - ], - "logsBloom": "0x01200000000800000000000088000000000010000000000900000000000000000000000200100000002000000000000000000000000000000000010000000000000000000000000000000008000000202100000000000000000000002020000000000000000000008000000000000000000000800000000000000010000000000000000000030000000000000000002000000000000000080000004010000000000000000000000100010000010000100000000000000010000004000000000000000002000020000000000000400000000000000000001000000000020000000000000000001000000080004000000000000000000000000000000008000000", - "status": "0x1", - "to": "0x96f9a82cefdbf3661bf23a2e0997821326b18346", - "transactionHash": "0x208b6b084c40d39f548992375d34f212e80eae42a21668f4a1d512fecffec778", - "transactionIndex": "0x0", - "type": "0x0" - } -} -``` diff --git a/docs/rpc/gnosis/eth_getunclebyblockhashandindex.md b/docs/rpc/gnosis/eth_getunclebyblockhashandindex.md deleted file mode 100644 index ea32352..0000000 --- a/docs/rpc/gnosis/eth_getunclebyblockhashandindex.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -description: >- - Returns information about an uncle of a block by hash and uncle index - position. ---- - -# eth_getUncleByBlockHashAndIndex - -### Parameters - -- `QUANTITY|TAG` - a block number, or the string "earliest", "latest" or "pending", as in the - - [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter). - -- `QUANTITY` - the uncle's index position. - -### Returns - -See [`eth_getBlockByHash`](./#eth_getblockbyhash) - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"id": 89,"jsonrpc": "2.0","method": "eth_getUncleByBlockHashAndIndex","params": ["0x14e2cf0b6e345e434808cd7e59e8a9295a0dee40b7ac695e381c9e018b973035","0x0"]}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 89, - "result": null -} -``` diff --git a/docs/rpc/gnosis/eth_getunclebyblocknumberandindex.md b/docs/rpc/gnosis/eth_getunclebyblocknumberandindex.md deleted file mode 100644 index 241e80e..0000000 --- a/docs/rpc/gnosis/eth_getunclebyblocknumberandindex.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -description: >- - Returns information about an uncle of a block by number and uncle index - position. ---- - -# eth_getUncleByBlockNumberAndIndex - -### Parameters - -- `QUANTITY|TAG` - a block number, or the string "earliest", "latest" or "pending", as in the [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter). -- `QUANTITY` - the uncle's index position. - -### Returns - -See [`eth_getBlockByHash`](./#eth_getblockbyhash) - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"id": 89,"jsonrpc": "2.0","method": "eth_getUncleByBlockNumberAndIndex","params": ["0xEF428","0x0"]}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 89, - "result": null -} -``` diff --git a/docs/rpc/gnosis/eth_getunclecountbyblockhash.md b/docs/rpc/gnosis/eth_getunclecountbyblockhash.md deleted file mode 100644 index a30f9d3..0000000 --- a/docs/rpc/gnosis/eth_getunclecountbyblockhash.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -description: Returns the number of uncles in a block matching the given block hash. ---- - -# eth_getUncleCountByBlockHash - -### Parameters - -`DATA`, 32 Bytes - hash of a block. - -### Returns - -`QUANTITY` - integer of the number of uncles in this block. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockHash","params":["0x09d54c053c22c07d39a9c8d0f8e6576b644b5eaa018c8180ecf541bee7bea20e"],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": null -} -``` diff --git a/docs/rpc/gnosis/eth_getunclecountbyblocknumber.md b/docs/rpc/gnosis/eth_getunclecountbyblocknumber.md deleted file mode 100644 index 1b0bd01..0000000 --- a/docs/rpc/gnosis/eth_getunclecountbyblocknumber.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -description: Returns the number of uncles in a block matching the give block number. ---- - -# eth_getUncleCountByBlockNumber - -### Parameters - -`QUANTITY|TAG` - integer of a block number, or the string "latest", "earliest" or "pending", see the [default block parameter](https://eth.wiki/json-rpc/API#the-default-block-parameter). - -### Returns - -`QUANTITY` - integer of the number of uncles in this block. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockNumber","params":["0x29c"],"id":1}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 1, - "result": null -} -``` diff --git a/docs/rpc/gnosis/eth_protocolversion.md b/docs/rpc/gnosis/eth_protocolversion.md deleted file mode 100644 index db46e55..0000000 --- a/docs/rpc/gnosis/eth_protocolversion.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -description: Returns the current ethereum protocol version. ---- - -# eth_protocolVersion - -### Parameters - -none - -### Returns - -`String` - The current ethereum protocol version. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_protocolVersion","params":[],"id":71}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 71, - "result": "65" -} -``` diff --git a/docs/rpc/gnosis/eth_sendrawtransaction.md b/docs/rpc/gnosis/eth_sendrawtransaction.md deleted file mode 100644 index df6eeca..0000000 --- a/docs/rpc/gnosis/eth_sendrawtransaction.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -description: >- - Creates a new message call transaction or a contract creation for signed - transactions. ---- - -# eth_sendRawTransaction - -Gateway does not store keys, so transactions sent via Gateway must be signed ahead of time using another provider like [ethers](https://docs.ethers.io/v5/api/signer/) (via `eth_signTransaction`) and sent with `eth_sendRawTransaction`. - -### Parameters - -`DATA` The signed transaction data. - -### Returns - -`DATA`, 32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available. - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet\ --X POST \ --H "Content-Type: application/json" \ --d '{"id": 6008149,"jsonrpc": "2.0","method": "eth_sendRawTransaction","params": ["0xf8687884f46109038252089447ac4f3a5ea94b648672648e730bfe48ed6e734985e8d4a51000802ca0ee5f7c40c98ce6f0f2aa05ebb65e96ddf402f1152fbb8b76893ddb2b0fd6f1d0a068e60320ad7ab56a5200d55ba97c783d4ad37945eb74d1f5d3100155f059fbae"]}' -``` - -Result - -```javascript -{ - "jsonrpc":"2.0", - "id":6008149, - "result":"0x3831c25a7e0e7fc8a3ce5c5a6b4b93a1608a362d6ce08015061463f930f0774b" - } -``` diff --git a/docs/rpc/gnosis/eth_syncing.md b/docs/rpc/gnosis/eth_syncing.md deleted file mode 100644 index 399e7aa..0000000 --- a/docs/rpc/gnosis/eth_syncing.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -description: Returns an object with data about the sync status or false. ---- - -# eth_syncing - -**Note**: Your response from `eth_syncing` will likely return false because Gateway only supports nodes in production that are completed synced. - -### **Parameters** - -none - -### **Returns** - -`Object|Boolean`, An object with sync status data or `FALSE`, when not syncing: - -- `startingBlock`: `QUANTITY` - The block at which the import started (will only be reset, after the sync reached his head) -- `currentBlock`: `QUANTITY` - The current block, same as eth_blockNumber -- `highestBlock`: `QUANTITY` - The estimated highest block - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":71}' -``` - -Response - -```javascript -{ - "jsonrpc": "2.0", - "id": 71, - "result": { - "currentBlock": "0x1027437", - "highestBlock": "0x1566f39", - "startingBlock": "0xfa365b", - "warpChunksAmount": null, - "warpChunksProcessed": null - } -} -``` diff --git a/docs/rpc/gnosis/net_version.md b/docs/rpc/gnosis/net_version.md deleted file mode 100644 index ebd9ce6..0000000 --- a/docs/rpc/gnosis/net_version.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -description: Returns the current network id. ---- - -# net_version - -#### **Parameters** - -none - -#### **Returns** - -`String` - The current network id. - -`"1"`: Ethereum Mainnet -`"2"`: Morden Testnet (deprecated) -`"3"`: Ropsten Testnet -`"4"`: Rinkeby Testnet -`"42"`: Kovan Testnet - -### **Example** - -Request - -```bash -curl https://rpc..gateway.fm/v4/gnosis/non-archival/mainnet \ --X POST \ --H "Content-Type: application/json" \ --d '{ "id": 89, "jsonrpc": "2.0", "method": "net_version", "params": []}' -``` - -Result - -```javascript -{ - "jsonrpc": "2.0", - "id": 89, - "result": "100" -} -```