💱Transfer SRR Ownership By RevealHash

Executes blockchain transaction to transfer an ownership of an SRR to another Ethereum address.

POST <base_url>/startrail/api/v1/srr/{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.

Path Parameters

NameTypeDescription

tokenId*

String

Startrail Registry Record Token ID

Request Body

NameTypeDescription

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

{
  "txReceiptId": 0
}

Request Body Example

{
  "revealHash": "0x335929a4e59b0860ec04c620c1284dace74c00f7eadaadce7a18d6deba6c544e",
  "to": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
  "isIntermediary": false
}

Swagger Endpoint (Test Environment)

Swagger to test

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

©2023 Startbahn, Inc.