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

Assemble transaction

post

Assembles a transaction using the provided authorization token and request body.

Authorizations
AuthorizationstringRequired
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Body
  • The request body containing the transaction details.
userAddrstringRequired

The address of the user making the request.

pathIdstringRequired

The ID of the path to be assembled.

simulatebooleanOptional

Whether to simulate the transaction.

receiverstringOptional

The address of the receiver, if any.

Responses
200

A promise that resolves to an OdosAPIResponse containing the result of the transaction assembly.

application/json

Represents the structure of a response from the Odos API.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

A message providing additional information about the API response.

post/odos/assemble-transaction
200

A promise that resolves to an OdosAPIResponse containing the result of the transaction assembly.