General info about the currently configured network.

Allows you to directly inspect the current state of a contract, a contract's code, or any other ledger entry. This is a backup way to access your contract data which may not be available via events or simulateTransaction.

Reference: Here



Returned Value:

friendbotUrl (string) (optional) The URL of this network's "friendbot" faucet

passphrase (string) Network passphrase configured

protocolVersion (string) Protocol version of the latest ledger

  "jsonrpc": "2.0",
  "id": 8675309,
  "result": {
    "friendbotUrl": "",
    "passphrase": "Test SDF Network ; September 2015",
    "protocolVersion": "20"
    -X POST \
    -H "Content-Type: application/json" \
    -d '{
  "jsonrpc": "2.0",
  "id": 8675309,
  "method": "getNetwork"

Last updated