Create intent for asset profile

Create a new intent on an asset profile for either primarySale, buyingIntent or SellingIntent

Path Params
string
required

ID of the asset profile

Body Params
int64
required
≥ 0

start time for intent, in epoch (seconds)

int64
required
≥ 0

end time for intent, in epoch (seconds)

intent
required
string

unique identifier for the intent, will default to generated UUID if not provided

Headers
string

32 bytes buffer (24 randomly generated bytes by the client + 8 bytes epoch timestamp seconds) encoded to hex:

const nonce = Buffer.alloc(32); nonce.fill(crypto.randomBytes(24), 0, 24);

const nowEpochSeconds = Math.floor(new Date().getTime() / 1000); const t = BigInt(nowEpochSeconds); nonce.writeBigInt64BE(t, 24);

Responses

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