Nerve Public-Service API
Listening Port
Interface Description
Charset Encoding
interview method -- JSON call details
Example: http://127.0.0.1:7003
{
"jsonrpc":"2.0",
"method": "methodCMD", //interface name
"params":[], //All interface parameters are passed as arrays, and the order of the parameters cannot be changed. If the parameters are not required, they must also be filled in null placeholders.
"id":1234
}Remote Procedure Call Examples
Return Format
Sample Calls
Token Swap
Return Definition
Calls Categorized by Blockchain Function
Chain Related [chain]
Block Related [block]
Account Related [account]
Transaction Related [transaction]
Consensus Related [consensus]
Contract Related [contract]
Statistics Related [statistical]
Last updated