💱Transfer SRR Ownership By RevealHash
Executes blockchain transaction to transfer an ownership of an SRR to another Ethereum address.
Transfer With Default Collection
POST
<base_url>/startrail/api/v1/srr/{tokenId}/transferByReveal
Transfer With Custom Collection
POST
<base_url>/startrail/api/v1/srr/{contractAddress}/{tokenId}/transferByReveal
Please replace <base_url>
as explained here.
Transfer SRR to a new owner providing a reveal hash, the hash of matches the commitment given in the approval stage.
Default collection address is not supported in Transfer With Custom Collection
. Please use Transfer With Default Collection
instead.
Path Parameters
Name | Type | Description |
---|---|---|
tokenId* | String | Startrail Registry Record Token ID |
contractAddress | String | The address of collection contract |
Request Body
Name | Type | Description |
---|---|---|
revealHash* | String | The key generated on Port Dashboard in advance for future transfer |
to* | String | Next owner's EOA address. Both lowercase and mixed case which is compatible with EIP55 are accepted |
isIntermediary | Boolean |
Request Body Example
Swagger Endpoint (Test Environment)
Required Permissions
You need to have a Licensed User
You must pass the revealHash which you generated at
approveSRRByCommitment()
via Startrail-Sdk-Js in order to complate transfer
Last updated