For the complete documentation index, see llms.txt. This page is also available as Markdown.

API REST

In this section, you'll learn how to go mainnet by using our API REST

Go live with the REST API

To move your REST integration to mainnet, update three network-specific values.

1

Use the mainnet asset issuer

Your escrow asset must use the mainnet issuer address.

If you send a testnet asset issuer, such as testnet USDC, it will not work on mainnet.

Review the issuer addresses here:

2

Switch the API base URL

The testnet Core API URL is:

https://beta.api.trustlesswork.com

The mainnet Core API is not publicly available yet — its URL will be announced here when it launches. Until then, every Core API integration runs on testnet.

You can verify the base URLs here:

3

Generate a mainnet API key

Mainnet requires a mainnet API key.

A testnet API key will not authenticate against the mainnet API.

When requesting the key in the dApp, switch to the Mainnet tab first.

Then request and store the key securely.

See the full process here:

Mainnet checklist

Before sending your first live request, confirm this:

  • Your asset issuer is the mainnet issuer.

  • Your API base URL is the mainnet Core API URL (to be announced) — not the testnet beta.api.trustlesswork.com and not a Version 1 URL.

  • Your API key was generated from the Mainnet tab.

  • The wallets involved have the correct mainnet trustlines.