[{"data":1,"prerenderedAt":3316},["Reactive",2],{"content-query-fgLFjcyEJo":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":7,"body":9,"_type":3311,"_id":3312,"_source":3313,"_file":3314,"_extension":3315},"/docs/core-tech/adding-support-for-beam-confidential-asset","core-tech",false,"","Adding support for Beam Confidential Asset",{"type":10,"children":11,"toc":3305},"root",[12,20,27,176,182,197,204,3299],{"type":13,"tag":14,"props":15,"children":17},"element","h1",{"id":16},"adding-support-for-beam-confidential-asset",[18],{"type":19,"value":8},"text",{"type":13,"tag":21,"props":22,"children":24},"h2",{"id":23},"tldr",[25],{"type":19,"value":26},"TLDR;",{"type":13,"tag":28,"props":29,"children":30},"ol",{},[31,37,51,65,87,123],{"type":13,"tag":32,"props":33,"children":34},"li",{},[35],{"type":19,"value":36},"In version 6.0 Beam supports Confidential Assets",{"type":13,"tag":32,"props":38,"children":39},{},[40,42,49],{"type":19,"value":41},"Each asset has an ",{"type":13,"tag":43,"props":44,"children":46},"code",{"className":45},[],[47],{"type":19,"value":48},"asset_id",{"type":19,"value":50},", 0 is for Beam and 1,2,3... for new Assets.",{"type":13,"tag":32,"props":52,"children":53},{},[54,56],{"type":19,"value":55},"A complete list of existing assets is ",{"type":13,"tag":57,"props":58,"children":62},"a",{"href":59,"rel":60},"https://explorer.beam.mw/assets",[61],"nofollow",[63],{"type":19,"value":64},"here",{"type":13,"tag":32,"props":66,"children":67},{},[68,70,76,78],{"type":19,"value":69},"To enable assets add the following line to the ",{"type":13,"tag":43,"props":71,"children":73},{"className":72},[],[74],{"type":19,"value":75},"wallet-api",{"type":19,"value":77}," config file",{"type":13,"tag":79,"props":80,"children":82},"pre",{"code":81},"enable_assets=true\n",[83],{"type":13,"tag":43,"props":84,"children":85},{"__ignoreMap":7},[86],{"type":19,"value":81},{"type":13,"tag":32,"props":88,"children":89},{},[90,92],{"type":19,"value":91},"The following API calls have been updated to support assets:",{"type":13,"tag":93,"props":94,"children":95},"ul",{},[96,105,114],{"type":13,"tag":32,"props":97,"children":98},{},[99],{"type":13,"tag":43,"props":100,"children":102},{"className":101},[],[103],{"type":19,"value":104},"wallet_status",{"type":13,"tag":32,"props":106,"children":107},{},[108],{"type":13,"tag":43,"props":109,"children":111},{"className":110},[],[112],{"type":19,"value":113},"tx_send",{"type":13,"tag":32,"props":115,"children":116},{},[117],{"type":13,"tag":43,"props":118,"children":120},{"className":119},[],[121],{"type":19,"value":122},"tx_split",{"type":13,"tag":32,"props":124,"children":125},{},[126,128],{"type":19,"value":127},"New API methods have been added",{"type":13,"tag":93,"props":129,"children":130},{},[131,140,149,158,167],{"type":13,"tag":32,"props":132,"children":133},{},[134],{"type":13,"tag":43,"props":135,"children":137},{"className":136},[],[138],{"type":19,"value":139},"tx_asset_issue",{"type":13,"tag":32,"props":141,"children":142},{},[143],{"type":13,"tag":43,"props":144,"children":146},{"className":145},[],[147],{"type":19,"value":148},"tx_asset_consume",{"type":13,"tag":32,"props":150,"children":151},{},[152],{"type":13,"tag":43,"props":153,"children":155},{"className":154},[],[156],{"type":19,"value":157},"tx_asset_info",{"type":13,"tag":32,"props":159,"children":160},{},[161],{"type":13,"tag":43,"props":162,"children":164},{"className":163},[],[165],{"type":19,"value":166},"get_asset_info",{"type":13,"tag":32,"props":168,"children":169},{},[170],{"type":13,"tag":43,"props":171,"children":173},{"className":172},[],[174],{"type":19,"value":175},"calc_change",{"type":13,"tag":21,"props":177,"children":179},{"id":178},"confidential-assets",[180],{"type":19,"value":181},"Confidential Assets",{"type":13,"tag":183,"props":184,"children":185},"p",{},[186,188,195],{"type":19,"value":187},"Confidential Assets (CA) are tokens mint on the Beam blockchain. Beam supports Confidential Assets since hard fork 2, but this feature had limited ability to be used in real life applications. Starting from the version 6.0 Beam Wallet adds ability to create smart contracts which make CA more usable and very important feature in Beam infrastructure. We already have ",{"type":13,"tag":57,"props":189,"children":192},{"href":190,"rel":191},"https://github.com/BeamMW/beam/wiki/Beam-wallet-protocol-API#assets-support",[61],[193],{"type":19,"value":194},"API",{"type":19,"value":196}," to work with CA, but it was disabled by default. If you wish to accept and create transactions with CA you should enable this feature in the wallet API and update your codebase to handle CA correctly.",{"type":13,"tag":198,"props":199,"children":201},"h3",{"id":200},"enable-ca-support",[202],{"type":19,"value":203},"Enable CA support",{"type":13,"tag":93,"props":205,"children":206},{},[207,241,1085,1344,1589,2112,2440,2755],{"type":13,"tag":32,"props":208,"children":209},{},[210,212,218,220,228,232,234],{"type":19,"value":211},"run new binary with ",{"type":13,"tag":43,"props":213,"children":215},{"className":214},[],[216],{"type":19,"value":217},"--enable_assets",{"type":19,"value":219},". With this flag your wallet starts to accept transactions with Confidential Assets",{"type":13,"tag":79,"props":221,"children":223},{"code":222},"./wallet-api --enable_assets -n \u003Cnode address>\n",[224],{"type":13,"tag":43,"props":225,"children":226},{"__ignoreMap":7},[227],{"type":19,"value":222},{"type":13,"tag":229,"props":230,"children":231},"br",{},[],{"type":19,"value":233},"or specify it in config file",{"type":13,"tag":79,"props":235,"children":236},{"code":81},[237],{"type":13,"tag":43,"props":238,"children":239},{"__ignoreMap":7},[240],{"type":19,"value":81},{"type":13,"tag":32,"props":242,"children":243},{},[244,246,251,253,256,262,360,363,369],{"type":19,"value":245},"to retrieve info about assets use ",{"type":13,"tag":43,"props":247,"children":249},{"className":248},[],[250],{"type":19,"value":104},{"type":19,"value":252}," method, it will return an array of the info about assets in the wallet, including BEAM",{"type":13,"tag":229,"props":254,"children":255},{},[],{"type":13,"tag":43,"props":257,"children":259},{"className":258},[],[260],{"type":19,"value":261},"-->",{"type":13,"tag":79,"props":263,"children":267},{"code":264,"language":265,"meta":7,"className":266,"style":7},"{\n    \"jsonrpc\":\"2.0\", \n    \"id\": 6,\n    \"method\":\"wallet_status\"\n}\n","json","language-json shiki shiki-themes github-dark",[268],{"type":13,"tag":43,"props":269,"children":270},{"__ignoreMap":7},[271,283,309,333,351],{"type":13,"tag":272,"props":273,"children":276},"span",{"class":274,"line":275},"line",1,[277],{"type":13,"tag":272,"props":278,"children":280},{"style":279},"--shiki-default:#E1E4E8",[281],{"type":19,"value":282},"{\n",{"type":13,"tag":272,"props":284,"children":286},{"class":274,"line":285},2,[287,293,298,304],{"type":13,"tag":272,"props":288,"children":290},{"style":289},"--shiki-default:#79B8FF",[291],{"type":19,"value":292},"    \"jsonrpc\"",{"type":13,"tag":272,"props":294,"children":295},{"style":279},[296],{"type":19,"value":297},":",{"type":13,"tag":272,"props":299,"children":301},{"style":300},"--shiki-default:#9ECBFF",[302],{"type":19,"value":303},"\"2.0\"",{"type":13,"tag":272,"props":305,"children":306},{"style":279},[307],{"type":19,"value":308},", \n",{"type":13,"tag":272,"props":310,"children":312},{"class":274,"line":311},3,[313,318,323,328],{"type":13,"tag":272,"props":314,"children":315},{"style":289},[316],{"type":19,"value":317},"    \"id\"",{"type":13,"tag":272,"props":319,"children":320},{"style":279},[321],{"type":19,"value":322},": ",{"type":13,"tag":272,"props":324,"children":325},{"style":289},[326],{"type":19,"value":327},"6",{"type":13,"tag":272,"props":329,"children":330},{"style":279},[331],{"type":19,"value":332},",\n",{"type":13,"tag":272,"props":334,"children":336},{"class":274,"line":335},4,[337,342,346],{"type":13,"tag":272,"props":338,"children":339},{"style":289},[340],{"type":19,"value":341},"    \"method\"",{"type":13,"tag":272,"props":343,"children":344},{"style":279},[345],{"type":19,"value":297},{"type":13,"tag":272,"props":347,"children":348},{"style":300},[349],{"type":19,"value":350},"\"wallet_status\"\n",{"type":13,"tag":272,"props":352,"children":354},{"class":274,"line":353},5,[355],{"type":13,"tag":272,"props":356,"children":357},{"style":279},[358],{"type":19,"value":359},"}\n",{"type":13,"tag":229,"props":361,"children":362},{},[],{"type":13,"tag":43,"props":364,"children":366},{"className":365},[],[367],{"type":19,"value":368},"\u003C--",{"type":13,"tag":79,"props":370,"children":372},{"code":371,"language":265,"meta":7,"className":266,"style":7},"{\n  \"id\": 1236,\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"current_height\": 112,\n    \"current_state_hash\": \"b9e8b868de60f28e553a1499a569f481991e4cff9fe2191d09d71a03c7708296\",\n    \"difficulty\": 378.36236572265625,\n    \"prev_state_hash\": \"3f84da0b0390deaca908603b6061867def987575a1af9311248ffb01503a0f02\",\n    \"available\": 303000000000,\n    \"receiving\": 123,\n    \"sending\": 0,\n    \"maturing\": 8000000000,\n    \"locked\": 30,\n    \"totals\": [\n      {\n        \"asset_id\": 0,\n        \"available\": 303000000000,\n        \"available_str\": \"303000000000\",\n        \"maturing\": 8000000000,\n        \"maturing_str\": \"8000000000\",\n        \"receiving\": 123,\n        \"receiving_str\": \"123\",\n        \"sending\": 0,\n        \"sending_str\": \"0\"\n      },\n      {\n        \"asset_id\": 1,                    // \u003C--------------- this could be used to send/split CA or to retrieve extended info\n        \"available\": 2000000000,\n        \"available_str\": \"2000000000\",\n        \"maturing\": 0,\n        \"maturing_str\": \"0\",\n        \"receiving\": 0,\n        \"receiving_str\": \"0\",\n        \"sending\": 0,\n        \"sending_str\": \"0\"\n      }\n    ]\n  }\n}\n",[373],{"type":13,"tag":43,"props":374,"children":375},{"__ignoreMap":7},[376,383,404,424,437,458,480,502,524,546,568,590,612,634,648,657,678,699,721,742,764,785,807,828,846,855,863,891,912,933,953,974,994,1014,1034,1050,1059,1068,1077],{"type":13,"tag":272,"props":377,"children":378},{"class":274,"line":275},[379],{"type":13,"tag":272,"props":380,"children":381},{"style":279},[382],{"type":19,"value":282},{"type":13,"tag":272,"props":384,"children":385},{"class":274,"line":285},[386,391,395,400],{"type":13,"tag":272,"props":387,"children":388},{"style":289},[389],{"type":19,"value":390},"  \"id\"",{"type":13,"tag":272,"props":392,"children":393},{"style":279},[394],{"type":19,"value":322},{"type":13,"tag":272,"props":396,"children":397},{"style":289},[398],{"type":19,"value":399},"1236",{"type":13,"tag":272,"props":401,"children":402},{"style":279},[403],{"type":19,"value":332},{"type":13,"tag":272,"props":405,"children":406},{"class":274,"line":311},[407,412,416,420],{"type":13,"tag":272,"props":408,"children":409},{"style":289},[410],{"type":19,"value":411},"  \"jsonrpc\"",{"type":13,"tag":272,"props":413,"children":414},{"style":279},[415],{"type":19,"value":322},{"type":13,"tag":272,"props":417,"children":418},{"style":300},[419],{"type":19,"value":303},{"type":13,"tag":272,"props":421,"children":422},{"style":279},[423],{"type":19,"value":332},{"type":13,"tag":272,"props":425,"children":426},{"class":274,"line":335},[427,432],{"type":13,"tag":272,"props":428,"children":429},{"style":289},[430],{"type":19,"value":431},"  \"result\"",{"type":13,"tag":272,"props":433,"children":434},{"style":279},[435],{"type":19,"value":436},": {\n",{"type":13,"tag":272,"props":438,"children":439},{"class":274,"line":353},[440,445,449,454],{"type":13,"tag":272,"props":441,"children":442},{"style":289},[443],{"type":19,"value":444},"    \"current_height\"",{"type":13,"tag":272,"props":446,"children":447},{"style":279},[448],{"type":19,"value":322},{"type":13,"tag":272,"props":450,"children":451},{"style":289},[452],{"type":19,"value":453},"112",{"type":13,"tag":272,"props":455,"children":456},{"style":279},[457],{"type":19,"value":332},{"type":13,"tag":272,"props":459,"children":461},{"class":274,"line":460},6,[462,467,471,476],{"type":13,"tag":272,"props":463,"children":464},{"style":289},[465],{"type":19,"value":466},"    \"current_state_hash\"",{"type":13,"tag":272,"props":468,"children":469},{"style":279},[470],{"type":19,"value":322},{"type":13,"tag":272,"props":472,"children":473},{"style":300},[474],{"type":19,"value":475},"\"b9e8b868de60f28e553a1499a569f481991e4cff9fe2191d09d71a03c7708296\"",{"type":13,"tag":272,"props":477,"children":478},{"style":279},[479],{"type":19,"value":332},{"type":13,"tag":272,"props":481,"children":483},{"class":274,"line":482},7,[484,489,493,498],{"type":13,"tag":272,"props":485,"children":486},{"style":289},[487],{"type":19,"value":488},"    \"difficulty\"",{"type":13,"tag":272,"props":490,"children":491},{"style":279},[492],{"type":19,"value":322},{"type":13,"tag":272,"props":494,"children":495},{"style":289},[496],{"type":19,"value":497},"378.36236572265625",{"type":13,"tag":272,"props":499,"children":500},{"style":279},[501],{"type":19,"value":332},{"type":13,"tag":272,"props":503,"children":505},{"class":274,"line":504},8,[506,511,515,520],{"type":13,"tag":272,"props":507,"children":508},{"style":289},[509],{"type":19,"value":510},"    \"prev_state_hash\"",{"type":13,"tag":272,"props":512,"children":513},{"style":279},[514],{"type":19,"value":322},{"type":13,"tag":272,"props":516,"children":517},{"style":300},[518],{"type":19,"value":519},"\"3f84da0b0390deaca908603b6061867def987575a1af9311248ffb01503a0f02\"",{"type":13,"tag":272,"props":521,"children":522},{"style":279},[523],{"type":19,"value":332},{"type":13,"tag":272,"props":525,"children":527},{"class":274,"line":526},9,[528,533,537,542],{"type":13,"tag":272,"props":529,"children":530},{"style":289},[531],{"type":19,"value":532},"    \"available\"",{"type":13,"tag":272,"props":534,"children":535},{"style":279},[536],{"type":19,"value":322},{"type":13,"tag":272,"props":538,"children":539},{"style":289},[540],{"type":19,"value":541},"303000000000",{"type":13,"tag":272,"props":543,"children":544},{"style":279},[545],{"type":19,"value":332},{"type":13,"tag":272,"props":547,"children":549},{"class":274,"line":548},10,[550,555,559,564],{"type":13,"tag":272,"props":551,"children":552},{"style":289},[553],{"type":19,"value":554},"    \"receiving\"",{"type":13,"tag":272,"props":556,"children":557},{"style":279},[558],{"type":19,"value":322},{"type":13,"tag":272,"props":560,"children":561},{"style":289},[562],{"type":19,"value":563},"123",{"type":13,"tag":272,"props":565,"children":566},{"style":279},[567],{"type":19,"value":332},{"type":13,"tag":272,"props":569,"children":571},{"class":274,"line":570},11,[572,577,581,586],{"type":13,"tag":272,"props":573,"children":574},{"style":289},[575],{"type":19,"value":576},"    \"sending\"",{"type":13,"tag":272,"props":578,"children":579},{"style":279},[580],{"type":19,"value":322},{"type":13,"tag":272,"props":582,"children":583},{"style":289},[584],{"type":19,"value":585},"0",{"type":13,"tag":272,"props":587,"children":588},{"style":279},[589],{"type":19,"value":332},{"type":13,"tag":272,"props":591,"children":593},{"class":274,"line":592},12,[594,599,603,608],{"type":13,"tag":272,"props":595,"children":596},{"style":289},[597],{"type":19,"value":598},"    \"maturing\"",{"type":13,"tag":272,"props":600,"children":601},{"style":279},[602],{"type":19,"value":322},{"type":13,"tag":272,"props":604,"children":605},{"style":289},[606],{"type":19,"value":607},"8000000000",{"type":13,"tag":272,"props":609,"children":610},{"style":279},[611],{"type":19,"value":332},{"type":13,"tag":272,"props":613,"children":615},{"class":274,"line":614},13,[616,621,625,630],{"type":13,"tag":272,"props":617,"children":618},{"style":289},[619],{"type":19,"value":620},"    \"locked\"",{"type":13,"tag":272,"props":622,"children":623},{"style":279},[624],{"type":19,"value":322},{"type":13,"tag":272,"props":626,"children":627},{"style":289},[628],{"type":19,"value":629},"30",{"type":13,"tag":272,"props":631,"children":632},{"style":279},[633],{"type":19,"value":332},{"type":13,"tag":272,"props":635,"children":637},{"class":274,"line":636},14,[638,643],{"type":13,"tag":272,"props":639,"children":640},{"style":289},[641],{"type":19,"value":642},"    \"totals\"",{"type":13,"tag":272,"props":644,"children":645},{"style":279},[646],{"type":19,"value":647},": [\n",{"type":13,"tag":272,"props":649,"children":651},{"class":274,"line":650},15,[652],{"type":13,"tag":272,"props":653,"children":654},{"style":279},[655],{"type":19,"value":656},"      {\n",{"type":13,"tag":272,"props":658,"children":660},{"class":274,"line":659},16,[661,666,670,674],{"type":13,"tag":272,"props":662,"children":663},{"style":289},[664],{"type":19,"value":665},"        \"asset_id\"",{"type":13,"tag":272,"props":667,"children":668},{"style":279},[669],{"type":19,"value":322},{"type":13,"tag":272,"props":671,"children":672},{"style":289},[673],{"type":19,"value":585},{"type":13,"tag":272,"props":675,"children":676},{"style":279},[677],{"type":19,"value":332},{"type":13,"tag":272,"props":679,"children":681},{"class":274,"line":680},17,[682,687,691,695],{"type":13,"tag":272,"props":683,"children":684},{"style":289},[685],{"type":19,"value":686},"        \"available\"",{"type":13,"tag":272,"props":688,"children":689},{"style":279},[690],{"type":19,"value":322},{"type":13,"tag":272,"props":692,"children":693},{"style":289},[694],{"type":19,"value":541},{"type":13,"tag":272,"props":696,"children":697},{"style":279},[698],{"type":19,"value":332},{"type":13,"tag":272,"props":700,"children":702},{"class":274,"line":701},18,[703,708,712,717],{"type":13,"tag":272,"props":704,"children":705},{"style":289},[706],{"type":19,"value":707},"        \"available_str\"",{"type":13,"tag":272,"props":709,"children":710},{"style":279},[711],{"type":19,"value":322},{"type":13,"tag":272,"props":713,"children":714},{"style":300},[715],{"type":19,"value":716},"\"303000000000\"",{"type":13,"tag":272,"props":718,"children":719},{"style":279},[720],{"type":19,"value":332},{"type":13,"tag":272,"props":722,"children":724},{"class":274,"line":723},19,[725,730,734,738],{"type":13,"tag":272,"props":726,"children":727},{"style":289},[728],{"type":19,"value":729},"        \"maturing\"",{"type":13,"tag":272,"props":731,"children":732},{"style":279},[733],{"type":19,"value":322},{"type":13,"tag":272,"props":735,"children":736},{"style":289},[737],{"type":19,"value":607},{"type":13,"tag":272,"props":739,"children":740},{"style":279},[741],{"type":19,"value":332},{"type":13,"tag":272,"props":743,"children":745},{"class":274,"line":744},20,[746,751,755,760],{"type":13,"tag":272,"props":747,"children":748},{"style":289},[749],{"type":19,"value":750},"        \"maturing_str\"",{"type":13,"tag":272,"props":752,"children":753},{"style":279},[754],{"type":19,"value":322},{"type":13,"tag":272,"props":756,"children":757},{"style":300},[758],{"type":19,"value":759},"\"8000000000\"",{"type":13,"tag":272,"props":761,"children":762},{"style":279},[763],{"type":19,"value":332},{"type":13,"tag":272,"props":765,"children":767},{"class":274,"line":766},21,[768,773,777,781],{"type":13,"tag":272,"props":769,"children":770},{"style":289},[771],{"type":19,"value":772},"        \"receiving\"",{"type":13,"tag":272,"props":774,"children":775},{"style":279},[776],{"type":19,"value":322},{"type":13,"tag":272,"props":778,"children":779},{"style":289},[780],{"type":19,"value":563},{"type":13,"tag":272,"props":782,"children":783},{"style":279},[784],{"type":19,"value":332},{"type":13,"tag":272,"props":786,"children":788},{"class":274,"line":787},22,[789,794,798,803],{"type":13,"tag":272,"props":790,"children":791},{"style":289},[792],{"type":19,"value":793},"        \"receiving_str\"",{"type":13,"tag":272,"props":795,"children":796},{"style":279},[797],{"type":19,"value":322},{"type":13,"tag":272,"props":799,"children":800},{"style":300},[801],{"type":19,"value":802},"\"123\"",{"type":13,"tag":272,"props":804,"children":805},{"style":279},[806],{"type":19,"value":332},{"type":13,"tag":272,"props":808,"children":810},{"class":274,"line":809},23,[811,816,820,824],{"type":13,"tag":272,"props":812,"children":813},{"style":289},[814],{"type":19,"value":815},"        \"sending\"",{"type":13,"tag":272,"props":817,"children":818},{"style":279},[819],{"type":19,"value":322},{"type":13,"tag":272,"props":821,"children":822},{"style":289},[823],{"type":19,"value":585},{"type":13,"tag":272,"props":825,"children":826},{"style":279},[827],{"type":19,"value":332},{"type":13,"tag":272,"props":829,"children":831},{"class":274,"line":830},24,[832,837,841],{"type":13,"tag":272,"props":833,"children":834},{"style":289},[835],{"type":19,"value":836},"        \"sending_str\"",{"type":13,"tag":272,"props":838,"children":839},{"style":279},[840],{"type":19,"value":322},{"type":13,"tag":272,"props":842,"children":843},{"style":300},[844],{"type":19,"value":845},"\"0\"\n",{"type":13,"tag":272,"props":847,"children":849},{"class":274,"line":848},25,[850],{"type":13,"tag":272,"props":851,"children":852},{"style":279},[853],{"type":19,"value":854},"      },\n",{"type":13,"tag":272,"props":856,"children":858},{"class":274,"line":857},26,[859],{"type":13,"tag":272,"props":860,"children":861},{"style":279},[862],{"type":19,"value":656},{"type":13,"tag":272,"props":864,"children":866},{"class":274,"line":865},27,[867,871,875,880,885],{"type":13,"tag":272,"props":868,"children":869},{"style":289},[870],{"type":19,"value":665},{"type":13,"tag":272,"props":872,"children":873},{"style":279},[874],{"type":19,"value":322},{"type":13,"tag":272,"props":876,"children":877},{"style":289},[878],{"type":19,"value":879},"1",{"type":13,"tag":272,"props":881,"children":882},{"style":279},[883],{"type":19,"value":884},",                    ",{"type":13,"tag":272,"props":886,"children":888},{"style":887},"--shiki-default:#6A737D",[889],{"type":19,"value":890},"// \u003C--------------- this could be used to send/split CA or to retrieve extended info\n",{"type":13,"tag":272,"props":892,"children":894},{"class":274,"line":893},28,[895,899,903,908],{"type":13,"tag":272,"props":896,"children":897},{"style":289},[898],{"type":19,"value":686},{"type":13,"tag":272,"props":900,"children":901},{"style":279},[902],{"type":19,"value":322},{"type":13,"tag":272,"props":904,"children":905},{"style":289},[906],{"type":19,"value":907},"2000000000",{"type":13,"tag":272,"props":909,"children":910},{"style":279},[911],{"type":19,"value":332},{"type":13,"tag":272,"props":913,"children":915},{"class":274,"line":914},29,[916,920,924,929],{"type":13,"tag":272,"props":917,"children":918},{"style":289},[919],{"type":19,"value":707},{"type":13,"tag":272,"props":921,"children":922},{"style":279},[923],{"type":19,"value":322},{"type":13,"tag":272,"props":925,"children":926},{"style":300},[927],{"type":19,"value":928},"\"2000000000\"",{"type":13,"tag":272,"props":930,"children":931},{"style":279},[932],{"type":19,"value":332},{"type":13,"tag":272,"props":934,"children":936},{"class":274,"line":935},30,[937,941,945,949],{"type":13,"tag":272,"props":938,"children":939},{"style":289},[940],{"type":19,"value":729},{"type":13,"tag":272,"props":942,"children":943},{"style":279},[944],{"type":19,"value":322},{"type":13,"tag":272,"props":946,"children":947},{"style":289},[948],{"type":19,"value":585},{"type":13,"tag":272,"props":950,"children":951},{"style":279},[952],{"type":19,"value":332},{"type":13,"tag":272,"props":954,"children":956},{"class":274,"line":955},31,[957,961,965,970],{"type":13,"tag":272,"props":958,"children":959},{"style":289},[960],{"type":19,"value":750},{"type":13,"tag":272,"props":962,"children":963},{"style":279},[964],{"type":19,"value":322},{"type":13,"tag":272,"props":966,"children":967},{"style":300},[968],{"type":19,"value":969},"\"0\"",{"type":13,"tag":272,"props":971,"children":972},{"style":279},[973],{"type":19,"value":332},{"type":13,"tag":272,"props":975,"children":977},{"class":274,"line":976},32,[978,982,986,990],{"type":13,"tag":272,"props":979,"children":980},{"style":289},[981],{"type":19,"value":772},{"type":13,"tag":272,"props":983,"children":984},{"style":279},[985],{"type":19,"value":322},{"type":13,"tag":272,"props":987,"children":988},{"style":289},[989],{"type":19,"value":585},{"type":13,"tag":272,"props":991,"children":992},{"style":279},[993],{"type":19,"value":332},{"type":13,"tag":272,"props":995,"children":997},{"class":274,"line":996},33,[998,1002,1006,1010],{"type":13,"tag":272,"props":999,"children":1000},{"style":289},[1001],{"type":19,"value":793},{"type":13,"tag":272,"props":1003,"children":1004},{"style":279},[1005],{"type":19,"value":322},{"type":13,"tag":272,"props":1007,"children":1008},{"style":300},[1009],{"type":19,"value":969},{"type":13,"tag":272,"props":1011,"children":1012},{"style":279},[1013],{"type":19,"value":332},{"type":13,"tag":272,"props":1015,"children":1017},{"class":274,"line":1016},34,[1018,1022,1026,1030],{"type":13,"tag":272,"props":1019,"children":1020},{"style":289},[1021],{"type":19,"value":815},{"type":13,"tag":272,"props":1023,"children":1024},{"style":279},[1025],{"type":19,"value":322},{"type":13,"tag":272,"props":1027,"children":1028},{"style":289},[1029],{"type":19,"value":585},{"type":13,"tag":272,"props":1031,"children":1032},{"style":279},[1033],{"type":19,"value":332},{"type":13,"tag":272,"props":1035,"children":1037},{"class":274,"line":1036},35,[1038,1042,1046],{"type":13,"tag":272,"props":1039,"children":1040},{"style":289},[1041],{"type":19,"value":836},{"type":13,"tag":272,"props":1043,"children":1044},{"style":279},[1045],{"type":19,"value":322},{"type":13,"tag":272,"props":1047,"children":1048},{"style":300},[1049],{"type":19,"value":845},{"type":13,"tag":272,"props":1051,"children":1053},{"class":274,"line":1052},36,[1054],{"type":13,"tag":272,"props":1055,"children":1056},{"style":279},[1057],{"type":19,"value":1058},"      }\n",{"type":13,"tag":272,"props":1060,"children":1062},{"class":274,"line":1061},37,[1063],{"type":13,"tag":272,"props":1064,"children":1065},{"style":279},[1066],{"type":19,"value":1067},"    ]\n",{"type":13,"tag":272,"props":1069,"children":1071},{"class":274,"line":1070},38,[1072],{"type":13,"tag":272,"props":1073,"children":1074},{"style":279},[1075],{"type":19,"value":1076},"  }\n",{"type":13,"tag":272,"props":1078,"children":1080},{"class":274,"line":1079},39,[1081],{"type":13,"tag":272,"props":1082,"children":1083},{"style":279},[1084],{"type":19,"value":359},{"type":13,"tag":32,"props":1086,"children":1087},{},[1088,1090,1096,1098,1101,1106],{"type":19,"value":1089},"if you want to send or split CA you should specify ",{"type":13,"tag":43,"props":1091,"children":1093},{"className":1092},[],[1094],{"type":19,"value":1095},"\"asset_id\"",{"type":19,"value":1097}," in parameters",{"type":13,"tag":229,"props":1099,"children":1100},{},[],{"type":13,"tag":43,"props":1102,"children":1104},{"className":1103},[],[1105],{"type":19,"value":261},{"type":13,"tag":79,"props":1107,"children":1109},{"code":1108,"language":265,"meta":7,"className":266,"style":7},"{\n    \"jsonrpc\":\"2.0\", \n    \"id\": 2,\n    \"method\":\"tx_send\", \n    \"params\":\n    {\n        \"value\": 12342342,\n        \"fee\": 2,\n        \"from\": \"472e17b0419055ffee3b3813b98ae671579b0ac0dcd6f1a23b11a75ab148cc67\",\n        \"address\": \"472e17b0419055ffee3b3813b98ae671579b0ac0dcd6f1a23b11a75ab148cc67\",\n        \"comment\": \"thank you!\",\n        \"asset_id\": 1                   \u003C------------------ NEW\n    }\n}\n",[1110],{"type":13,"tag":43,"props":1111,"children":1112},{"__ignoreMap":7},[1113,1120,1139,1159,1179,1192,1200,1221,1241,1262,1282,1303,1329,1337],{"type":13,"tag":272,"props":1114,"children":1115},{"class":274,"line":275},[1116],{"type":13,"tag":272,"props":1117,"children":1118},{"style":279},[1119],{"type":19,"value":282},{"type":13,"tag":272,"props":1121,"children":1122},{"class":274,"line":285},[1123,1127,1131,1135],{"type":13,"tag":272,"props":1124,"children":1125},{"style":289},[1126],{"type":19,"value":292},{"type":13,"tag":272,"props":1128,"children":1129},{"style":279},[1130],{"type":19,"value":297},{"type":13,"tag":272,"props":1132,"children":1133},{"style":300},[1134],{"type":19,"value":303},{"type":13,"tag":272,"props":1136,"children":1137},{"style":279},[1138],{"type":19,"value":308},{"type":13,"tag":272,"props":1140,"children":1141},{"class":274,"line":311},[1142,1146,1150,1155],{"type":13,"tag":272,"props":1143,"children":1144},{"style":289},[1145],{"type":19,"value":317},{"type":13,"tag":272,"props":1147,"children":1148},{"style":279},[1149],{"type":19,"value":322},{"type":13,"tag":272,"props":1151,"children":1152},{"style":289},[1153],{"type":19,"value":1154},"2",{"type":13,"tag":272,"props":1156,"children":1157},{"style":279},[1158],{"type":19,"value":332},{"type":13,"tag":272,"props":1160,"children":1161},{"class":274,"line":335},[1162,1166,1170,1175],{"type":13,"tag":272,"props":1163,"children":1164},{"style":289},[1165],{"type":19,"value":341},{"type":13,"tag":272,"props":1167,"children":1168},{"style":279},[1169],{"type":19,"value":297},{"type":13,"tag":272,"props":1171,"children":1172},{"style":300},[1173],{"type":19,"value":1174},"\"tx_send\"",{"type":13,"tag":272,"props":1176,"children":1177},{"style":279},[1178],{"type":19,"value":308},{"type":13,"tag":272,"props":1180,"children":1181},{"class":274,"line":353},[1182,1187],{"type":13,"tag":272,"props":1183,"children":1184},{"style":289},[1185],{"type":19,"value":1186},"    \"params\"",{"type":13,"tag":272,"props":1188,"children":1189},{"style":279},[1190],{"type":19,"value":1191},":\n",{"type":13,"tag":272,"props":1193,"children":1194},{"class":274,"line":460},[1195],{"type":13,"tag":272,"props":1196,"children":1197},{"style":279},[1198],{"type":19,"value":1199},"    {\n",{"type":13,"tag":272,"props":1201,"children":1202},{"class":274,"line":482},[1203,1208,1212,1217],{"type":13,"tag":272,"props":1204,"children":1205},{"style":289},[1206],{"type":19,"value":1207},"        \"value\"",{"type":13,"tag":272,"props":1209,"children":1210},{"style":279},[1211],{"type":19,"value":322},{"type":13,"tag":272,"props":1213,"children":1214},{"style":289},[1215],{"type":19,"value":1216},"12342342",{"type":13,"tag":272,"props":1218,"children":1219},{"style":279},[1220],{"type":19,"value":332},{"type":13,"tag":272,"props":1222,"children":1223},{"class":274,"line":504},[1224,1229,1233,1237],{"type":13,"tag":272,"props":1225,"children":1226},{"style":289},[1227],{"type":19,"value":1228},"        \"fee\"",{"type":13,"tag":272,"props":1230,"children":1231},{"style":279},[1232],{"type":19,"value":322},{"type":13,"tag":272,"props":1234,"children":1235},{"style":289},[1236],{"type":19,"value":1154},{"type":13,"tag":272,"props":1238,"children":1239},{"style":279},[1240],{"type":19,"value":332},{"type":13,"tag":272,"props":1242,"children":1243},{"class":274,"line":526},[1244,1249,1253,1258],{"type":13,"tag":272,"props":1245,"children":1246},{"style":289},[1247],{"type":19,"value":1248},"        \"from\"",{"type":13,"tag":272,"props":1250,"children":1251},{"style":279},[1252],{"type":19,"value":322},{"type":13,"tag":272,"props":1254,"children":1255},{"style":300},[1256],{"type":19,"value":1257},"\"472e17b0419055ffee3b3813b98ae671579b0ac0dcd6f1a23b11a75ab148cc67\"",{"type":13,"tag":272,"props":1259,"children":1260},{"style":279},[1261],{"type":19,"value":332},{"type":13,"tag":272,"props":1263,"children":1264},{"class":274,"line":548},[1265,1270,1274,1278],{"type":13,"tag":272,"props":1266,"children":1267},{"style":289},[1268],{"type":19,"value":1269},"        \"address\"",{"type":13,"tag":272,"props":1271,"children":1272},{"style":279},[1273],{"type":19,"value":322},{"type":13,"tag":272,"props":1275,"children":1276},{"style":300},[1277],{"type":19,"value":1257},{"type":13,"tag":272,"props":1279,"children":1280},{"style":279},[1281],{"type":19,"value":332},{"type":13,"tag":272,"props":1283,"children":1284},{"class":274,"line":570},[1285,1290,1294,1299],{"type":13,"tag":272,"props":1286,"children":1287},{"style":289},[1288],{"type":19,"value":1289},"        \"comment\"",{"type":13,"tag":272,"props":1291,"children":1292},{"style":279},[1293],{"type":19,"value":322},{"type":13,"tag":272,"props":1295,"children":1296},{"style":300},[1297],{"type":19,"value":1298},"\"thank you!\"",{"type":13,"tag":272,"props":1300,"children":1301},{"style":279},[1302],{"type":19,"value":332},{"type":13,"tag":272,"props":1304,"children":1305},{"class":274,"line":592},[1306,1310,1314,1318,1324],{"type":13,"tag":272,"props":1307,"children":1308},{"style":289},[1309],{"type":19,"value":665},{"type":13,"tag":272,"props":1311,"children":1312},{"style":279},[1313],{"type":19,"value":322},{"type":13,"tag":272,"props":1315,"children":1316},{"style":289},[1317],{"type":19,"value":879},{"type":13,"tag":272,"props":1319,"children":1321},{"style":1320},"--shiki-default:#FDAEB7;--shiki-default-font-style:italic",[1322],{"type":19,"value":1323},"                   \u003C------------------",{"type":13,"tag":272,"props":1325,"children":1326},{"style":1320},[1327],{"type":19,"value":1328}," NEW\n",{"type":13,"tag":272,"props":1330,"children":1331},{"class":274,"line":614},[1332],{"type":13,"tag":272,"props":1333,"children":1334},{"style":279},[1335],{"type":19,"value":1336},"    }\n",{"type":13,"tag":272,"props":1338,"children":1339},{"class":274,"line":636},[1340],{"type":13,"tag":272,"props":1341,"children":1342},{"style":279},[1343],{"type":19,"value":359},{"type":13,"tag":32,"props":1345,"children":1346},{},[1347,1349,1352,1357,1478,1481,1486],{"type":19,"value":1348},"if you want to get info about CA use",{"type":13,"tag":229,"props":1350,"children":1351},{},[],{"type":13,"tag":43,"props":1353,"children":1355},{"className":1354},[],[1356],{"type":19,"value":261},{"type":13,"tag":79,"props":1358,"children":1360},{"code":1359,"language":265,"meta":7,"className":266,"style":7},"{\n    \"jsonrpc\":\"2.0\", \n    \"id\": 2,\n    \"method\": \"tx_asset_info\",\n    \"params\": \n    {\n        \"asset_id\": 1\n    }\n}\n",[1361],{"type":13,"tag":43,"props":1362,"children":1363},{"__ignoreMap":7},[1364,1371,1390,1409,1429,1441,1448,1464,1471],{"type":13,"tag":272,"props":1365,"children":1366},{"class":274,"line":275},[1367],{"type":13,"tag":272,"props":1368,"children":1369},{"style":279},[1370],{"type":19,"value":282},{"type":13,"tag":272,"props":1372,"children":1373},{"class":274,"line":285},[1374,1378,1382,1386],{"type":13,"tag":272,"props":1375,"children":1376},{"style":289},[1377],{"type":19,"value":292},{"type":13,"tag":272,"props":1379,"children":1380},{"style":279},[1381],{"type":19,"value":297},{"type":13,"tag":272,"props":1383,"children":1384},{"style":300},[1385],{"type":19,"value":303},{"type":13,"tag":272,"props":1387,"children":1388},{"style":279},[1389],{"type":19,"value":308},{"type":13,"tag":272,"props":1391,"children":1392},{"class":274,"line":311},[1393,1397,1401,1405],{"type":13,"tag":272,"props":1394,"children":1395},{"style":289},[1396],{"type":19,"value":317},{"type":13,"tag":272,"props":1398,"children":1399},{"style":279},[1400],{"type":19,"value":322},{"type":13,"tag":272,"props":1402,"children":1403},{"style":289},[1404],{"type":19,"value":1154},{"type":13,"tag":272,"props":1406,"children":1407},{"style":279},[1408],{"type":19,"value":332},{"type":13,"tag":272,"props":1410,"children":1411},{"class":274,"line":335},[1412,1416,1420,1425],{"type":13,"tag":272,"props":1413,"children":1414},{"style":289},[1415],{"type":19,"value":341},{"type":13,"tag":272,"props":1417,"children":1418},{"style":279},[1419],{"type":19,"value":322},{"type":13,"tag":272,"props":1421,"children":1422},{"style":300},[1423],{"type":19,"value":1424},"\"tx_asset_info\"",{"type":13,"tag":272,"props":1426,"children":1427},{"style":279},[1428],{"type":19,"value":332},{"type":13,"tag":272,"props":1430,"children":1431},{"class":274,"line":353},[1432,1436],{"type":13,"tag":272,"props":1433,"children":1434},{"style":289},[1435],{"type":19,"value":1186},{"type":13,"tag":272,"props":1437,"children":1438},{"style":279},[1439],{"type":19,"value":1440},": \n",{"type":13,"tag":272,"props":1442,"children":1443},{"class":274,"line":460},[1444],{"type":13,"tag":272,"props":1445,"children":1446},{"style":279},[1447],{"type":19,"value":1199},{"type":13,"tag":272,"props":1449,"children":1450},{"class":274,"line":482},[1451,1455,1459],{"type":13,"tag":272,"props":1452,"children":1453},{"style":289},[1454],{"type":19,"value":665},{"type":13,"tag":272,"props":1456,"children":1457},{"style":279},[1458],{"type":19,"value":322},{"type":13,"tag":272,"props":1460,"children":1461},{"style":289},[1462],{"type":19,"value":1463},"1\n",{"type":13,"tag":272,"props":1465,"children":1466},{"class":274,"line":504},[1467],{"type":13,"tag":272,"props":1468,"children":1469},{"style":279},[1470],{"type":19,"value":1336},{"type":13,"tag":272,"props":1472,"children":1473},{"class":274,"line":526},[1474],{"type":13,"tag":272,"props":1475,"children":1476},{"style":279},[1477],{"type":19,"value":359},{"type":13,"tag":229,"props":1479,"children":1480},{},[],{"type":13,"tag":43,"props":1482,"children":1484},{"className":1483},[],[1485],{"type":19,"value":368},{"type":13,"tag":79,"props":1487,"children":1489},{"code":1488,"language":265,"meta":7,"className":266,"style":7},"{\n    \"jsonrpc\":\"2.0\", \n    \"id\": 2,\n    \"result\":\n    {\n        \"txId\" : \"10c4b760c842433cb58339a0fafef3db\"\n    }\n}\n",[1490],{"type":13,"tag":43,"props":1491,"children":1492},{"__ignoreMap":7},[1493,1500,1519,1538,1550,1557,1575,1582],{"type":13,"tag":272,"props":1494,"children":1495},{"class":274,"line":275},[1496],{"type":13,"tag":272,"props":1497,"children":1498},{"style":279},[1499],{"type":19,"value":282},{"type":13,"tag":272,"props":1501,"children":1502},{"class":274,"line":285},[1503,1507,1511,1515],{"type":13,"tag":272,"props":1504,"children":1505},{"style":289},[1506],{"type":19,"value":292},{"type":13,"tag":272,"props":1508,"children":1509},{"style":279},[1510],{"type":19,"value":297},{"type":13,"tag":272,"props":1512,"children":1513},{"style":300},[1514],{"type":19,"value":303},{"type":13,"tag":272,"props":1516,"children":1517},{"style":279},[1518],{"type":19,"value":308},{"type":13,"tag":272,"props":1520,"children":1521},{"class":274,"line":311},[1522,1526,1530,1534],{"type":13,"tag":272,"props":1523,"children":1524},{"style":289},[1525],{"type":19,"value":317},{"type":13,"tag":272,"props":1527,"children":1528},{"style":279},[1529],{"type":19,"value":322},{"type":13,"tag":272,"props":1531,"children":1532},{"style":289},[1533],{"type":19,"value":1154},{"type":13,"tag":272,"props":1535,"children":1536},{"style":279},[1537],{"type":19,"value":332},{"type":13,"tag":272,"props":1539,"children":1540},{"class":274,"line":335},[1541,1546],{"type":13,"tag":272,"props":1542,"children":1543},{"style":289},[1544],{"type":19,"value":1545},"    \"result\"",{"type":13,"tag":272,"props":1547,"children":1548},{"style":279},[1549],{"type":19,"value":1191},{"type":13,"tag":272,"props":1551,"children":1552},{"class":274,"line":353},[1553],{"type":13,"tag":272,"props":1554,"children":1555},{"style":279},[1556],{"type":19,"value":1199},{"type":13,"tag":272,"props":1558,"children":1559},{"class":274,"line":460},[1560,1565,1570],{"type":13,"tag":272,"props":1561,"children":1562},{"style":289},[1563],{"type":19,"value":1564},"        \"txId\"",{"type":13,"tag":272,"props":1566,"children":1567},{"style":279},[1568],{"type":19,"value":1569}," : ",{"type":13,"tag":272,"props":1571,"children":1572},{"style":300},[1573],{"type":19,"value":1574},"\"10c4b760c842433cb58339a0fafef3db\"\n",{"type":13,"tag":272,"props":1576,"children":1577},{"class":274,"line":482},[1578],{"type":13,"tag":272,"props":1579,"children":1580},{"style":279},[1581],{"type":19,"value":1336},{"type":13,"tag":272,"props":1583,"children":1584},{"class":274,"line":504},[1585],{"type":13,"tag":272,"props":1586,"children":1587},{"style":279},[1588],{"type":19,"value":359},{"type":13,"tag":32,"props":1590,"children":1591},{},[1592,1594,1597,1602,1722,1735,1738,1743,1986,1989,1991,1997,1999],{"type":19,"value":1593},"after this transaction become completed, you can read CA info from the local database",{"type":13,"tag":229,"props":1595,"children":1596},{},[],{"type":13,"tag":43,"props":1598,"children":1600},{"className":1599},[],[1601],{"type":19,"value":261},{"type":13,"tag":79,"props":1603,"children":1605},{"code":1604,"language":265,"meta":7,"className":266,"style":7},"{\n    \"jsonrpc\":\"2.0\", \n    \"id\": 6,\n    \"method\": \"get_asset_info\",\n    \"params\" :\n    {\n        \"asset_id\": 1\n    }\n}\n",[1606],{"type":13,"tag":43,"props":1607,"children":1608},{"__ignoreMap":7},[1609,1616,1635,1654,1674,1686,1693,1708,1715],{"type":13,"tag":272,"props":1610,"children":1611},{"class":274,"line":275},[1612],{"type":13,"tag":272,"props":1613,"children":1614},{"style":279},[1615],{"type":19,"value":282},{"type":13,"tag":272,"props":1617,"children":1618},{"class":274,"line":285},[1619,1623,1627,1631],{"type":13,"tag":272,"props":1620,"children":1621},{"style":289},[1622],{"type":19,"value":292},{"type":13,"tag":272,"props":1624,"children":1625},{"style":279},[1626],{"type":19,"value":297},{"type":13,"tag":272,"props":1628,"children":1629},{"style":300},[1630],{"type":19,"value":303},{"type":13,"tag":272,"props":1632,"children":1633},{"style":279},[1634],{"type":19,"value":308},{"type":13,"tag":272,"props":1636,"children":1637},{"class":274,"line":311},[1638,1642,1646,1650],{"type":13,"tag":272,"props":1639,"children":1640},{"style":289},[1641],{"type":19,"value":317},{"type":13,"tag":272,"props":1643,"children":1644},{"style":279},[1645],{"type":19,"value":322},{"type":13,"tag":272,"props":1647,"children":1648},{"style":289},[1649],{"type":19,"value":327},{"type":13,"tag":272,"props":1651,"children":1652},{"style":279},[1653],{"type":19,"value":332},{"type":13,"tag":272,"props":1655,"children":1656},{"class":274,"line":335},[1657,1661,1665,1670],{"type":13,"tag":272,"props":1658,"children":1659},{"style":289},[1660],{"type":19,"value":341},{"type":13,"tag":272,"props":1662,"children":1663},{"style":279},[1664],{"type":19,"value":322},{"type":13,"tag":272,"props":1666,"children":1667},{"style":300},[1668],{"type":19,"value":1669},"\"get_asset_info\"",{"type":13,"tag":272,"props":1671,"children":1672},{"style":279},[1673],{"type":19,"value":332},{"type":13,"tag":272,"props":1675,"children":1676},{"class":274,"line":353},[1677,1681],{"type":13,"tag":272,"props":1678,"children":1679},{"style":289},[1680],{"type":19,"value":1186},{"type":13,"tag":272,"props":1682,"children":1683},{"style":279},[1684],{"type":19,"value":1685}," :\n",{"type":13,"tag":272,"props":1687,"children":1688},{"class":274,"line":460},[1689],{"type":13,"tag":272,"props":1690,"children":1691},{"style":279},[1692],{"type":19,"value":1199},{"type":13,"tag":272,"props":1694,"children":1695},{"class":274,"line":482},[1696,1700,1704],{"type":13,"tag":272,"props":1697,"children":1698},{"style":289},[1699],{"type":19,"value":665},{"type":13,"tag":272,"props":1701,"children":1702},{"style":279},[1703],{"type":19,"value":322},{"type":13,"tag":272,"props":1705,"children":1706},{"style":289},[1707],{"type":19,"value":1463},{"type":13,"tag":272,"props":1709,"children":1710},{"class":274,"line":504},[1711],{"type":13,"tag":272,"props":1712,"children":1713},{"style":279},[1714],{"type":19,"value":1336},{"type":13,"tag":272,"props":1716,"children":1717},{"class":274,"line":526},[1718],{"type":13,"tag":272,"props":1719,"children":1720},{"style":279},[1721],{"type":19,"value":359},{"type":13,"tag":93,"props":1723,"children":1724},{},[1725],{"type":13,"tag":32,"props":1726,"children":1727},{},[1728,1733],{"type":13,"tag":43,"props":1729,"children":1731},{"className":1730},[],[1732],{"type":19,"value":48},{"type":19,"value":1734}," asset id to retrieve info about. Can be used for any asset even if you don't own it.",{"type":13,"tag":229,"props":1736,"children":1737},{},[],{"type":13,"tag":43,"props":1739,"children":1741},{"className":1740},[],[1742],{"type":19,"value":368},{"type":13,"tag":79,"props":1744,"children":1746},{"code":1745,"language":265,"meta":7,"className":266,"style":7},"{\n    \"id\": 1236,\n    \"jsonrpc\": \"2.0\",\n    \"result\": \n    {\n        \"asset_id\": 1,\n        \"emission\": 2000000000,\n        \"emission_str\": \"2000000000\",\n        \"isOwned\": 1,\n        \"lockHeight\": 39,\n        \"metadata\": \"STD:N=NAME;SN=SNM;UN=UNIT;NTHUN=NTHUNIT\",\n        \"ownerId\": \"0ae08a49e018e98177774294107dc033790b87538e54a20e99c6b98f1dbd39ce\",\n        \"refreshHeight\": 927\n    }\n}\n",[1747],{"type":13,"tag":43,"props":1748,"children":1749},{"__ignoreMap":7},[1750,1757,1776,1795,1806,1813,1832,1852,1872,1892,1913,1934,1955,1972,1979],{"type":13,"tag":272,"props":1751,"children":1752},{"class":274,"line":275},[1753],{"type":13,"tag":272,"props":1754,"children":1755},{"style":279},[1756],{"type":19,"value":282},{"type":13,"tag":272,"props":1758,"children":1759},{"class":274,"line":285},[1760,1764,1768,1772],{"type":13,"tag":272,"props":1761,"children":1762},{"style":289},[1763],{"type":19,"value":317},{"type":13,"tag":272,"props":1765,"children":1766},{"style":279},[1767],{"type":19,"value":322},{"type":13,"tag":272,"props":1769,"children":1770},{"style":289},[1771],{"type":19,"value":399},{"type":13,"tag":272,"props":1773,"children":1774},{"style":279},[1775],{"type":19,"value":332},{"type":13,"tag":272,"props":1777,"children":1778},{"class":274,"line":311},[1779,1783,1787,1791],{"type":13,"tag":272,"props":1780,"children":1781},{"style":289},[1782],{"type":19,"value":292},{"type":13,"tag":272,"props":1784,"children":1785},{"style":279},[1786],{"type":19,"value":322},{"type":13,"tag":272,"props":1788,"children":1789},{"style":300},[1790],{"type":19,"value":303},{"type":13,"tag":272,"props":1792,"children":1793},{"style":279},[1794],{"type":19,"value":332},{"type":13,"tag":272,"props":1796,"children":1797},{"class":274,"line":335},[1798,1802],{"type":13,"tag":272,"props":1799,"children":1800},{"style":289},[1801],{"type":19,"value":1545},{"type":13,"tag":272,"props":1803,"children":1804},{"style":279},[1805],{"type":19,"value":1440},{"type":13,"tag":272,"props":1807,"children":1808},{"class":274,"line":353},[1809],{"type":13,"tag":272,"props":1810,"children":1811},{"style":279},[1812],{"type":19,"value":1199},{"type":13,"tag":272,"props":1814,"children":1815},{"class":274,"line":460},[1816,1820,1824,1828],{"type":13,"tag":272,"props":1817,"children":1818},{"style":289},[1819],{"type":19,"value":665},{"type":13,"tag":272,"props":1821,"children":1822},{"style":279},[1823],{"type":19,"value":322},{"type":13,"tag":272,"props":1825,"children":1826},{"style":289},[1827],{"type":19,"value":879},{"type":13,"tag":272,"props":1829,"children":1830},{"style":279},[1831],{"type":19,"value":332},{"type":13,"tag":272,"props":1833,"children":1834},{"class":274,"line":482},[1835,1840,1844,1848],{"type":13,"tag":272,"props":1836,"children":1837},{"style":289},[1838],{"type":19,"value":1839},"        \"emission\"",{"type":13,"tag":272,"props":1841,"children":1842},{"style":279},[1843],{"type":19,"value":322},{"type":13,"tag":272,"props":1845,"children":1846},{"style":289},[1847],{"type":19,"value":907},{"type":13,"tag":272,"props":1849,"children":1850},{"style":279},[1851],{"type":19,"value":332},{"type":13,"tag":272,"props":1853,"children":1854},{"class":274,"line":504},[1855,1860,1864,1868],{"type":13,"tag":272,"props":1856,"children":1857},{"style":289},[1858],{"type":19,"value":1859},"        \"emission_str\"",{"type":13,"tag":272,"props":1861,"children":1862},{"style":279},[1863],{"type":19,"value":322},{"type":13,"tag":272,"props":1865,"children":1866},{"style":300},[1867],{"type":19,"value":928},{"type":13,"tag":272,"props":1869,"children":1870},{"style":279},[1871],{"type":19,"value":332},{"type":13,"tag":272,"props":1873,"children":1874},{"class":274,"line":526},[1875,1880,1884,1888],{"type":13,"tag":272,"props":1876,"children":1877},{"style":289},[1878],{"type":19,"value":1879},"        \"isOwned\"",{"type":13,"tag":272,"props":1881,"children":1882},{"style":279},[1883],{"type":19,"value":322},{"type":13,"tag":272,"props":1885,"children":1886},{"style":289},[1887],{"type":19,"value":879},{"type":13,"tag":272,"props":1889,"children":1890},{"style":279},[1891],{"type":19,"value":332},{"type":13,"tag":272,"props":1893,"children":1894},{"class":274,"line":548},[1895,1900,1904,1909],{"type":13,"tag":272,"props":1896,"children":1897},{"style":289},[1898],{"type":19,"value":1899},"        \"lockHeight\"",{"type":13,"tag":272,"props":1901,"children":1902},{"style":279},[1903],{"type":19,"value":322},{"type":13,"tag":272,"props":1905,"children":1906},{"style":289},[1907],{"type":19,"value":1908},"39",{"type":13,"tag":272,"props":1910,"children":1911},{"style":279},[1912],{"type":19,"value":332},{"type":13,"tag":272,"props":1914,"children":1915},{"class":274,"line":570},[1916,1921,1925,1930],{"type":13,"tag":272,"props":1917,"children":1918},{"style":289},[1919],{"type":19,"value":1920},"        \"metadata\"",{"type":13,"tag":272,"props":1922,"children":1923},{"style":279},[1924],{"type":19,"value":322},{"type":13,"tag":272,"props":1926,"children":1927},{"style":300},[1928],{"type":19,"value":1929},"\"STD:N=NAME;SN=SNM;UN=UNIT;NTHUN=NTHUNIT\"",{"type":13,"tag":272,"props":1931,"children":1932},{"style":279},[1933],{"type":19,"value":332},{"type":13,"tag":272,"props":1935,"children":1936},{"class":274,"line":592},[1937,1942,1946,1951],{"type":13,"tag":272,"props":1938,"children":1939},{"style":289},[1940],{"type":19,"value":1941},"        \"ownerId\"",{"type":13,"tag":272,"props":1943,"children":1944},{"style":279},[1945],{"type":19,"value":322},{"type":13,"tag":272,"props":1947,"children":1948},{"style":300},[1949],{"type":19,"value":1950},"\"0ae08a49e018e98177774294107dc033790b87538e54a20e99c6b98f1dbd39ce\"",{"type":13,"tag":272,"props":1952,"children":1953},{"style":279},[1954],{"type":19,"value":332},{"type":13,"tag":272,"props":1956,"children":1957},{"class":274,"line":614},[1958,1963,1967],{"type":13,"tag":272,"props":1959,"children":1960},{"style":289},[1961],{"type":19,"value":1962},"        \"refreshHeight\"",{"type":13,"tag":272,"props":1964,"children":1965},{"style":279},[1966],{"type":19,"value":322},{"type":13,"tag":272,"props":1968,"children":1969},{"style":289},[1970],{"type":19,"value":1971},"927\n",{"type":13,"tag":272,"props":1973,"children":1974},{"class":274,"line":636},[1975],{"type":13,"tag":272,"props":1976,"children":1977},{"style":279},[1978],{"type":19,"value":1336},{"type":13,"tag":272,"props":1980,"children":1981},{"class":274,"line":650},[1982],{"type":13,"tag":272,"props":1983,"children":1984},{"style":279},[1985],{"type":19,"value":359},{"type":13,"tag":229,"props":1987,"children":1988},{},[],{"type":19,"value":1990},"Returns full asset info or ",{"type":13,"tag":57,"props":1992,"children":1994},{"href":1993},"#Errors",[1995],{"type":19,"value":1996},"error code",{"type":19,"value":1998},".",{"type":13,"tag":93,"props":2000,"children":2001},{},[2002,2012,2023,2072,2083,2094],{"type":13,"tag":32,"props":2003,"children":2004},{},[2005,2010],{"type":13,"tag":43,"props":2006,"children":2008},{"className":2007},[],[2009],{"type":19,"value":48},{"type":19,"value":2011}," asset id",{"type":13,"tag":32,"props":2013,"children":2014},{},[2015,2021],{"type":13,"tag":43,"props":2016,"children":2018},{"className":2017},[],[2019],{"type":19,"value":2020},"metadata",{"type":19,"value":2022}," asset metadata",{"type":13,"tag":32,"props":2024,"children":2025},{},[2026,2032,2034,2040,2042,2048,2050,2056,2058,2063,2065,2070],{"type":13,"tag":43,"props":2027,"children":2029},{"className":2028},[],[2030],{"type":19,"value":2031},"emission",{"type":19,"value":2033}," & ",{"type":13,"tag":43,"props":2035,"children":2037},{"className":2036},[],[2038],{"type":19,"value":2039},"emission_str",{"type":19,"value":2041}," total asset emission. Maximum asset emission is 2",{"type":13,"tag":2043,"props":2044,"children":2045},"sup",{},[2046],{"type":19,"value":2047},"128",{"type":19,"value":2049},"-1. To ensure compatibility with JavaScript raw number returned only if it is less than or equal to ",{"type":13,"tag":43,"props":2051,"children":2053},{"className":2052},[],[2054],{"type":19,"value":2055},"Number.MAX_SAFE_INTEGER",{"type":19,"value":2057}," (2",{"type":13,"tag":2043,"props":2059,"children":2060},{},[2061],{"type":19,"value":2062},"53",{"type":19,"value":2064},"-1). If asset emission is greater than ",{"type":13,"tag":43,"props":2066,"children":2068},{"className":2067},[],[2069],{"type":19,"value":2055},{"type":19,"value":2071}," only corresponding string representation is returned.",{"type":13,"tag":32,"props":2073,"children":2074},{},[2075,2081],{"type":13,"tag":43,"props":2076,"children":2078},{"className":2077},[],[2079],{"type":19,"value":2080},"isOwned",{"type":19,"value":2082}," is 1 if you own this asset",{"type":13,"tag":32,"props":2084,"children":2085},{},[2086,2092],{"type":13,"tag":43,"props":2087,"children":2089},{"className":2088},[],[2090],{"type":19,"value":2091},"lockHeight",{"type":19,"value":2093}," last block when asset emission turned to/from 0.",{"type":13,"tag":32,"props":2095,"children":2096},{},[2097,2103,2105,2110],{"type":13,"tag":43,"props":2098,"children":2100},{"className":2099},[],[2101],{"type":19,"value":2102},"refreshHeight",{"type":19,"value":2104}," block at which asset information has been received. Please note, that all returned fields are valid only for this and previous blocks. In next blocks emission might change, asset become unregistered &c. Use ",{"type":13,"tag":57,"props":2106,"children":2108},{"href":2107},"#tx_asset_info",[2109],{"type":19,"value":157},{"type":19,"value":2111}," to retrieve the most recent info.",{"type":13,"tag":32,"props":2113,"children":2114},{},[2115,2117,2122,2124,2129,2131,2134,2139,2277,2323,2326,2331,2430,2433,2435,2439],{"type":19,"value":2116},"For minting new asset coins use ",{"type":13,"tag":43,"props":2118,"children":2120},{"className":2119},[],[2121],{"type":19,"value":139},{"type":19,"value":2123},". You must own the asset and info about the asset should be in a local database. ",{"type":13,"tag":43,"props":2125,"children":2127},{"className":2126},[],[2128],{"type":19,"value":157},{"type":19,"value":2130}," to retrieve the latest asset info if necessary. Asset minting is free. You need to pay only regular transaction fee.",{"type":13,"tag":229,"props":2132,"children":2133},{},[],{"type":13,"tag":43,"props":2135,"children":2137},{"className":2136},[],[2138],{"type":19,"value":261},{"type":13,"tag":79,"props":2140,"children":2142},{"code":2141,"language":265,"meta":7,"className":266,"style":7},"{\n    \"jsonrpc\": \"2.0\", \n    \"id\": 2,\n    \"method\": \"tx_asset_issue\", \n    \"params\":\n    {\n        \"value\": 6,\n        \"asset_id\": 1\n    }\n}\n",[2143],{"type":13,"tag":43,"props":2144,"children":2145},{"__ignoreMap":7},[2146,2153,2172,2191,2211,2222,2229,2248,2263,2270],{"type":13,"tag":272,"props":2147,"children":2148},{"class":274,"line":275},[2149],{"type":13,"tag":272,"props":2150,"children":2151},{"style":279},[2152],{"type":19,"value":282},{"type":13,"tag":272,"props":2154,"children":2155},{"class":274,"line":285},[2156,2160,2164,2168],{"type":13,"tag":272,"props":2157,"children":2158},{"style":289},[2159],{"type":19,"value":292},{"type":13,"tag":272,"props":2161,"children":2162},{"style":279},[2163],{"type":19,"value":322},{"type":13,"tag":272,"props":2165,"children":2166},{"style":300},[2167],{"type":19,"value":303},{"type":13,"tag":272,"props":2169,"children":2170},{"style":279},[2171],{"type":19,"value":308},{"type":13,"tag":272,"props":2173,"children":2174},{"class":274,"line":311},[2175,2179,2183,2187],{"type":13,"tag":272,"props":2176,"children":2177},{"style":289},[2178],{"type":19,"value":317},{"type":13,"tag":272,"props":2180,"children":2181},{"style":279},[2182],{"type":19,"value":322},{"type":13,"tag":272,"props":2184,"children":2185},{"style":289},[2186],{"type":19,"value":1154},{"type":13,"tag":272,"props":2188,"children":2189},{"style":279},[2190],{"type":19,"value":332},{"type":13,"tag":272,"props":2192,"children":2193},{"class":274,"line":335},[2194,2198,2202,2207],{"type":13,"tag":272,"props":2195,"children":2196},{"style":289},[2197],{"type":19,"value":341},{"type":13,"tag":272,"props":2199,"children":2200},{"style":279},[2201],{"type":19,"value":322},{"type":13,"tag":272,"props":2203,"children":2204},{"style":300},[2205],{"type":19,"value":2206},"\"tx_asset_issue\"",{"type":13,"tag":272,"props":2208,"children":2209},{"style":279},[2210],{"type":19,"value":308},{"type":13,"tag":272,"props":2212,"children":2213},{"class":274,"line":353},[2214,2218],{"type":13,"tag":272,"props":2215,"children":2216},{"style":289},[2217],{"type":19,"value":1186},{"type":13,"tag":272,"props":2219,"children":2220},{"style":279},[2221],{"type":19,"value":1191},{"type":13,"tag":272,"props":2223,"children":2224},{"class":274,"line":460},[2225],{"type":13,"tag":272,"props":2226,"children":2227},{"style":279},[2228],{"type":19,"value":1199},{"type":13,"tag":272,"props":2230,"children":2231},{"class":274,"line":482},[2232,2236,2240,2244],{"type":13,"tag":272,"props":2233,"children":2234},{"style":289},[2235],{"type":19,"value":1207},{"type":13,"tag":272,"props":2237,"children":2238},{"style":279},[2239],{"type":19,"value":322},{"type":13,"tag":272,"props":2241,"children":2242},{"style":289},[2243],{"type":19,"value":327},{"type":13,"tag":272,"props":2245,"children":2246},{"style":279},[2247],{"type":19,"value":332},{"type":13,"tag":272,"props":2249,"children":2250},{"class":274,"line":504},[2251,2255,2259],{"type":13,"tag":272,"props":2252,"children":2253},{"style":289},[2254],{"type":19,"value":665},{"type":13,"tag":272,"props":2256,"children":2257},{"style":279},[2258],{"type":19,"value":322},{"type":13,"tag":272,"props":2260,"children":2261},{"style":289},[2262],{"type":19,"value":1463},{"type":13,"tag":272,"props":2264,"children":2265},{"class":274,"line":526},[2266],{"type":13,"tag":272,"props":2267,"children":2268},{"style":279},[2269],{"type":19,"value":1336},{"type":13,"tag":272,"props":2271,"children":2272},{"class":274,"line":548},[2273],{"type":13,"tag":272,"props":2274,"children":2275},{"style":279},[2276],{"type":19,"value":359},{"type":13,"tag":93,"props":2278,"children":2279},{},[2280,2291,2302,2312],{"type":13,"tag":32,"props":2281,"children":2282},{},[2283,2289],{"type":13,"tag":43,"props":2284,"children":2286},{"className":2285},[],[2287],{"type":19,"value":2288},"value",{"type":19,"value":2290}," how much asset to mint, in asset groth.",{"type":13,"tag":32,"props":2292,"children":2293},{},[2294,2300],{"type":13,"tag":43,"props":2295,"children":2297},{"className":2296},[],[2298],{"type":19,"value":2299},"fee",{"type":19,"value":2301}," transaction fee in BEAM groth. Omit to use default fee.",{"type":13,"tag":32,"props":2303,"children":2304},{},[2305,2310],{"type":13,"tag":43,"props":2306,"children":2308},{"className":2307},[],[2309],{"type":19,"value":48},{"type":19,"value":2311}," asset id of the asset to mint.",{"type":13,"tag":32,"props":2313,"children":2314},{},[2315,2321],{"type":13,"tag":43,"props":2316,"children":2318},{"className":2317},[],[2319],{"type":19,"value":2320},"txId",{"type":19,"value":2322}," optional,  provide your own transaction ID.",{"type":13,"tag":229,"props":2324,"children":2325},{},[],{"type":13,"tag":43,"props":2327,"children":2329},{"className":2328},[],[2330],{"type":19,"value":368},{"type":13,"tag":79,"props":2332,"children":2334},{"code":2333,"language":265,"meta":7,"className":266,"style":7},"{\n    \"jsonrpc\": \"2.0\", \n    \"id\": 2,\n    \"result\":\n    {\n        \"txId\" : \"10c4b760c842433cb58339a0fafef3db\"\n    }\n}\n",[2335],{"type":13,"tag":43,"props":2336,"children":2337},{"__ignoreMap":7},[2338,2345,2364,2383,2394,2401,2416,2423],{"type":13,"tag":272,"props":2339,"children":2340},{"class":274,"line":275},[2341],{"type":13,"tag":272,"props":2342,"children":2343},{"style":279},[2344],{"type":19,"value":282},{"type":13,"tag":272,"props":2346,"children":2347},{"class":274,"line":285},[2348,2352,2356,2360],{"type":13,"tag":272,"props":2349,"children":2350},{"style":289},[2351],{"type":19,"value":292},{"type":13,"tag":272,"props":2353,"children":2354},{"style":279},[2355],{"type":19,"value":322},{"type":13,"tag":272,"props":2357,"children":2358},{"style":300},[2359],{"type":19,"value":303},{"type":13,"tag":272,"props":2361,"children":2362},{"style":279},[2363],{"type":19,"value":308},{"type":13,"tag":272,"props":2365,"children":2366},{"class":274,"line":311},[2367,2371,2375,2379],{"type":13,"tag":272,"props":2368,"children":2369},{"style":289},[2370],{"type":19,"value":317},{"type":13,"tag":272,"props":2372,"children":2373},{"style":279},[2374],{"type":19,"value":322},{"type":13,"tag":272,"props":2376,"children":2377},{"style":289},[2378],{"type":19,"value":1154},{"type":13,"tag":272,"props":2380,"children":2381},{"style":279},[2382],{"type":19,"value":332},{"type":13,"tag":272,"props":2384,"children":2385},{"class":274,"line":335},[2386,2390],{"type":13,"tag":272,"props":2387,"children":2388},{"style":289},[2389],{"type":19,"value":1545},{"type":13,"tag":272,"props":2391,"children":2392},{"style":279},[2393],{"type":19,"value":1191},{"type":13,"tag":272,"props":2395,"children":2396},{"class":274,"line":353},[2397],{"type":13,"tag":272,"props":2398,"children":2399},{"style":279},[2400],{"type":19,"value":1199},{"type":13,"tag":272,"props":2402,"children":2403},{"class":274,"line":460},[2404,2408,2412],{"type":13,"tag":272,"props":2405,"children":2406},{"style":289},[2407],{"type":19,"value":1564},{"type":13,"tag":272,"props":2409,"children":2410},{"style":279},[2411],{"type":19,"value":1569},{"type":13,"tag":272,"props":2413,"children":2414},{"style":300},[2415],{"type":19,"value":1574},{"type":13,"tag":272,"props":2417,"children":2418},{"class":274,"line":482},[2419],{"type":13,"tag":272,"props":2420,"children":2421},{"style":279},[2422],{"type":19,"value":1336},{"type":13,"tag":272,"props":2424,"children":2425},{"class":274,"line":504},[2426],{"type":13,"tag":272,"props":2427,"children":2428},{"style":279},[2429],{"type":19,"value":359},{"type":13,"tag":229,"props":2431,"children":2432},{},[],{"type":19,"value":2434},"Returns transaction id or ",{"type":13,"tag":57,"props":2436,"children":2437},{"href":1993},[2438],{"type":19,"value":1996},{"type":19,"value":1998},{"type":13,"tag":32,"props":2441,"children":2442},{},[2443,2445,2450,2452,2455,2460,2598,2641,2644,2649,2747],{"type":19,"value":2444},"to burn existing asset coins use ",{"type":13,"tag":43,"props":2446,"children":2448},{"className":2447},[],[2449],{"type":19,"value":148},{"type":19,"value":2451},". You must own the asset itself as well as asset coins to burn them. You cannot burn asset coins that belong to another wallet. Info about the asset should be in a local database.",{"type":13,"tag":229,"props":2453,"children":2454},{},[],{"type":13,"tag":43,"props":2456,"children":2458},{"className":2457},[],[2459],{"type":19,"value":261},{"type":13,"tag":79,"props":2461,"children":2463},{"code":2462,"language":265,"meta":7,"className":266,"style":7},"{\n    \"jsonrpc\":\"2.0\", \n    \"id\": 2,\n    \"method\":\"tx_asset_consume\", \n    \"params\":\n    {\n        \"value\": 6,\n        \"asset_id\": 1\n    }\n}\n",[2464],{"type":13,"tag":43,"props":2465,"children":2466},{"__ignoreMap":7},[2467,2474,2493,2512,2532,2543,2550,2569,2584,2591],{"type":13,"tag":272,"props":2468,"children":2469},{"class":274,"line":275},[2470],{"type":13,"tag":272,"props":2471,"children":2472},{"style":279},[2473],{"type":19,"value":282},{"type":13,"tag":272,"props":2475,"children":2476},{"class":274,"line":285},[2477,2481,2485,2489],{"type":13,"tag":272,"props":2478,"children":2479},{"style":289},[2480],{"type":19,"value":292},{"type":13,"tag":272,"props":2482,"children":2483},{"style":279},[2484],{"type":19,"value":297},{"type":13,"tag":272,"props":2486,"children":2487},{"style":300},[2488],{"type":19,"value":303},{"type":13,"tag":272,"props":2490,"children":2491},{"style":279},[2492],{"type":19,"value":308},{"type":13,"tag":272,"props":2494,"children":2495},{"class":274,"line":311},[2496,2500,2504,2508],{"type":13,"tag":272,"props":2497,"children":2498},{"style":289},[2499],{"type":19,"value":317},{"type":13,"tag":272,"props":2501,"children":2502},{"style":279},[2503],{"type":19,"value":322},{"type":13,"tag":272,"props":2505,"children":2506},{"style":289},[2507],{"type":19,"value":1154},{"type":13,"tag":272,"props":2509,"children":2510},{"style":279},[2511],{"type":19,"value":332},{"type":13,"tag":272,"props":2513,"children":2514},{"class":274,"line":335},[2515,2519,2523,2528],{"type":13,"tag":272,"props":2516,"children":2517},{"style":289},[2518],{"type":19,"value":341},{"type":13,"tag":272,"props":2520,"children":2521},{"style":279},[2522],{"type":19,"value":297},{"type":13,"tag":272,"props":2524,"children":2525},{"style":300},[2526],{"type":19,"value":2527},"\"tx_asset_consume\"",{"type":13,"tag":272,"props":2529,"children":2530},{"style":279},[2531],{"type":19,"value":308},{"type":13,"tag":272,"props":2533,"children":2534},{"class":274,"line":353},[2535,2539],{"type":13,"tag":272,"props":2536,"children":2537},{"style":289},[2538],{"type":19,"value":1186},{"type":13,"tag":272,"props":2540,"children":2541},{"style":279},[2542],{"type":19,"value":1191},{"type":13,"tag":272,"props":2544,"children":2545},{"class":274,"line":460},[2546],{"type":13,"tag":272,"props":2547,"children":2548},{"style":279},[2549],{"type":19,"value":1199},{"type":13,"tag":272,"props":2551,"children":2552},{"class":274,"line":482},[2553,2557,2561,2565],{"type":13,"tag":272,"props":2554,"children":2555},{"style":289},[2556],{"type":19,"value":1207},{"type":13,"tag":272,"props":2558,"children":2559},{"style":279},[2560],{"type":19,"value":322},{"type":13,"tag":272,"props":2562,"children":2563},{"style":289},[2564],{"type":19,"value":327},{"type":13,"tag":272,"props":2566,"children":2567},{"style":279},[2568],{"type":19,"value":332},{"type":13,"tag":272,"props":2570,"children":2571},{"class":274,"line":504},[2572,2576,2580],{"type":13,"tag":272,"props":2573,"children":2574},{"style":289},[2575],{"type":19,"value":665},{"type":13,"tag":272,"props":2577,"children":2578},{"style":279},[2579],{"type":19,"value":322},{"type":13,"tag":272,"props":2581,"children":2582},{"style":289},[2583],{"type":19,"value":1463},{"type":13,"tag":272,"props":2585,"children":2586},{"class":274,"line":526},[2587],{"type":13,"tag":272,"props":2588,"children":2589},{"style":279},[2590],{"type":19,"value":1336},{"type":13,"tag":272,"props":2592,"children":2593},{"class":274,"line":548},[2594],{"type":13,"tag":272,"props":2595,"children":2596},{"style":279},[2597],{"type":19,"value":359},{"type":13,"tag":93,"props":2599,"children":2600},{},[2601,2611,2621,2631],{"type":13,"tag":32,"props":2602,"children":2603},{},[2604,2609],{"type":13,"tag":43,"props":2605,"children":2607},{"className":2606},[],[2608],{"type":19,"value":2288},{"type":19,"value":2610}," how much asset to burn, in asset groth.",{"type":13,"tag":32,"props":2612,"children":2613},{},[2614,2619],{"type":13,"tag":43,"props":2615,"children":2617},{"className":2616},[],[2618],{"type":19,"value":2299},{"type":19,"value":2620}," transaction fee in BEAM groth, omit for a default fee.",{"type":13,"tag":32,"props":2622,"children":2623},{},[2624,2629],{"type":13,"tag":43,"props":2625,"children":2627},{"className":2626},[],[2628],{"type":19,"value":48},{"type":19,"value":2630}," id of the asset to consume.",{"type":13,"tag":32,"props":2632,"children":2633},{},[2634,2639],{"type":13,"tag":43,"props":2635,"children":2637},{"className":2636},[],[2638],{"type":19,"value":2320},{"type":19,"value":2640}," optional, provide your own transaction ID",{"type":13,"tag":229,"props":2642,"children":2643},{},[],{"type":13,"tag":43,"props":2645,"children":2647},{"className":2646},[],[2648],{"type":19,"value":368},{"type":13,"tag":79,"props":2650,"children":2651},{"code":1488,"language":265,"meta":7,"className":266,"style":7},[2652],{"type":13,"tag":43,"props":2653,"children":2654},{"__ignoreMap":7},[2655,2662,2681,2700,2711,2718,2733,2740],{"type":13,"tag":272,"props":2656,"children":2657},{"class":274,"line":275},[2658],{"type":13,"tag":272,"props":2659,"children":2660},{"style":279},[2661],{"type":19,"value":282},{"type":13,"tag":272,"props":2663,"children":2664},{"class":274,"line":285},[2665,2669,2673,2677],{"type":13,"tag":272,"props":2666,"children":2667},{"style":289},[2668],{"type":19,"value":292},{"type":13,"tag":272,"props":2670,"children":2671},{"style":279},[2672],{"type":19,"value":297},{"type":13,"tag":272,"props":2674,"children":2675},{"style":300},[2676],{"type":19,"value":303},{"type":13,"tag":272,"props":2678,"children":2679},{"style":279},[2680],{"type":19,"value":308},{"type":13,"tag":272,"props":2682,"children":2683},{"class":274,"line":311},[2684,2688,2692,2696],{"type":13,"tag":272,"props":2685,"children":2686},{"style":289},[2687],{"type":19,"value":317},{"type":13,"tag":272,"props":2689,"children":2690},{"style":279},[2691],{"type":19,"value":322},{"type":13,"tag":272,"props":2693,"children":2694},{"style":289},[2695],{"type":19,"value":1154},{"type":13,"tag":272,"props":2697,"children":2698},{"style":279},[2699],{"type":19,"value":332},{"type":13,"tag":272,"props":2701,"children":2702},{"class":274,"line":335},[2703,2707],{"type":13,"tag":272,"props":2704,"children":2705},{"style":289},[2706],{"type":19,"value":1545},{"type":13,"tag":272,"props":2708,"children":2709},{"style":279},[2710],{"type":19,"value":1191},{"type":13,"tag":272,"props":2712,"children":2713},{"class":274,"line":353},[2714],{"type":13,"tag":272,"props":2715,"children":2716},{"style":279},[2717],{"type":19,"value":1199},{"type":13,"tag":272,"props":2719,"children":2720},{"class":274,"line":460},[2721,2725,2729],{"type":13,"tag":272,"props":2722,"children":2723},{"style":289},[2724],{"type":19,"value":1564},{"type":13,"tag":272,"props":2726,"children":2727},{"style":279},[2728],{"type":19,"value":1569},{"type":13,"tag":272,"props":2730,"children":2731},{"style":300},[2732],{"type":19,"value":1574},{"type":13,"tag":272,"props":2734,"children":2735},{"class":274,"line":482},[2736],{"type":13,"tag":272,"props":2737,"children":2738},{"style":279},[2739],{"type":19,"value":1336},{"type":13,"tag":272,"props":2741,"children":2742},{"class":274,"line":504},[2743],{"type":13,"tag":272,"props":2744,"children":2745},{"style":279},[2746],{"type":19,"value":359},{"type":13,"tag":79,"props":2748,"children":2750},{"code":2749},"  Returns transaction id or [error code](#Errors). \n",[2751],{"type":13,"tag":43,"props":2752,"children":2753},{"__ignoreMap":7},[2754],{"type":19,"value":2749},{"type":13,"tag":32,"props":2756,"children":2757},{},[2758,2760,2765,2767,2773,2775,2780,2783,2788,2970,2973,2978,3182,3185,3187],{"type":19,"value":2759},"if yoiu want to calculate the change amount for transaction use ",{"type":13,"tag":43,"props":2761,"children":2763},{"className":2762},[],[2764],{"type":19,"value":175},{"type":19,"value":2766},", it calculates the change value for given ",{"type":13,"tag":43,"props":2768,"children":2770},{"className":2769},[],[2771],{"type":19,"value":2772},"amount",{"type":19,"value":2774}," in for given ",{"type":13,"tag":43,"props":2776,"children":2778},{"className":2777},[],[2779],{"type":19,"value":48},{"type":13,"tag":229,"props":2781,"children":2782},{},[],{"type":13,"tag":43,"props":2784,"children":2786},{"className":2785},[],[2787],{"type":19,"value":261},{"type":13,"tag":79,"props":2789,"children":2791},{"code":2790,"language":265,"meta":7,"className":266,"style":7},"{\n    \"jsonrpc\":\"2.0\", \n    \"id\": 4,\n    \"method\":\"calc_change\", \n    \"params\":\n    {\n        \"amount\" : 1234,\n        \"asset_id\": 2,\n        \"fee\": 10000,\n        \"is_push_transaction\": true\n    }\n}\n",[2792],{"type":13,"tag":43,"props":2793,"children":2794},{"__ignoreMap":7},[2795,2802,2821,2841,2861,2872,2879,2900,2919,2939,2956,2963],{"type":13,"tag":272,"props":2796,"children":2797},{"class":274,"line":275},[2798],{"type":13,"tag":272,"props":2799,"children":2800},{"style":279},[2801],{"type":19,"value":282},{"type":13,"tag":272,"props":2803,"children":2804},{"class":274,"line":285},[2805,2809,2813,2817],{"type":13,"tag":272,"props":2806,"children":2807},{"style":289},[2808],{"type":19,"value":292},{"type":13,"tag":272,"props":2810,"children":2811},{"style":279},[2812],{"type":19,"value":297},{"type":13,"tag":272,"props":2814,"children":2815},{"style":300},[2816],{"type":19,"value":303},{"type":13,"tag":272,"props":2818,"children":2819},{"style":279},[2820],{"type":19,"value":308},{"type":13,"tag":272,"props":2822,"children":2823},{"class":274,"line":311},[2824,2828,2832,2837],{"type":13,"tag":272,"props":2825,"children":2826},{"style":289},[2827],{"type":19,"value":317},{"type":13,"tag":272,"props":2829,"children":2830},{"style":279},[2831],{"type":19,"value":322},{"type":13,"tag":272,"props":2833,"children":2834},{"style":289},[2835],{"type":19,"value":2836},"4",{"type":13,"tag":272,"props":2838,"children":2839},{"style":279},[2840],{"type":19,"value":332},{"type":13,"tag":272,"props":2842,"children":2843},{"class":274,"line":335},[2844,2848,2852,2857],{"type":13,"tag":272,"props":2845,"children":2846},{"style":289},[2847],{"type":19,"value":341},{"type":13,"tag":272,"props":2849,"children":2850},{"style":279},[2851],{"type":19,"value":297},{"type":13,"tag":272,"props":2853,"children":2854},{"style":300},[2855],{"type":19,"value":2856},"\"calc_change\"",{"type":13,"tag":272,"props":2858,"children":2859},{"style":279},[2860],{"type":19,"value":308},{"type":13,"tag":272,"props":2862,"children":2863},{"class":274,"line":353},[2864,2868],{"type":13,"tag":272,"props":2865,"children":2866},{"style":289},[2867],{"type":19,"value":1186},{"type":13,"tag":272,"props":2869,"children":2870},{"style":279},[2871],{"type":19,"value":1191},{"type":13,"tag":272,"props":2873,"children":2874},{"class":274,"line":460},[2875],{"type":13,"tag":272,"props":2876,"children":2877},{"style":279},[2878],{"type":19,"value":1199},{"type":13,"tag":272,"props":2880,"children":2881},{"class":274,"line":482},[2882,2887,2891,2896],{"type":13,"tag":272,"props":2883,"children":2884},{"style":289},[2885],{"type":19,"value":2886},"        \"amount\"",{"type":13,"tag":272,"props":2888,"children":2889},{"style":279},[2890],{"type":19,"value":1569},{"type":13,"tag":272,"props":2892,"children":2893},{"style":289},[2894],{"type":19,"value":2895},"1234",{"type":13,"tag":272,"props":2897,"children":2898},{"style":279},[2899],{"type":19,"value":332},{"type":13,"tag":272,"props":2901,"children":2902},{"class":274,"line":504},[2903,2907,2911,2915],{"type":13,"tag":272,"props":2904,"children":2905},{"style":289},[2906],{"type":19,"value":665},{"type":13,"tag":272,"props":2908,"children":2909},{"style":279},[2910],{"type":19,"value":322},{"type":13,"tag":272,"props":2912,"children":2913},{"style":289},[2914],{"type":19,"value":1154},{"type":13,"tag":272,"props":2916,"children":2917},{"style":279},[2918],{"type":19,"value":332},{"type":13,"tag":272,"props":2920,"children":2921},{"class":274,"line":526},[2922,2926,2930,2935],{"type":13,"tag":272,"props":2923,"children":2924},{"style":289},[2925],{"type":19,"value":1228},{"type":13,"tag":272,"props":2927,"children":2928},{"style":279},[2929],{"type":19,"value":322},{"type":13,"tag":272,"props":2931,"children":2932},{"style":289},[2933],{"type":19,"value":2934},"10000",{"type":13,"tag":272,"props":2936,"children":2937},{"style":279},[2938],{"type":19,"value":332},{"type":13,"tag":272,"props":2940,"children":2941},{"class":274,"line":548},[2942,2947,2951],{"type":13,"tag":272,"props":2943,"children":2944},{"style":289},[2945],{"type":19,"value":2946},"        \"is_push_transaction\"",{"type":13,"tag":272,"props":2948,"children":2949},{"style":279},[2950],{"type":19,"value":322},{"type":13,"tag":272,"props":2952,"children":2953},{"style":289},[2954],{"type":19,"value":2955},"true\n",{"type":13,"tag":272,"props":2957,"children":2958},{"class":274,"line":570},[2959],{"type":13,"tag":272,"props":2960,"children":2961},{"style":279},[2962],{"type":19,"value":1336},{"type":13,"tag":272,"props":2964,"children":2965},{"class":274,"line":592},[2966],{"type":13,"tag":272,"props":2967,"children":2968},{"style":279},[2969],{"type":19,"value":359},{"type":13,"tag":229,"props":2971,"children":2972},{},[],{"type":13,"tag":43,"props":2974,"children":2976},{"className":2975},[],[2977],{"type":19,"value":368},{"type":13,"tag":79,"props":2979,"children":2981},{"code":2980,"language":265,"meta":7,"className":266,"style":7},"{\n    \"jsonrpc\":\"2.0\", \n    \"id\": 4,\n    \"result\":\n    {\n        \"asset_change\": 12,\n        \"asset_change_str\": \"12\",\n        \"change\": 12,\n        \"change_str\": \"12\",\n        \"explicit_fee\": 1100000,\n        \"explicit_fee_str\": \"1100000\"\n    }\n}\n",[2982],{"type":13,"tag":43,"props":2983,"children":2984},{"__ignoreMap":7},[2985,2992,3011,3030,3041,3048,3069,3090,3110,3130,3151,3168,3175],{"type":13,"tag":272,"props":2986,"children":2987},{"class":274,"line":275},[2988],{"type":13,"tag":272,"props":2989,"children":2990},{"style":279},[2991],{"type":19,"value":282},{"type":13,"tag":272,"props":2993,"children":2994},{"class":274,"line":285},[2995,2999,3003,3007],{"type":13,"tag":272,"props":2996,"children":2997},{"style":289},[2998],{"type":19,"value":292},{"type":13,"tag":272,"props":3000,"children":3001},{"style":279},[3002],{"type":19,"value":297},{"type":13,"tag":272,"props":3004,"children":3005},{"style":300},[3006],{"type":19,"value":303},{"type":13,"tag":272,"props":3008,"children":3009},{"style":279},[3010],{"type":19,"value":308},{"type":13,"tag":272,"props":3012,"children":3013},{"class":274,"line":311},[3014,3018,3022,3026],{"type":13,"tag":272,"props":3015,"children":3016},{"style":289},[3017],{"type":19,"value":317},{"type":13,"tag":272,"props":3019,"children":3020},{"style":279},[3021],{"type":19,"value":322},{"type":13,"tag":272,"props":3023,"children":3024},{"style":289},[3025],{"type":19,"value":2836},{"type":13,"tag":272,"props":3027,"children":3028},{"style":279},[3029],{"type":19,"value":332},{"type":13,"tag":272,"props":3031,"children":3032},{"class":274,"line":335},[3033,3037],{"type":13,"tag":272,"props":3034,"children":3035},{"style":289},[3036],{"type":19,"value":1545},{"type":13,"tag":272,"props":3038,"children":3039},{"style":279},[3040],{"type":19,"value":1191},{"type":13,"tag":272,"props":3042,"children":3043},{"class":274,"line":353},[3044],{"type":13,"tag":272,"props":3045,"children":3046},{"style":279},[3047],{"type":19,"value":1199},{"type":13,"tag":272,"props":3049,"children":3050},{"class":274,"line":460},[3051,3056,3060,3065],{"type":13,"tag":272,"props":3052,"children":3053},{"style":289},[3054],{"type":19,"value":3055},"        \"asset_change\"",{"type":13,"tag":272,"props":3057,"children":3058},{"style":279},[3059],{"type":19,"value":322},{"type":13,"tag":272,"props":3061,"children":3062},{"style":289},[3063],{"type":19,"value":3064},"12",{"type":13,"tag":272,"props":3066,"children":3067},{"style":279},[3068],{"type":19,"value":332},{"type":13,"tag":272,"props":3070,"children":3071},{"class":274,"line":482},[3072,3077,3081,3086],{"type":13,"tag":272,"props":3073,"children":3074},{"style":289},[3075],{"type":19,"value":3076},"        \"asset_change_str\"",{"type":13,"tag":272,"props":3078,"children":3079},{"style":279},[3080],{"type":19,"value":322},{"type":13,"tag":272,"props":3082,"children":3083},{"style":300},[3084],{"type":19,"value":3085},"\"12\"",{"type":13,"tag":272,"props":3087,"children":3088},{"style":279},[3089],{"type":19,"value":332},{"type":13,"tag":272,"props":3091,"children":3092},{"class":274,"line":504},[3093,3098,3102,3106],{"type":13,"tag":272,"props":3094,"children":3095},{"style":289},[3096],{"type":19,"value":3097},"        \"change\"",{"type":13,"tag":272,"props":3099,"children":3100},{"style":279},[3101],{"type":19,"value":322},{"type":13,"tag":272,"props":3103,"children":3104},{"style":289},[3105],{"type":19,"value":3064},{"type":13,"tag":272,"props":3107,"children":3108},{"style":279},[3109],{"type":19,"value":332},{"type":13,"tag":272,"props":3111,"children":3112},{"class":274,"line":526},[3113,3118,3122,3126],{"type":13,"tag":272,"props":3114,"children":3115},{"style":289},[3116],{"type":19,"value":3117},"        \"change_str\"",{"type":13,"tag":272,"props":3119,"children":3120},{"style":279},[3121],{"type":19,"value":322},{"type":13,"tag":272,"props":3123,"children":3124},{"style":300},[3125],{"type":19,"value":3085},{"type":13,"tag":272,"props":3127,"children":3128},{"style":279},[3129],{"type":19,"value":332},{"type":13,"tag":272,"props":3131,"children":3132},{"class":274,"line":548},[3133,3138,3142,3147],{"type":13,"tag":272,"props":3134,"children":3135},{"style":289},[3136],{"type":19,"value":3137},"        \"explicit_fee\"",{"type":13,"tag":272,"props":3139,"children":3140},{"style":279},[3141],{"type":19,"value":322},{"type":13,"tag":272,"props":3143,"children":3144},{"style":289},[3145],{"type":19,"value":3146},"1100000",{"type":13,"tag":272,"props":3148,"children":3149},{"style":279},[3150],{"type":19,"value":332},{"type":13,"tag":272,"props":3152,"children":3153},{"class":274,"line":570},[3154,3159,3163],{"type":13,"tag":272,"props":3155,"children":3156},{"style":289},[3157],{"type":19,"value":3158},"        \"explicit_fee_str\"",{"type":13,"tag":272,"props":3160,"children":3161},{"style":279},[3162],{"type":19,"value":322},{"type":13,"tag":272,"props":3164,"children":3165},{"style":300},[3166],{"type":19,"value":3167},"\"1100000\"\n",{"type":13,"tag":272,"props":3169,"children":3170},{"class":274,"line":592},[3171],{"type":13,"tag":272,"props":3172,"children":3173},{"style":279},[3174],{"type":19,"value":1336},{"type":13,"tag":272,"props":3176,"children":3177},{"class":274,"line":614},[3178],{"type":13,"tag":272,"props":3179,"children":3180},{"style":279},[3181],{"type":19,"value":359},{"type":13,"tag":229,"props":3183,"children":3184},{},[],{"type":19,"value":3186},"where",{"type":13,"tag":93,"props":3188,"children":3189},{},[3190,3200,3210,3220,3236,3269,3280],{"type":13,"tag":32,"props":3191,"children":3192},{},[3193,3198],{"type":13,"tag":43,"props":3194,"children":3196},{"className":3195},[],[3197],{"type":19,"value":2772},{"type":19,"value":3199}," is a requested amount we are going to send",{"type":13,"tag":32,"props":3201,"children":3202},{},[3203,3208],{"type":13,"tag":43,"props":3204,"children":3206},{"className":3205},[],[3207],{"type":19,"value":48},{"type":19,"value":3209}," asset id of the requested amount",{"type":13,"tag":32,"props":3211,"children":3212},{},[3213,3218],{"type":13,"tag":43,"props":3214,"children":3216},{"className":3215},[],[3217],{"type":19,"value":2299},{"type":19,"value":3219}," explicit fee in GROTHs chosen by the user",{"type":13,"tag":32,"props":3221,"children":3222},{},[3223,3229,3231],{"type":13,"tag":43,"props":3224,"children":3226},{"className":3225},[],[3227],{"type":19,"value":3228},"asset_change",{"type":19,"value":3230}," change amount for requested ",{"type":13,"tag":43,"props":3232,"children":3234},{"className":3233},[],[3235],{"type":19,"value":48},{"type":13,"tag":32,"props":3237,"children":3238},{},[3239,3245,3247,3252,3254,3259,3261,3267],{"type":13,"tag":43,"props":3240,"children":3242},{"className":3241},[],[3243],{"type":19,"value":3244},"change",{"type":19,"value":3246}," change in for BEAM. ",{"type":13,"tag":43,"props":3248,"children":3250},{"className":3249},[],[3251],{"type":19,"value":3228},{"type":19,"value":3253}," and ",{"type":13,"tag":43,"props":3255,"children":3257},{"className":3256},[],[3258],{"type":19,"value":3244},{"type":19,"value":3260}," are equal if ",{"type":13,"tag":43,"props":3262,"children":3264},{"className":3263},[],[3265],{"type":19,"value":3266},"asset_id == 0",{"type":19,"value":3268},", i.e. BEAM",{"type":13,"tag":32,"props":3270,"children":3271},{},[3272,3278],{"type":13,"tag":43,"props":3273,"children":3275},{"className":3274},[],[3276],{"type":19,"value":3277},"explicit_fee",{"type":19,"value":3279}," the fee which should be used",{"type":13,"tag":32,"props":3281,"children":3282},{},[3283,3289,3291,3297],{"type":13,"tag":43,"props":3284,"children":3286},{"className":3285},[],[3287],{"type":19,"value":3288},"is_push_transaction",{"type":19,"value":3290}," ",{"type":13,"tag":43,"props":3292,"children":3294},{"className":3293},[],[3295],{"type":19,"value":3296},"true",{"type":19,"value":3298}," if we are going to push transaction output into the shielded pool.",{"type":13,"tag":3300,"props":3301,"children":3302},"style",{},[3303],{"type":19,"value":3304},"html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":285,"depth":285,"links":3306},[3307,3308],{"id":23,"depth":285,"text":26},{"id":178,"depth":285,"text":181,"children":3309},[3310],{"id":200,"depth":311,"text":203},"markdown","docs:docs:core-tech:Adding-support-for-Beam-Confidential-Asset.md","docs","docs/core-tech/Adding-support-for-Beam-Confidential-Asset.md","md",1777630735751]