Skip to main content

Record V1 codecs

Rust SDK API Reference / Record V1 codecs

These local codecs and verifier handle legacy SNS Records V1 payloads without RPC. They select fixed-width binary encodings for address records and UTF-8 or punycode encodings for applicable textual records.

APIs

APIDescription
get_record_sizeReturns the fixed binary width for a record type.
deserialize_recordDecodes and validates a V1 record payload.
serialize_recordEncodes content for a V1 record payload.
check_sol_recordVerifies a legacy SOL record signature.