/v1/batch
Metadata for several proposals at once (max 12)
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/eipregistry-api/v1/batch" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/eipregistry-api/v1/batch", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/eipregistry-api/v1/batch");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/eipregistry-api/v1/batch",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"eips": [
{
"url": "https://eips.ethereum.org/EIPS/erc-20",
"kind": "erc",
"type": "Standards Track",
"title": "Token Standard",
"author": "Fabian Vogelsteller <[email protected]>, Vitalik Buterin <[email protected]>",
"number": 20,
"status": "Final",
"created": "2015-11-19",
"abstract": "The following standard allows for the implementation of a standard API for tokens within smart contracts. This standard provides basic functionality to transfer tokens, as well as allow tokens to be approved so they can be spent by another on-chain third party.",
"category": "ERC",
"requires": [],
"source_url": "https://github.com/ethereum/ERCs/blob/master/ERCS/erc-20.md",
"discussions_to": null
},
{
"url": "https://eips.ethereum.org/EIPS/erc-721",
"kind": "erc",
"type": "Standards Track",
"title": "Non-Fungible Token Standard",
"author": "William Entriken (@fulldecent), Dieter Shirley <[email protected]>, Jacob Evans <[email protected]>, Nastassia Sachs <[email protected]>",
"number": 721,
"status": "Final",
"created": "2018-01-24",
"abstract": "The following standard allows for the implementation of a standard API for NFTs within smart contracts. This standard provides basic functionality to track and transfer NFTs. We considered use cases of NFTs being owned and transacted by individuals as well as consignment to third party brokers/wallets/auctioneers (\"operators\"). NFTs can represent ownership over digital or physical assets. We considered a diverse universe of assets, and we know you will dream up many more: - Physical property — houses, unique artwork - Virtual collectibles — unique pictures of kittens, collectible cards -…",
"category": "ERC",
"requires": [
165
],
"source_url": "https://github.com/ethereum/ERCs/blob/master/ERCS/erc-721.md",
"discussions_to": "https://github.com/ethereum/eips/issues/721"
},
{
"url": "https://eips.ethereum.org/EIPS/erc-1155",
"kind": "erc",
"type": "Standards Track",
"title": "Multi Token Standard",
"author": "Witek Radomski <[email protected]>, Andrew Cooke <[email protected]>, Philippe Castonguay (@phabc) <[email protected]>, James Therien <[email protected]>, Eric Binet <[email protected]>, Ronan Sandford (@wighawag) <[email protected]>",
"number": 1155,
"status": "Final",
"created": "2018-06-17",
"abstract": "This standa
…