Get details of an asset
Sends a REST-API call to ImmutableX
to get details of an asset. This function requires input as follows:
- URL 1 : The URL to send the request to.
- TokenAddress 2 :
Required
Address of the ERC721 contract. - TokenId 3 :
Required
Either ERC721 token ID or internal IMX ID. - IncludeFees 4 : Set flag to include fees associated with the asset.
The returned Response 5 is a struct that holds the response data for the HTTP request sent to ImmutableX
.
note
If Success is True it only means that there was no error on the data transport layer (HTTP). You also need to check the response body to determine the actual outcome of the call.