> For the complete documentation index, see [llms.txt](https://docs.sns.id/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sns.id/dev/sns-api/sns-quicknode-api/sns_getregistrationtransaction.md).

# sns\_getRegistrationTransaction

Returns a ready-to-sign, base64-encoded transaction object to register a new SNS domain.

### Parameters <a href="#parameters" id="parameters"></a>

* **domain** `string` *required*: The domain name.
* **buyer** `string` *required*: The base58-encoded Solana public key of the buyer's paying wallet.
* **buyer\_token\_account** `string` *required*: The base58-encoded Solana public key of the buyer's paying token account.
* **space** `integer` *required*: The number of bytes to allocate in the new registered domain.
* **mint** `string` *optional*: The Solana public key of the Token mint used for payment, defaults to `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v` (USDC).
* **referrer\_key** `string` *optional*: The base58-encoded Solana public key of the registration referrer.

### Result <a href="#result" id="result"></a>

The result will be an RPCResponse JSON object with field:

* **result** `string`: The base64-encoded Solana Transaction object.

[<br>](https://sns.guide/sns-quicknode/sns_getFavouriteDomain.html)
