Gateway
Create new gateway
Creates a new gateway for the given owner. It accepts the gateway configuration payload and registers a new gateway.
post/gateway
Request
- Base URLhttps://api.tatum.io/v4/manage
- URLhttps://api.tatum.io/v4/manage/gateway
- AuthAPI key in header x-api-key
Request body
Example request
{
"displayName": "My Ethereum Mainnet Gateway",
"interface": "ethereum-mainnet-json-rpc",
"endpointConfigs": [
{
"endpointId": "905f2b80-c120-4862-8ac6-ce4e3e86d7b3",
"weight": 100,
"priority": 1
}
],
"methodRoutingOverrides": [
{
"endpointConfigs": [
{
"endpointId": "905f2b80-c120-4862-8ac6-ce4e3e86d7b3",
"weight": 100,
"priority": 1
}
]
}
]
}Response
The created gateway
Example response
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"url": "https://f47ac10b-58cc-4372-a567-0e02b2c3d479.gateway.tatum.io",
"displayName": "My Ethereum Mainnet Gateway",
"chain": "ethereum",
"network": "ethereum-mainnet",
"interface": "ethereum-mainnet-json-rpc",
"endpointConfigs": [
{
"endpointId": "905f2b80-c120-4862-8ac6-ce4e3e86d7b3",
"weight": 100,
"priority": 1
}
],
"methodRoutingOverrides": [
{
"endpointConfigs": [
{
"endpointId": "905f2b80-c120-4862-8ac6-ce4e3e86d7b3",
"weight": 100,
"priority": 1
}
]
}
],
"ownerId": "692391f00000000000000000"
}Changes
No recorded changes to this operation across all 1 revision of this API.