LogoUnreal AI

Get OpenAI service address

Returns the OpenAI service wallet address and chain information

GET
/v1/auth/address

Response Body

curl -X GET "https://openai.ideomind.org/v1/auth/address"
{
  "address": "0x1234567890abcdef1234567890abcdef12345678",
  "chain": {
    "id": 8192,
    "name": "Torus Mainnet",
    "nativeCurrency": {
      "name": "Torus",
      "symbol": "TOR",
      "decimals": 18
    },
    "rpcUrls": {
      "default": {
        "http": [
          "https://rpc.toruschain.com"
        ]
      }
    },
    "blockExplorers": {
      "default": {
        "name": "TorusScan",
        "url": "https://scan.toruschain.com"
      }
    }
  },
  "chains": {
    "property1": {
      "id": 0,
      "name": "string",
      "nativeCurrency": {
        "name": "string",
        "symbol": "string",
        "decimals": 0
      },
      "rpcUrls": {
        "default": {
          "http": [
            "string"
          ]
        }
      },
      "blockExplorers": {
        "default": {
          "name": "string",
          "url": "string"
        }
      }
    },
    "property2": {
      "id": 0,
      "name": "string",
      "nativeCurrency": {
        "name": "string",
        "symbol": "string",
        "decimals": 0
      },
      "rpcUrls": {
        "default": {
          "http": [
            "string"
          ]
        }
      },
      "blockExplorers": {
        "default": {
          "name": "string",
          "url": "string"
        }
      }
    }
  }
}
{
  "error": "System Error: OPENAI Address not set"
}