Skip to main content

Questions tagged [py-substrate-interface]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Query Tokens.Accounts storage function using py-substrate-interface

I'm trying to fetch asset balances in accounts for various assets using py-substrate-interface. I know I can query the Tokens.Accounts storage function but I'm not sure which params I need to pass to ...
1 vote
0 answers

How do I predict an address given a salt in python?

I have python code that does deploy a few ink! contracts that depend on each other. In order to do this in a batch call, I want to predict the contract address given the salt. How would I do this, ...
2 votes
1 answer

Error calling smart contract with py-substrate-interface

I am using substrate-contracts-node. I've uploaded and instantiated the smart contract. I would like to interact and query the function using py-substrate-interface. However, I ran into an error while ...