latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

Transaction request

Create transaction request

Create a transaction request for an MPC (TSS) wallet. To learn more about transacting from other wallet types, see Withdraw Overview.

TRX (trx, ttrx) MPC wallets support native transfers, TRC-20 tokens, consolidation, staking, and resource delegation via delegateResource and undelegateResource intents.

post/api/v2/wallet/{walletId}/txrequests

Path parameters

walletIdstring required
Example:59cd72485007a239fb00282ed480da1f

The ID of the wallet

Request body

apiVersion'lite' | 'full'

Full or Light to differentiate between the different transaction request flows.

idempotencyKeystring

The combination of the idempotencyKey, version and walletId has to be unique. If no idempotencyKey is specified then it remains undefined for the txRequest. Note, version is an internal field that is auto incremented on every update to a txRequest.

videoApproversstring[]
previewboolean

When set to true, the transaction request is returned without being stored in the DB.

Response

OK

OR

Example response

{
  "intent": {
    "messageRaw": "for EVM: test message"
  },
  "txRequestId": "123e4567-e89b-12d3-a456-426614174000",
  "walletId": "59cd72485007a239fb00282ed480da1f",
  "enterpriseId": "59cd72485007a239fb00282ed480da1f",
  "date": "2021-01-01T00:00:00.000Z",
  "createdDate": "2021-01-01T00:00:00.000Z"
}