Function: decodeAccessProof()
decodeAccessProof(
token):AccessProof
Defined in: proof.ts:276
Decode a proof token produced by encodeAccessProof. Throws on malformed input.
Both gateways apply the same rules (the shared vectors pin them): at most 4096 characters, a 0x + 1–64 hex address, a challenge-shaped nonce, a base64 signature, and — when present — a base58 transaction digest. address is emitted verbatim; canonicalisation is owned gateway-side.
Parameters
token
string
Returns
Throws
if the token is oversized, not base64/JSON, or any field breaks those rules.