Skip to main content

Create Intent

Create Intent

This endpoint creates a new intent for a transaction.

Endpoint

  • Path: /intent
  • Method: POST

Request

  • Parameters:
    • amount: The amount for the intent.
    • asset_id: The unique identifier of the asset.

Response

  • Fields:
    • intent_id: Unique identifier for the intent.
    • receive_amount: The amount to be received.
    • deliver_amount: The amount to be delivered.
    • coin: The type of cryptocurrency or asset.
    • network: The blockchain network associated with the asset.
    • expires: The expiration timestamp for the intent.

Description

Initiates a transaction intent for a specified asset and amount, returning details about the expected receive and deliver amounts.