what's the use of address in contractQuery params #75
Closed
dellwatson
started this conversation in
General
Replies: 1 comment 2 replies
-
It's the sender address, not the contract address. Also, it's optional and you can just pass an empty string (could be better typed, I agree). It's just to stay aligned with the polkadot.js |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As the title said,
contractQuery(api, address, contract, method, options?, args?):
the contract itself already has address, then what's the use of address here in this fnction again?
if there's no address in the contracts list, it goes stale instead of using the address from contractQuery level
Beta Was this translation helpful? Give feedback.
All reactions