Skip to content

Lesson7,:TypeError: Wrong argument count for function call: 0 arguments given but expected 1. #893

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

You must be logged in to vote

@Maakai123 getConversionRate methods required two parameters eth amount and price feed address, you are passing eth amount with msg.value but you are not giving price feed address in the parameter.

msg.value.getConversionRate()

And I have formatted your questions so others can easily read it. If you want to convey you problem properly to others so they can help. You should follow the how to ask a question guide?.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@alymurtazamemon
Comment options

@alymurtazamemon
Comment options

@Maakai123
Comment options

@alymurtazamemon
Comment options

@Maakai123
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
2 participants