Connect
WEBSOCKET [GATEWAY_WEBSOCKET_ENDPOINT]
Message
{
"type": "contracts"
}
GET `[GATEWAY_REST_ENDPOINT]/query?type=all_products
{
"status": "success",
"data": {
"chain_id": "1337",
"endpoint_addr": "0x0000000000000000000000000000000000000000",
"book_addrs": ["0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000"]
},
"request_type": "query_contracts"
}
POST [GATEWAY_REST_ENDPOINT]/query
Body
{
"type": "contracts"
}
{
"status": "success",
"data": {
"chain_id": "1337",
"endpoint_addr": "0x0000000000000000000000000000000000000000",
"book_addrs": ["0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000"]
},
"request_type": "query_contracts"
}