我正在尝试获取 PairCreated 事件记录(https://bscscan.com/address/0xca143ce32fe78f1f7019d7d551a6402fc5350c73#events)。但是服务器正在响应我的请求{"jsonrpc":"2.0","id":1,"result":[]}
。帮助正确地向 RPC 发出请求。
curl https://bsc-dataseed1.ninicoin.io/ -X POST --data '{
"id": 1,
"method": "eth_getLogs",
"jsonrpc": "2.0",
"params": [
{
"address": "0xca143ce32fe78f1f7019d7d551a6402fc5350c73",
"topics": ["0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9"]
}
]}'