{"info":{"title":"Onesource","version":"1.0.0"},"openapi":"3.1.0","paths":{"/api/chain/block/:number":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"3000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Block :Number","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"Fetch an Ethereum block header and transaction hashes by number, tag, or hex via eth_getBlockByNumber"}},"/api/chain/contract/:address":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"5000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Contract :Address","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"Best-effort contract introspection via batched RPC - bytecode presence, token metadata, and ERC20-like/ERC721/ERC1155 classification"}},"/api/chain/ens/:input":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"5000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Ens :Input","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"ENS resolve - turn a .eth name into an address, or an address into its primary .eth name, via eth_call on OneSource live Ethereum RPC"}},"/api/chain/erc20-balance":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"3000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Chain Erc20 Balance","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"ERC20 token balance for any Ethereum wallet - USDC, USDT, DAI, or any token - via balanceOf (eth_call) on OneSource live Ethereum RPC"}},"/api/chain/erc20-transfers":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"5000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Chain Erc20 Transfers","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"ERC20 Transfer logs via eth_getLogs - raw Transfer events for a token or wallet"}},"/api/chain/erc721-tokens":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"8000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Chain Erc721 Tokens","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"List every ERC721 NFT token_id a wallet owns in a collection via tokenOfOwnerByIndex (eth_call)"}},"/api/chain/live-balance":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"3000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Chain Live Balance","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"Live wallet balance - native ETH plus up to 20 caller-supplied ERC20 tokens in one bounded RPC batch"}},"/api/chain/nft-metadata":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"8000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Chain Nft Metadata","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"NFT metadata for ERC721 or ERC1155 tokens via eth_call, with IPFS, Arweave, data URI, and public HTTP(S) resolution"}},"/api/chain/nonce/:address":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"3000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Nonce :Address","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"Next transaction nonce for any Ethereum wallet via eth_getTransactionCount - how many txs it has sent"}},"/api/chain/total-supply":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"3000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Chain Total Supply","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"Total supply of an ERC20 or ERC721 token contract via totalSupply (eth_call)"}},"/api/chain/tx/:hash":{"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"8000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Onesource: Tx :Hash","intent":"charge","method":"evm","recipient":"0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea"}]},"summary":"Full Ethereum transaction details by hash via eth_getTransactionByHash - from, to, value, calldata, block"}}},"x-service-info":{"description":"Onesource is an x402-native service at https://api.onesource.io, indexed from the x402 Bazaar (Coinbase's public discovery directory). It charges callers itself in USDC on Base and is paid directly at its own wallet; Monex Protocol passes your request and payment headers through untouched. 12 endpoints listed."}}