Saltearse al contenido

Prepare a generic on-chain transaction (low-level)

POST
/api/v1/tx/prepare

Most clients use POST /api/v1/events/prepare or POST /api/v1/custody/prepare instead. This is the low-level primitive for advanced use cases (process flows the client constructs explicitly).

object
method
required

Smart-contract method name (e.g. recordEvent).

string
processId
required

Bytes32 hex of the process map id.

string
inputTokenIds
Array<integer>
outputs
Array<object>
object
containmentMode
integer
Allowed values: 0 1
metadata
required
object
key
additional properties
any

Unsigned transaction + metadata

object
preparedTx
object
to

Contract address

string
data

Hex-encoded calldata

string
gasEstimate
integer
chainId
integer
metadata
object
key
additional properties
any