1inch-agent-kit
Version:
AI Agent Kit for 1inch - Connect any LLM to 1inch DeFi protocols
58 lines (57 loc) • 1.64 kB
JSON
{
"name": "gasAPI",
"description": "Get real-time gas price data from 1inch Gas Price API. This function provides accurate gas price information across various blockchains, including base fee, priority fees, and max fees for different transaction speeds (low, medium, high, instant).",
"parameters": {
"type": "object",
"properties": {
"chain": {
"type": "integer",
"description": "The blockchain network ID to get gas prices for",
"enum": [1, 10, 56, 100, 137, 324, 42161, 43114, 8453, 7565164],
"examples": [
{
"value": 1,
"description": "Ethereum Mainnet"
},
{
"value": 137,
"description": "Polygon"
},
{
"value": 42161,
"description": "Arbitrum One"
},
{
"value": 56,
"description": "BNB Chain"
},
{
"value": 10,
"description": "Optimism"
},
{
"value": 43114,
"description": "Avalanche C-Chain"
},
{
"value": 8453,
"description": "Base"
},
{
"value": 324,
"description": "zkSync Era"
},
{
"value": 100,
"description": "Gnosis"
},
{
"value": 7565164,
"description": "Solana"
}
]
}
},
"required": ["chain"]
}
}