GET
/
get-network-info
Get Network Information
curl --request GET \
  --url https://api.sandbox.brickken.com/get-network-info \
  --header 'x-api-key: <api-key>'
{
  "currencyName": "<string>",
  "blockExplorerUrl": "<string>",
  "factoryAddress": "<string>",
  "BKNAddress": "<string>",
  "USDTAddress": "<string>",
  "USDCAddress": "<string>"
}
Retrieves information about a blockchain network.

Query Parameters

  • chainId (required): Blockchain network ID

Example

curl --request GET \
  --url 'https://api.sandbox.brickken.com/get-network-info?chainId=0x89' \
  --header 'x-api-key: YOUR_API_KEY'

Response

{
  "chainId": "0x89",
  "networkName": "Polygon",
  "rpcUrl": "https://polygon-rpc.com",
  "blockExplorerUrl": "https://polygonscan.com",
  "nativeCurrency": {
    "name": "MATIC",
    "symbol": "MATIC",
    "decimals": 18
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

chainId
string
required

The blockchain's chain ID (e.g., "aa36a7").

Response

200 - application/json

Successful response

currencyName
string

The name of the blockchain's currency.

blockExplorerUrl
string

The URL of the block explorer.

factoryAddress
string

The address of the factory contract.

BKNAddress
string

The address of the BKN token.

USDTAddress
string

The address of the USDT token.

USDCAddress
string

The address of the USDC token.