{"repo":"DePayFi/web3-client","free":true,"listed":false,"github":"https://github.com/DePayFi/web3-client","clone":"git clone https://github.com/DePayFi/web3-client.git","description":"🌐 A web3 client to fetch blockchain data just like you are used to with HTTP clients.","language":"JavaScript","stars":11,"topics":["web3","client","blockchain","rpc"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Quickstart or or if you want to make a request with unnamed params: Support This library supports the following blockchains: - Ethereum - BNB Smart Chain - Polygon - Solana - Fantom - Arbitrum - Avalanche - Gnosis - Optimism - Base - Worldchain Platform specific packaging In case you want to use and package only specific platforms, use the platform-specific package: EVM (Ethereum Virtual Machine) platform specific packaging SVM (Solana Virtual Machine) platform specific packaging Functionalities request Sends a request to retrieve a value from a blockchain: request data EVM: request data rpcRequest Sends a raw rpcRequest to and returns raw response: EVM: callStatic If a function fragment is of type stateMutability nonpayable , you can request data the same way: Solana: request data Solana: getAccountInfo Either pass /getAccountInfo as explicit method, or pass no method to a request and it will perform a getAccountInfo : Solana: other methods For all other methods just pass params or api: request account balance EVM: request account balance Solana: request account balance request account transactionCount EVM: request account transactionCount Solana: request transactionCount request latestBlockNumber EVM: request latestBlockNumber Solana: request latestBlockNumber Returns latest slot ( finalized per default). block Allows you make the request for a specific block (historical). cache @depay/web3-client caches indentical, pending requests/responses and serves them from the same r","default_branch":null,"files":null,"tree":[],"storefront":"/r/DePayFi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DePayFi/web3-client/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}