stellar_xdr_encode
Encode JSON into base64 XDR for any Stellar type using the type's JSON schema, enabling roundtrip with decode and schema 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 |
|---|---|---|---|
| type | Yes | Stellar XDR type name (see stellar_xdr_types), e.g. TransactionEnvelope | |
| json | Yes |