Skip to content

跨链交易

zhongjin edited this page Sep 22, 2019 · 6 revisions

准备工作

  • 先根据fork创建指南完成相关的操作,我们下边的操作将基于fork的正常创建和POW的正常出块
  1. POW操作指南:https://github.com/bigbangcore/BigBang/wiki/POW%E6%93%8D%E4%BD%9C%E6%8C%87%E5%8D%97
  2. fork创建指南:https://github.com/bigbangcore/BigBang/wiki/fork创建指南
  3. 可执行程序下载地址(请选择最新版下载):
    https://github.com/bigbangcore/BigBang/releases

列出所有分支

./bigbang listfork
[
    {
        "fork" : "557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783",
        "name" : "BigBangA",
        "symbol" : "BA",
        "isolated" : true,
        "private" : false,
        "enclosed" : false,
        "owner" : "15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28"
    },
    {
        "fork" : "92099485ffec67128fe4dbaca96ed8faf54ccc0b4760cd0d78a3d1e051a2498f",
        "name" : "BigBang Network",
        "symbol" : "BIG",
        "isolated" : true,
        "private" : false,
        "enclosed" : false,
        "owner" : "1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm"
    }
]

当前公链中的Token情况

./bigbang getbalance
[
    {
        "address" : "15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28",
        "avail" : 0.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    },
    {
        "address" : "20g08xexyx0hakeg3sfa7ve6y3skpv19gt15mg3f784q6ejqp5a67xa7q",
        "avail" : 3586.150000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    },
    {
        "address" : "1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm",
        "avail" : 745000000.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    },
    {
        "address" : "20c07j7pt2faqc7xspvz8c2qx1xp2zhsenx1379cjjd9xvrnph1kx8gj8",
        "avail" : 1000.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    }
]

./bigbang getbalance -f=557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783
[
    {
        "address" : "15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28",
        "avail" : 100000000.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    },
    {
        "address" : "20g08xexyx0hakeg3sfa7ve6y3skpv19gt15mg3f784q6ejqp5a67xa7q",
        "avail" : 0.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    },
    {
        "address" : "1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm",
        "avail" : 0.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    },
    {
        "address" : "20c07j7pt2faqc7xspvz8c2qx1xp2zhsenx1379cjjd9xvrnph1kx8gj8",
        "avail" : 0.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    }
]

跨链交易参数准备

# 参与跨链交易的fork1  
fork_m:92099485ffec67128fe4dbaca96ed8faf54ccc0b4760cd0d78a3d1e051a2498f  
# 参与跨链交易的fork2
fork_s:557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783  
# 参与跨链交易的主钱包地址  
addr_m:1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm  
# 参与跨链交易的从钱包地址  
addr_s:15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28  
# 约定的主钱包所在支链锁定的区块高度(不是锁定的数量,所以设置这个值之前,请先查看当前区块高度是多少)  
height_m:200  
# 约定的从钱包所在支链锁定的指定区块高度  
height_s:210  

添加跨链交易模板,返回一个模板地址

./bigbang addnewtemplate exchange "{\"addr_m\":\"1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm\",\"addr_s\":\"15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28\",\"height_m\":200,\"height_s\":210,\"fork_m\":\"92099485ffec67128fe4dbaca96ed8faf54ccc0b4760cd0d78a3d1e051a2498f\",\"fork_s\":\"557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783\"}"  

20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3

交易开始

  • 交易双方朝跨链交易模板地址转账,Token转出地址可以是任意有Token的地址,记得后面要带fork参数-f来指定所操作的是哪一条支链
./bigbang sendfrom 1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm 20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 13.345 1 -f="92099485ffec67128fe4dbaca96ed8faf54ccc0b4760cd0d78a3d1e051a2498f"  
5ce76b63c1d8b3cc62db8b794c51988daa2b45b50043a0099c6975125e19ed05  

./bigbang sendfrom 15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28   20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 9.875 1 -f="557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783"  
5ce76b9825f8a09616c709fc2298cde2ed95631d85e74659a38529c7d5174083

查看交易情况

./bigbang gettransaction 5ce76b63c1d8b3cc62db8b794c51988daa2b45b50043a0099c6975125e19ed05
{
    "transaction" : {
        "txid" : "5ce76b63c1d8b3cc62db8b794c51988daa2b45b50043a0099c6975125e19ed05",
        "version" : 1,
        "type" : "token",
        "time" : 1558670179,
        "lockuntil" : 0,
        "anchor" : "89e0a4ede2b32e670b1f6ed0840b4e04cca0b9aa2cab8314639a5bbfd009d922",
        "vin" : [
            {
                "txid" : "5a586f845d2b565547cc9f03fd98f931bf3a695c103c380f377f56f021485300",
                "vout" : 0
            }
        ],
        "sendto" : "20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3",
        "amount" : 13.345000,
        "txfee" : 1.000000,
        "data" : "",
        "sig" : "99d9b3081a0a11742e0d1b6210f450fa74a9cd1a6f10ce6cfd6ac66d5befb25ef4906120518d7733e77c631ad5669dee672dfb3b5cad96db21cebc236b1d190b",
        "fork" : "92099485ffec67128fe4dbaca96ed8faf54ccc0b4760cd0d78a3d1e051a2498f",
        "confirmations" : 1
    }
}

./bigbang gettransaction 5ce76b9825f8a09616c709fc2298cde2ed95631d85e74659a38529c7d5174083
{
    "transaction" : {
        "txid" : "5ce76b9825f8a09616c709fc2298cde2ed95631d85e74659a38529c7d5174083",
        "version" : 1,
        "type" : "token",
        "time" : 1558670232,
        "lockuntil" : 0,
        "anchor" : "fd29796e92ee4a86588f8667ed654defe72b8fc647f88b959d5544cf49f89fc8",
        "vin" : [
            {
                "txid" : "5ce4ff12391e49080f93136d14da797c900777e37c696b326a23aa6588f332c4",
                "vout" : 0
            }
        ],
        "sendto" : "20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3",
        "amount" : 9.875000,
        "txfee" : 1.000000,
        "data" : "",
        "sig" : "604c27240579d6d236e7fe40a8936a09d8ed1ef66d58a33aaa78f80149875f773b1d0ce88e671b9ce60c4524c15febca5c692168987e1815325f26b40301b302",
        "fork" : "557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783",
        "confirmations" : 0
    }
}

验证跨链交易模板

./bigbang validateaddress 20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3
{
    "isvalid" : true,
    "addressdata" : {
        "address" : "20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3",
        "ismine" : true,
        "type" : "template",
        "template" : "exchange",
        "templatedata" : {
            "type" : "exchange",
            "hex" : "060001498b63009dfb70f7ee0902ba95cc171f7d7a97ff16d89fd96e1f1b9e7d5f91da01e21d19ac52602eca9f9f70f5b43abfff29ed552b3d4f08478f50829c6c3b8c5ac8000000d20000008f49a251e0d1a3780dcd60470bcc4cf5fad86ea9acdbe48f1267ecff8594099283c7bbf3ad21fcef715b73d0a3dbf643b2f25e7248fe4ae194a8698652847355",
            "exchange" : {
                "spend_m" : "1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm",
                "spend_s" : "15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28",
                "height_m" : 200,
                "height_s" : 210,
                "fork_m" : "92099485ffec67128fe4dbaca96ed8faf54ccc0b4760cd0d78a3d1e051a2498f",
                "fork_s" : "557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783"
            }
        }
    }
}

对模板地址签名

  • 使用公钥对模板地址进行签名,此时钱包必须处于打开状态,否则签名不成功。-a这个参数表示是对地址的签名
# 主签名:  

./bigbang unlockkey da915f7d9e1b1f6ed99fd816ff977a7d1f17cc95ba0209eef770fb9d00638b49 123456
./bigbang signmessage da915f7d9e1b1f6ed99fd816ff977a7d1f17cc95ba0209eef770fb9d00638b49 20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 -a
1b8c6b0807472627cec2f77b2a33428539b64493f7f1b9f7be4dfbdee72f9aeb3b5763fa39ce5df2425d8d530698de9c1cea993bccfce6596901b6b8cb054103

# 从签名:  

./bigbang unlockkey 14d39e3a7e7c408eceb8dbb213cfe047bed25aa1e8e317e08c65f3f577f73e2f 123456
./bigbang signmessage 14d39e3a7e7c408eceb8dbb213cfe047bed25aa1e8e317e08c65f3f577f73e2f  20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 -a
a51a925a50a7101ca25c8165050b61421f9e54aad5b0cfb4a4947da82f5fb62fec8e96fb80bd697db33f391bf1f875179d446ac08829f85cf8fe6483ec9acf0c

签名验证

  • 相互验证对方的签名,返回true表示信息无误,-a参数表示该签名是针对地址的
./bigbang verifymessage 14d39e3a7e7c408eceb8dbb213cfe047bed25aa1e8e317e08c65f3f577f73e2f 20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 a51a925a50a7101ca25c8165050b61421f9e54aad5b0cfb4a4947da82f5fb62fec8e96fb80bd697db33f391bf1f875179d446ac08829f85cf8fe6483ec9acf0c -a

./bigbang verifymessage da915f7d9e1b1f6ed99fd816ff977a7d1f17cc95ba0209eef770fb9d00638b49 20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 1b8c6b0807472627cec2f77b2a33428539b64493f7f1b9f7be4dfbdee72f9aeb3b5763fa39ce5df2425d8d530698de9c1cea993bccfce6596901b6b8cb054103 -a

查看存入Token

  • 先看看在我们的跨链交易模板上,参与交易的双方各存入了有多少Token
./bigbang getbalance -a=20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3
[
    {
        "address" : "20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3",
        "avail" : 13.345000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    }
]

./bigbang getbalance -a=20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 -f=557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783
[
    {
        "address" : "20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3",
        "avail" : 9.875000,
        "locked" : 0.000000,
        "unconfirmed" : 9.875000
    }
]

各自取走交易Token

  • 命令:./bigbang sendfrom "模板地址" "钱包地址" "要转走的Token" "交易费" "-sm:主签名 " "-ss:从签名" "-f:交易对方的Token所在的支链hash"
  • 说明:取走的是对方钱包所在支链上的Token
 ./bigbang sendfrom 20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28 13.345 1 -sm="1b8c6b0807472627cec2f77b2a33428539b64493f7f1b9f7be4dfbdee72f9aeb3b5763fa39ce5df2425d8d530698de9c1cea993bccfce6596901b6b8cb054103" -ss="a51a925a50a7101ca25c8165050b61421f9e54aad5b0cfb4a4947da82f5fb62fec8e96fb80bd697db33f391bf1f875179d446ac08829f85cf8fe6483ec9acf0c" -f="92099485ffec67128fe4dbaca96ed8faf54ccc0b4760cd0d78a3d1e051a2498f"
{
    "code" : -401,
    "message" : "Failed to create transaction"
}

  • 注意:将跨链交易模板地址中的钱转走的时候,要注意的一点是——交易费需要在模板地址余额中扣除
./bigbang sendfrom 20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28 12.345 1 -sm="1b8c6b0807472627cec2f77b2a33428539b64493f7f1b9f7be4dfbdee72f9aeb3b5763fa39ce5df2425d8d530698de9c1cea993bccfce6596901b6b8cb054103" -ss="a51a925a50a7101ca25c8165050b61421f9e54aad5b0cfb4a4947da82f5fb62fec8e96fb80bd697db33f391bf1f875179d446ac08829f85cf8fe6483ec9acf0c" -f="92099485ffec67128fe4dbaca96ed8faf54ccc0b4760cd0d78a3d1e051a2498f"
5ce79ba78b44f8710710c8e35b8d3b725c2f994d4038b74fda84f0b061c01a76

  • 查看最后交易情况
./bigbang getbalance -a=15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28
[
    {
        "address" : "15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28",
        "avail" : 12.345000,
        "locked" : 0.000000,
        "unconfirmed" : 12.345000
    }
]

./bigbang getbalance -a=15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28 -f=557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783
[
    {
        "address" : "1w8ehkb2jc0qcn7wze3tv8enzzwmytn9b7n7gghwfa219rv1vhhd82n6h",
        "avail" : 99999989.125000,
        "locked" : 0.000000,
        "unconfirmed" : 99999989.125000
    }
]

  • 另一个用户的转账情况
 ./bigbang sendfrom 20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm 8.875 1 -sm="1b8c6b0807472627cec2f77b2a33428539b64493f7f1b9f7be4dfbdee72f9aeb3b5763fa39ce5df2425d8d530698de9c1cea993bccfce6596901b6b8cb054103" -ss="a51a925a50a7101ca25c8165050b61421f9e54aad5b0cfb4a4947da82f5fb62fec8e96fb80bd697db33f391bf1f875179d446ac08829f85cf8fe6483ec9acf0c" -f="557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783"  
5ce79c872d1aee489291fd97270639a4631014334feb37a5df7fcb27904c0b9f

  • 查看最后交易情况
./bigbang getbalance -a=1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm
[
    {
        "address" : "1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm",
        "avail" : 744999985.655000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    }
]

./bigbang getbalance -a=1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm -f=557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783
[
    {
        "address" : "1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm",
        "avail" : 8.875000,
        "locked" : 0.000000,
        "unconfirmed" : 8.875000
    }
]

查看交易

