Created
May 3, 2021 20:33
-
-
Save evandiewald/52398c8402e02ba8e8ad61aa76a62f23 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import NonFungibleTicket from 0xf8d6e0586b0a20c7 | |
pub fun main() : [UInt64] { | |
let acct1 = getAccount(0xf8d6e0586b0a20c7) | |
let capability1 = acct1.getCapability<&{NonFungibleTicket.NFTReceiver}>(/public/NFTReceiver) | |
let receiverRef1 = capability1.borrow() | |
?? panic("Could not borrow the receiver reference") | |
return receiverRef1.getIDs() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment