/v1/batch
Metadata for several proposals at once (max 12)
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
…