Transfer SRR To Ethereum Address
To know the methods calling to Startrail API from Startrail-Sdk-Js
Last updated
To know the methods calling to Startrail API from Startrail-Sdk-Js
Last updated
ยฉ2023 Startbahn, Inc.
transferSRRToEthereumAddress()
Transfer SRR to new owner directly designating etherem address.
Variable | Type | Description |
---|---|---|
Variable | Type | Description |
---|---|---|
Variable | Type | Description |
---|---|---|
Promise
will be returned which resolves with a Response
object upon a successful confirmation. false
will be returned when user flow is cancelled in such a case that a user closes the popup modal.
If the confirmation fails, the Promise
will resolve with an {error} object that describes the failure.
Promise<Response | false>
The use of "txReceiptId" will soon be deprecated and removed.
Custom Error
objects. Refer to the Error Catalogue for possible data.
Variable | Type | Description |
---|---|---|
startrailLUWContractAddress
string
The address of LicensedUserWallet(LUW) contract. Sets it when you want to execute transaction by the LUW contract address
contractAddress
string
The address of collection contract. Sets it when you want to associate collection contract address with the SRR.
to
string
Address to transfer for ownership to.
metadata
TransferMetadata
SRR Transfer Metadata conforming to Transfer Data schema
isIntermediary
boolean
Intermediary flag used by startbahn to trigger a transaction. - defaults to false
transferType
string
Select one of the followings "Primary sale", "Secondary sale", "Other transferโ
remarks
Lang
Write down whatever relevant to transfer ownership
customHistoryId
number
Custom History Id that is already registered in Startrail
ja
string
Japanse text
en
string
English text
txReceiptId
string
ID to identify transaction details in Startrail-API DB.