Skip to main content

Record instructions

Rust SDK API Reference / Record instructions

These local builders create unsigned SNS Records V2 instructions for a full canonical lowercase .sns domain. They derive the record and domain keys, serialize content where needed, and leave transaction signing and submission to the caller.

APIs

APIDescription
create_record_v2_instructionAllocates and posts a V2 record.
update_record_v2_instructionReplaces V2 record content.
delete_record_v2Deletes a V2 record and refunds rent to the payer.
write_roa_record_v2Writes a Right-of-Association identifier.
validate_record_v2_contentValidates staleness or RoA with a Solana verifier.
eth_validate_record_v2_contentValidates RoA using an Ethereum signature.