stellar_xdr_json_schema
Get a Draft-7 JSON Schema for any Stellar XDR type to validate or structure data for stellar_xdr_encode. Specify the type name, such as TransactionEnvelope, to retrieve the schema.
Instructions
Return Draft-7 JSON Schema for a Stellar XDR type (use with stellar_xdr_encode).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Stellar XDR type name (see stellar_xdr_types), e.g. TransactionEnvelope |