stellar_xdr_encode
Convert JSON data into base64-encoded XDR for any Stellar type, enabling roundtrip compatibility with schema validation and decoding tools.
Instructions
Encode JSON into base64 XDR for a named type (roundtrip with stellar_xdr_json_schema + decode tools).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | ||
| type | Yes | Stellar XDR type name (see stellar_xdr_types), e.g. TransactionEnvelope |