Get Ethereum status

GET {{baseUrl}}/protocols/eth

Returns the Ethereum blockchain status for the connected RPC

HEADERS

KeyDatatypeRequiredDescription
tangany-versionnumber(Required) Default header that directs the request towards desired Tangany Custody Api version (e.g 2 directs to Tangany Custody APi v2).

Supports only major versions. | | tangany-network | string | | (Optional header) Define an API-supported public Ethereum network or a custom external Ethereum RPC endpoint to operate in.

Accepts supported public network enums and custom Ethereum RPC URLs. Defaults to mainnet when omitted from the call.

Supported public networks: mainnet, goerli, sepolia, polygon, mumbai, bsc, bsc-testnet, gnosis, and chiado.

Examples for private Ethereum RPC: https://somenetwork.example.org:8540?mykey. External RPCs must be whitelisted by the Tangany support in order to be used in the API.

Example: sepolia | | Accept | string | | |

RESPONSES

status: OK

{"status":"live","info":{"peerCount":50,"protocolVersion":"63","blockNumber":10148399,"chainId":1,"gasPrice":200000000000}}