Etherscan GPT
Etherscan GPT · GPT Actions
Etherscan API Extended Integration
Retrieve various data from the Ethereum blockchain using Etherscan API.
GET /apiEtherscanActionsPerform various actions using Etherscan API
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "Etherscan API Extended Integration",
"description": "Retrieve various data from the Ethereum blockchain using Etherscan API.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.etherscan.io"
}
],
"paths": {
"/api": {
"get": {
"description": "Perform various actions using Etherscan API",
"operationId": "EtherscanActions",
"parameters": [
{
"name": "module",
"in": "query",
"description": "The module to use (e.g., 'account', 'transaction', 'block', 'contract', 'gas', 'stats')",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "action",
"in": "query",
"description": "The action to perform based on the module (e.g., 'balance', 'txlist', 'getblock', 'getabi', 'gasoracle', 'ethsupply')",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "address",
"in": "query",
"description": "The Ethereum address (required for account-related actions)",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "blockno",
"in": "query",
"description": "The block number (required for block-related actions)",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "query",
"description": "Your Etherscan API key",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response"
}
}
}
}
}
}CoinGecko Cryptocurrency Prices
Retrieve current prices of major cryptocurrencies like Bitcoin and Ethereum.
GET /simple/priceGetCryptoPricesGet current price information for specific cryptocurrencies
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "CoinGecko Cryptocurrency Prices",
"description": "Retrieve current prices of major cryptocurrencies like Bitcoin and Ethereum.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.coingecko.com/api/v3"
}
],
"paths": {
"/simple/price": {
"get": {
"description": "Get current price information for specific cryptocurrencies",
"operationId": "GetCryptoPrices",
"parameters": [
{
"name": "ids",
"in": "query",
"description": "Comma-separated cryptocurrency IDs (e.g., 'bitcoin,ethereum') to get prices for",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "vs_currencies",
"in": "query",
"description": "Fiat or cryptocurrency to convert the prices into (e.g., 'usd')",
"required": true,
"schema": {
"type": "string",
"default": "usd"
}
}
],
"responses": {
"200": {
"description": "Successful response with price data"
}
}
}
}
}
}Etherscan API Extended Integration
Retrieve various data from the Ethereum blockchain using Etherscan API.
GET /apiEtherscanActionsPerform various actions using Etherscan API
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "Etherscan API Extended Integration",
"description": "Retrieve various data from the Ethereum blockchain using Etherscan API.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.etherscan.io"
}
],
"paths": {
"/api": {
"get": {
"description": "Perform various actions using Etherscan API",
"operationId": "EtherscanActions",
"parameters": [
{
"name": "module",
"in": "query",
"description": "The module to use (e.g., 'account', 'transaction', 'block', 'contract', 'gas', 'stats')",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "action",
"in": "query",
"description": "The action to perform based on the module (e.g., 'balance', 'txlist', 'getblock', 'getabi', 'gasoracle', 'ethsupply')",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "address",
"in": "query",
"description": "The Ethereum address (required for account-related actions)",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "blockno",
"in": "query",
"description": "The block number (required for block-related actions)",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "query",
"description": "Your Etherscan API key",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response"
}
}
}
}
}
}CoinGecko Cryptocurrency Prices
Retrieve current prices of major cryptocurrencies like Bitcoin and Ethereum.
GET /simple/priceGetCryptoPricesGet current price information for specific cryptocurrencies
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "CoinGecko Cryptocurrency Prices",
"description": "Retrieve current prices of major cryptocurrencies like Bitcoin and Ethereum.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.coingecko.com/api/v3"
}
],
"paths": {
"/simple/price": {
"get": {
"description": "Get current price information for specific cryptocurrencies",
"operationId": "GetCryptoPrices",
"parameters": [
{
"name": "ids",
"in": "query",
"description": "Comma-separated cryptocurrency IDs (e.g., 'bitcoin,ethereum') to get prices for",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "vs_currencies",
"in": "query",
"description": "Fiat or cryptocurrency to convert the prices into (e.g., 'usd')",
"required": true,
"schema": {
"type": "string",
"default": "usd"
}
}
],
"responses": {
"200": {
"description": "Successful response with price data"
}
}
}
}
}
}