Skip to content

Lesson: 5 With Alchemy I can't recognise the retrieve() method, it throws error Bad-Data #4842

Answered by alymurtazamemon
NodEm9 asked this question in Q&A
Discussion options

You must be logged in to vote

@NodEm9 try this;

 const currentFavoriteNumber = (await contract.retrieve()).toString()

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@paulcoffee85
Comment options

@alymurtazamemon
Comment options

@paulcoffee85
Comment options

@paulcoffee85
Comment options

Answer selected by alymurtazamemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants