Polling
Requests status polling
As a dApp, you may want to check the status of a certain request in order to adapt your frontend. To achieve this, CKBull Signer API has two prepared endpoints to obtain the status of a request.
Sign in request polling
A simple endpoint to obtain the status of a sign in request by its token.
get
Path parameters
signInTokenstringRequired
Sign in request identifier
Header parameters
Content-TypestringRequiredDefault:
application/json
application/jsonResponses
200Success
application/json
get
/api/sign-in-requests/{signInToken}/status200Success
As mentioned in Guides and concepts, a sign in request can have the following status: pending, expired, signed, declined or session expired.
Transaction request polling
A simple endpoint to obtain the status of a transaction request by its token.
get
Path parameters
transactionTokenstringRequired
Transaction request identifier
Header parameters
Content-TypestringRequiredDefault:
application/json
application/jsonResponses
200Success
application/json
get
/api/transaction-request/{transactionToken}/status200Success
As mentioned in Guides and concepts, a sign in request can have the following status: pending, expired, signed, declined.
Last updated