sip-009-trait-v2
SP222J4M87TFQNN5KBEF17FFRWZKTTRBV7RH8HE3ESource Code
(define-trait nft-trait
(
;; Last token ID, limited to uint range
(get-last-token-id () (response uint uint))
;; URI for the token metadata
(get-token-uri (uint) (response (optional (string-ascii 256)) uint))
;; Owner of a given token identifier
(get-owner (uint) (response (optional principal) uint))
;; Transfer from a sender to a new principal
(transfer (uint principal principal) (response bool uint))
)
)