Multisig address: cant see balances

+1 vote

Hello

Im stuck in the Multisignature transactions | MultiChain, not being able to see the balances in response?

 

Where I am:

Section: Issuing an asset to the multisig address

Step: A balance of 10000 units of asset9 should be displayed.

 

commands:

{"method":"grant","params":["4AH1icuhzPVrJCen4jR4utkaxmggtcPuTC9VxF","receive,send"],"id":"80501419-1651530866","chain_name":"mychain"}

c4fd00700217765c5b973d1a22564d74a990f12de5a1b60227529ff8e2afafc3

 

{"method":"issue","params":["4AH1icuhzPVrJCen4jR4utkaxmggtcPuTC9VxF","asset9",10000,0.01],"id":"55113986-1651530867","chain_name":"mychain"}

7e0af9cb922b63d3d845bdca1c28e9d905f420c85cceb1e468c293fa29b25b1c

 

{"method":"getaddressbalances","params":["4AH1icuhzPVrJCen4jR4utkaxmggtcPuTC9VxF",0],"id":"29726554-1651530868","chain_name":"mychain"}

[
] <--nothing in response :(

 

Thank you!

asked May 2, 2022 by marcelo.klein.vieira

1 Answer

0 votes

Most likely is that this multisignature address is not in the node's wallet. In this case it cannot track that address's balance. Did you execute the previous step, which includes the addmultisigaddress command? You can also check the output of listaddresses to see if the multisig address is in the wallet.

answered May 3, 2022 by MultiChain
Yes, I executed in the two nodes, getting same address"4AH1icuhzPVrJCen4jR4utkaxmggtcPuTC9VxF" in response:

{"method":"addmultisigaddress","params":[2,["0380c42974292733d9ee15c09cf40f54fae13b9ef147965bc85df5d522f81adc5c","039fea4f984b87520b09441d4101d810bc9ebc427b4f93e0b537397e35862ff8f3"]],"id":"25735648-1651608930","chain_name":"mychain"}

4AH1icuhzPVrJCen4jR4utkaxmggtcPuTC9VxF



Here are the nodes' addresses:

Node 1:

{"method":"listaddresses","params":[],"id":"47343668-1651609429","chain_name":"mychain"}

[
    {
        "address" : "1UzHHjiq1Q2KH19W752H17oCi94V9KJAcuVJb8",
        "ismine" : true
    },
    {
        "address" : "13AVuLYHLDW6cZwcQByeY2eWSDrSHU2jAddsTw",
        "ismine" : true
    },
    {
        "address" : "1G81KGCxJURZVHXEw59cZ41MtsM2e21d5Jgj58",
        "ismine" : true
    },
    {
        "address" : "1DGos5ztfJvuWkkPJC2AsTZ3jufcKyqd5jAAfv",
        "ismine" : true
    },
    {
        "address" : "4AH1icuhzPVrJCen4jR4utkaxmggtcPuTC9VxF",
        "ismine" : false
    }
]

Node 2:

{"method":"listaddresses","params":[],"id":"72157048-1651609623","chain_name":"mychain"}

[
    {
        "address" : "1M7tRC8KVDuh7am84jcZfZjvFF2h2o9hm5y2E9",
        "ismine" : true
    },
    {
        "address" : "4AH1icuhzPVrJCen4jR4utkaxmggtcPuTC9VxF",
        "ismine" : false
    }
]
Thanks, please let us know which version of MultiChain you are using (and Linux or Windows) and we'll see if we can reproduce the problem.
...