sns_getRegistrationTransaction
Returns a ready-to-sign, base64-encoded transaction object to register a new SNS domain.
Parameters
- domain
stringrequired: The domain name. - buyer
stringrequired: The base58-encoded Solana public key of the buyer's paying wallet. - buyer_token_account
stringrequired: The base58-encoded Solana public key of the buyer's paying token account. - space
integerrequired: The number of bytes to allocate in the new registered domain. - mint
stringoptional: The Solana public key of the Token mint used for payment, defaults toEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v(USDC). - referrer_key
stringoptional: The base58-encoded Solana public key of the registration referrer.
Result
The result will be an RPCResponse JSON object with field:
- result
string: The base64-encoded Solana Transaction object.