| | 1 | | namespace DCL.Helpers.NFT.Markets.OpenSea_Internal |
| | 2 | | { |
| | 3 | | public class RequestAssetSingle : RequestBase<SingleAssetResponse> |
| | 4 | | { |
| 0 | 5 | | public string contractAddress { get; } |
| 0 | 6 | | public string tokenId { get; } |
| 0 | 7 | | public override string requestId => GetId(contractAddress, tokenId); |
| | 8 | |
|
| 0 | 9 | | internal RequestAssetSingle(string contractAddress, string tokenId) |
| | 10 | | { |
| 0 | 11 | | this.contractAddress = contractAddress; |
| 0 | 12 | | this.tokenId = tokenId; |
| 0 | 13 | | } |
| | 14 | |
|
| 0 | 15 | | internal static string GetId(string contractAddress, string tokenId) { return $"{contractAddress}/{tokenId}"; } |
| | 16 | | } |
| | 17 | | } |