Skip to main content
Defined in the Base Account SDK
This utility decodes a compressed prolink payload back into a JSON-RPC request object. Use it to validate, inspect, or execute prolinks received from URLs, QR codes, or other sources.

Import

Parameters

string
required
Base64url-encoded prolink payload to decode. This is the string returned by encodeProlink.

Returns

Promise<ProlinkDecoded>
A promise that resolves to the decoded JSON-RPC request.

Examples

Decode wallet_sendCalls

Validate Before Execution

Inspect Spend Permission Request

Extract Capabilities

Decode and Display Transaction Details

encodeProlink

Create prolink payloads from JSON-RPC requests

wallet_sendCalls

Execute decoded transaction batches