eth_subscribe
curl --request POST \
--url https://api.mainnet.abs.xyz/eth_subscribe \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_subscribe",
"id": 1,
"params": [
"newHeads"
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": "0x9cef478923ff08bf67fde6c64013158d"
}PubSub API
eth_subscribe
Creates a new subscription for events.
POST
/
eth_subscribe
eth_subscribe
curl --request POST \
--url https://api.mainnet.abs.xyz/eth_subscribe \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_subscribe",
"id": 1,
"params": [
"newHeads"
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": "0x9cef478923ff08bf67fde6c64013158d"
}Documentation Index
Fetch the complete documentation index at: https://docs.abs.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Was this page helpful?
⌘I