APIReadsDownload the evidence bundle
Download the evidence bundle
Offline evidence bundle of the wallet’s decisions.
- Auth Node Token or read token
- Guide Verify a decision
GET
A zip to verify the wallet’s decisions offline: README.txt, VERIFY.md, mandate.json, decisions.jsonl, roots.jsonl, publisher.json and one proof per decision. The default window is the last 30 days.
header
AuthorizationBearer <token>Node Token from the Exchain console. Works for wallets this node registered; the node’s network (preprod or mainnet) decides the network of the request. Use a preprod token in the playground.
walletId*stringWallet id returned at registration: wal_ and 26 Crockford base32 characters.
Match
^wal_[0-9A-HJKMNP-TV-Z]{26}$from?stringStart of the window, RFC 3339, inclusive.
Format
date-timeto?stringEnd of the window, RFC 3339, exclusive.
Format
date-timeThe evidence bundle.
response?fileapplication/zipFormat
binarycurl -X GET 'https://cosign.exchain.network/v1/wallets/wal_01J9XK3M4N5P6Q7R8S9T0V1W2Z/evidence.zip'Example Response
"string"Errors
| Status | Code | Meaning |
|---|---|---|
400 | bad_request | from or to is not RFC 3339. |
401 | unauthorized | The bearer credential is missing, unknown or revoked. |
404 | not_found | The wallet does not exist, this node did not register it, or the read token is for another wallet. |
413 | payload_too_large | The bundle would exceed 50 MB; narrow from and to. |
Every code and what to do about it: Errors and codes.