💠
Transfer ERC721
Use this method to transfer an ERC721 Token from your developer wallet.
You are only able to transfer ERC721 tokens, which is in your developer wallet and the collection use Altura services.
TransferErc721
.Initialize(destroyAtEnd: true)
.SetParameters(
collection_addr: "0x...",
token_id: "10",
to_addr: "0x..."
)
.OnError(error => Debug.Log(error))
.OnComplete(result => Debug.Log(result))
.Run();
.Initialize()
Parameter | Type | Required | Description |
---|---|---|---|
destroyAtEnd | bool | Optional | defines if this component will be destroyed after .Run() |
.SetParameters()
Parameter | Type | Required | Description |
---|---|---|---|
collection_addr | String | Yes | The item's collection address |
token_id | String | Yes | The item's tokenId |
to_addr | String | Yes | The recipient's EVM-compatible address (0x...) |
.onError()
Action on Error: returns error information.
.onComplete()
.Run()
Runs the API call and fills the corresponding model in the component on success.
Last modified 10mo ago