Questions tagged [py-substrate-interface]

Filter by
Sorted by
Tagged with
1 vote
0 answers
14 views

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, ...
CHristian's user avatar
0 votes
1 answer
32 views

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 ...
Pranay's user avatar
  • 141
2 votes
1 answer
81 views

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 ...
BHappy's user avatar
  • 45