A wallet's bridge orders opened through Taoswap, newest first
The 10 newest TAO.com bridge orders a coldkey or an EVM address opened through Taoswap, or either of them when both are given; 400 when neither is. An order the chains disproved, such as a revert or another signer, is left out.
Rate limit: 600 requests per minute per IP (scope anon).
Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Coldkey SS58 address, matched even when the chain index has not seen it yet. 400 when malformed.
Ethereum address, 0x and 40 hex characters, matched in any case. 400 when malformed.
Responses
Section titled “Responses”The newest orders, at most 10.
/swaps/bridge/: the TAO.com bridge orders a coldkey or an EVM address opened through Taoswap.
object
The 10 newest, newest first. A claim the chains disproved is left out.
One TAO.com bridge order. A leg the record does not name is null.
object
to-bittensor brings TAO in from Ethereum, to-ethereum takes it out.
to-bittensor- to-bittensorto-ethereum- to-ethereum
The transaction that opened the order: the Ethereum hash in, the coldkey’s extrinsic hash out.
TAO.com’s order id.
The coldkey the TAO goes to or comes from.
The Ethereum account that pays in or is paid out, lower case.
usdc or eth in; tao or usdce out.
Decimal string in the input token’s units.
tao in; usdc, eth or the token’s address out.
Decimal string in the output token’s units. In, the TAO delivered.
The subnet the delivered TAO goes on into, when the order named one.
When the order opened, UTC.
open in flight, filled once the destination records the fill, refunded once the origin returns the funds, unsettled when neither happened within 24 hours.
open- openfilled- filledrefunded- refundedunsettled- unsettled
Example
{ "results": [ { "direction": "to-bittensor", "state": "open" } ]}A parameter failed its check, which message names. code is usually VALIDATION_ERROR.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
VALIDATION_ERROR
{ "error": true, "code": "VALIDATION_ERROR", "message": "coldkey or evm_address is required", "detail": null}Rate limit exceeded (600/minute, per IP). Retry-After carries the seconds to wait.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
RATE_LIMITED
{ "error": true, "code": "RATE_LIMITED", "message": "Request was throttled", "detail": { "retry_after": 12 }}Headers
Section titled “Headers”Seconds before the next request is accepted.