Get wallet status
GET {{baseUrl}}/protocols/eth/wallets/:wallet
Returns wallet metrics (i.a. balance, checksum address, transaction nonce) for the current Ethereum network via the tangany-network header.
Resolves the base currency for common Ethereum chains. Testnet currencies are prefixed with t (e.g. tETH, tBNB`)
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
tangany-version | number | (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
{"address":"0x9C2E011c0CE0d75c2B62B9C5A0Ba0a7456593803","balance":"0.00011707365349704","currency":"tETH","nonce":"auto"}