./bigbang gettransaction 5ce79ba78b44f8710710c8e35b8d3b725c2f994d4038b74fda84f0b061c01a76
{
    "transaction" : {
        "txid" : "5ce79ba78b44f8710710c8e35b8d3b725c2f994d4038b74fda84f0b061c01a76",
        "version" : 1,
        "type" : "token",
        "time" : 1558682535,
        "lockuntil" : 0,
        "anchor" : "c8d7b6d138cc5e6d4871b92f5a6323eb32f02b7d86c1581333968689d929a28b",
        "vin" : [
            {
                "txid" : "5ce76b63c1d8b3cc62db8b794c51988daa2b45b50043a0099c6975125e19ed05",
                "vout" : 0
            }
        ],
        "sendto" : "15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28",
        "amount" : 12.345000,
        "txfee" : 1.000000,
        "data" : "",
        "sig" : "01498b63009dfb70f7ee0902ba95cc171f7d7a97ff16d89fd96e1f1b9e7d5f91da01e21d19ac52602eca9f9f70f5b43abfff29ed552b3d4f08478f50829c6c3b8c5ac8000000d20000008f49a251e0d1a3780dcd60470bcc4cf5fad86ea9acdbe48f1267ecff8594099283c7bbf3ad21fcef715b73d0a3dbf643b2f25e7248fe4ae194a8698652847355400000001b8c6b0807472627cec2f77b2a33428539b64493f7f1b9f7be4dfbdee72f9aeb3b5763fa39ce5df2425d8d530698de9c1cea993bccfce6596901b6b8cb05410340000000a51a925a50a7101ca25c8165050b61421f9e54aad5b0cfb4a4947da82f5fb62fec8e96fb80bd697db33f391bf1f875179d446ac08829f85cf8fe6483ec9acf0c400000008c3fa5efc865e2ad49ce0c48bda370334ba608243229064c21c5719ff06d58b672a753e47367d96c9eda016426bcf7db74e4d0ed4db62c2ecda73875b2307806",
        "fork" : "92099485ffec67128fe4dbaca96ed8faf54ccc0b4760cd0d78a3d1e051a2498f",
        "confirmations" : 1
    }
}

./bigbang gettransaction 5ce79c872d1aee489291fd97270639a4631014334feb37a5df7fcb27904c0b9f
{
    "transaction" : {
        "txid" : "5ce79c872d1aee489291fd97270639a4631014334feb37a5df7fcb27904c0b9f",
        "version" : 1,
        "type" : "token",
        "time" : 1558682759,
        "lockuntil" : 0,
        "anchor" : "76c378a30ec85c1561a30a4ec35f0ab7a9bc03512bbb16aa96ee3432ab22a581",
        "vin" : [
            {
                "txid" : "5ce76b9825f8a09616c709fc2298cde2ed95631d85e74659a38529c7d5174083",
                "vout" : 0
            }
        ],
        "sendto" : "1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm",
        "amount" : 8.875000,
        "txfee" : 1.000000,
        "data" : "",
        "sig" : "01498b63009dfb70f7ee0902ba95cc171f7d7a97ff16d89fd96e1f1b9e7d5f91da01e21d19ac52602eca9f9f70f5b43abfff29ed552b3d4f08478f50829c6c3b8c5ac8000000d20000008f49a251e0d1a3780dcd60470bcc4cf5fad86ea9acdbe48f1267ecff8594099283c7bbf3ad21fcef715b73d0a3dbf643b2f25e7248fe4ae194a8698652847355400000001b8c6b0807472627cec2f77b2a33428539b64493f7f1b9f7be4dfbdee72f9aeb3b5763fa39ce5df2425d8d530698de9c1cea993bccfce6596901b6b8cb05410340000000a51a925a50a7101ca25c8165050b61421f9e54aad5b0cfb4a4947da82f5fb62fec8e96fb80bd697db33f391bf1f875179d446ac08829f85cf8fe6483ec9acf0c4000000049ea84bd8d1bf6735ac141a33a9634b3fb8e222bb03a332ccec5a5a8adfcd32653ee08d84e7069cb91425eea1dd806e69ae50246e0e8e3f13cde7660a3a12e0b",
        "fork" : "557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783",
        "confirmations" : 0
    }
}

交易完成,再次查看交易模板

./bigbang getbalance -a=20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3
[
    {
        "address" : "20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3",
        "avail" : 0.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    }
]

./bigbang getbalance -a=20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3 -f=557384528669a894e14afe48725ef2b243f6dba3d0735b71effc21adf3bbc783
[
    {
        "address" : "20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3",
        "avail" : 0.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    }
]

查看转账后的账户情况

./bigbang getbalance
[
    {
        "address" : "15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28",
        "avail" : 12.345000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    },
    {
        "address" : "1965p604xzdrffvg90ax9bk0q3xyqn5zz2vc9zpbe3wdswzazj7d144mm",
        "avail" : 744999985.655000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    },
    {
        "address" : "20r07rwj0032jssv0d3xaes1kq6z1cvjmz1jwhme0m1jf23vx48v683s3",
        "avail" : 0.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    },
    {
        "address" : "20c07j7pt2faqc7xspvz8c2qx1xp2zhsenx1379cjjd9xvrnph1kx8gj8",
        "avail" : 1000.000000,
        "locked" : 0.000000,
        "unconfirmed" : 0.000000
    }
]

注意事项

Clone this wiki locally