Function: decodePreparedTransaction()
ts
function decodePreparedTransaction(preparedTransactionBase64): DecodedTransfer | null;Defined in: packages/x402-core/src/verify/prepared-tx.ts:783
Decode the preparedTransaction blob (base64) into the transfer it authorizes, or null if it can't be decoded or contains no TransferFactory_Transfer exercise. Never throws — an undecodable blob is treated as "no proof of a matching transfer" and rejected upstream.
Parameters
preparedTransactionBase64
string
Returns
DecodedTransfer | null