latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

Transaction request

Get transaction requests ready for signature

get/api/v2/wallet/{walletId}/txrequests/awaitingsignature

Path parameters

walletIdstring required
Example:59cd72485007a239fb00282ed480da1f

Query parameters

string
OR
string number

Maximum number of results to return. If the result set is truncated, use the "nextBatchPrevId" value to get the next batch.

txRequestIdsstring[]

If provided, only the specified transaction requests will be returned.

walletPermissionsstring[]

If provided, the result will be filtered by the users wallet permissions.

signingStage'1-eddsa' | '2-eddsa' | '3-eddsa' | '4-eddsa' | '1-ecdsa' | '2-ecdsa' | '3-ecdsa' | '1-ecdsa-mpcv2' | '2-ecdsa-mpcv2' | '3-ecdsa-mpcv2' | '4-ecdsa-mpcv2' | '1-eddsa-mpcv2' | '2-eddsa-mpcv2' | '3-eddsa-mpcv2' | '4-eddsa-mpcv2'

If provided, only transaction requests in a particular signing stage will be returned.

prevIdstring
Example:59cd72485007a239fb00282ed480da1f

Return the next batch of results, based on the "nextBatchPrevId" value from the previous batch.

sortBy'id' | 'createdDate' nullable

Sorts by specified field, default sorting by id.

sortDirection'ASC' | 'DESC' nullable

Sorts order by field in specified sort direction, default ascending.

Response

OK

totalCountnumber
nextBatchPrevIdstring uuid

When a result set is truncated, this field returns the id of the last object in the previous batch. To get the next batch of results, pass this value via the "prevId" query parameter.

Example response

{
  "txRequests": [
    {
      "txRequestId": "123e4567-e89b-12d3-a456-426614174000",
      "walletId": "59cd72485007a239fb00282ed480da1f",
      "enterpriseId": "59cd72485007a239fb00282ed480da1f",
      "date": "2021-01-01T00:00:00.000Z",
      "createdDate": "2021-01-01T00:00:00.000Z"
    }
  ],
  "nextBatchPrevId": "585951a5df8380e0e3063e9f"
}