Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 369 Bytes

ReceiptNFT.md

File metadata and controls

20 lines (12 loc) · 369 Bytes

Solidity API

ReceiptNFT

getReceipt

function getReceipt(uint256 tokenId) external view returns (struct ReceiptNFT.ReceiptData)

Get info (ReceiptData) noted in NFT.

getTokensOfOwner

function getTokensOfOwner(address ownerAddr) public view returns (uint256[] tokens)

Get all tokens owned by user, to be used off-chain.