Monti | Posts: 6

how to get transactions that require my signature

0 votes

Hello!
Is there a REST API endpoint that shows the number of transactions that require the user's signature?
Also, is it possible to filter the list by date?


Duo_Liang | Posts: 3776

Reply to: how to get transactions that require my signature

0 votes

Hi Monti,

 

As per the API Swagger, for the retrieve list of packages API, if you set the "predefined" parameter as "awaitingSignature", it should only return packages that requires your signature:

GET /api/packages?type=PACKAGE&query=inbox&predefined=awaitingSignature&lastUpdatedStartDate=2022-01-01&lastUpdatedEndDate=2022-03-04

(1)In response, "count" indicates the number of transactions

(2)"lastUpdatedStartDate" and "lastUpdatedEndDate" allows you to filter by date

(3)If you need to paginate through the list, you will need the parameters "&from=1&to=100", "&from=101&to=200", so on so forth.

 

Duo


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off