(Get payload to) Approve Counterparty Swap Request.

Approves a pending swap transaction initiated by another qualified investor. This endpoint allows the counterparty to confirm and execute their side of the swap. Returns the transaction payload that must be signed to complete the approval process.
The swap must be in a pending approval state, and the caller must be the intended counterparty of the swap. Both wallets must maintain compliant status with their respective tokens for successful execution.
Access level: Qualified investors who are the intended counterparty of the swap transaction.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Responses

400

The owner is not the creator of the action.

Workflow is not a valid token swap workflow.

Workflow is not in the correct state to be approved.

Token with id {tokenId} is not deployed

Wallet {senderAddress} is not registered in token {tokenAddress}

401

Unauthorized

404

Token not found.

Workflow not found.

Wallet {walletAddress} is not compliant with token {tokenId}.

Holder with qualified status not found for sender wallet {walletAddress}.

Holder not found for account {accountId}

500

The call to the TREX Service API endpoint raised an error:

TREX Service API responded with an empty body.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json