diff --git a/docs/assets/search.js b/docs/assets/search.js index 19de7797..5712604c 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"rows\":[{\"kind\":128,\"name\":\"AssetsTransferApi\",\"url\":\"classes/AssetsTransferApi.html\",\"classes\":\"\"},{\"kind\":2048,\"name\":\"createTransferTransaction\",\"url\":\"classes/AssetsTransferApi.html#createTransferTransaction\",\"classes\":\"\",\"parent\":\"AssetsTransferApi\"},{\"kind\":2048,\"name\":\"fetchFeeInfo\",\"url\":\"classes/AssetsTransferApi.html#fetchFeeInfo\",\"classes\":\"\",\"parent\":\"AssetsTransferApi\"},{\"kind\":2048,\"name\":\"decodeExtrinsic\",\"url\":\"classes/AssetsTransferApi.html#decodeExtrinsic\",\"classes\":\"\",\"parent\":\"AssetsTransferApi\"},{\"kind\":256,\"name\":\"ApiInfo\",\"url\":\"interfaces/ApiInfo.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"constructApiPromise\",\"url\":\"functions/constructApiPromise.html\",\"classes\":\"\"},{\"kind\":8,\"name\":\"Direction\",\"url\":\"enums/Direction.html\",\"classes\":\"\"},{\"kind\":16,\"name\":\"SystemToPara\",\"url\":\"enums/Direction.html#SystemToPara\",\"classes\":\"\",\"parent\":\"Direction\"},{\"kind\":16,\"name\":\"SystemToRelay\",\"url\":\"enums/Direction.html#SystemToRelay\",\"classes\":\"\",\"parent\":\"Direction\"},{\"kind\":16,\"name\":\"SystemToSystem\",\"url\":\"enums/Direction.html#SystemToSystem\",\"classes\":\"\",\"parent\":\"Direction\"},{\"kind\":16,\"name\":\"ParaToPara\",\"url\":\"enums/Direction.html#ParaToPara\",\"classes\":\"\",\"parent\":\"Direction\"},{\"kind\":16,\"name\":\"ParaToRelay\",\"url\":\"enums/Direction.html#ParaToRelay\",\"classes\":\"\",\"parent\":\"Direction\"},{\"kind\":16,\"name\":\"ParaToSystem\",\"url\":\"enums/Direction.html#ParaToSystem\",\"classes\":\"\",\"parent\":\"Direction\"},{\"kind\":16,\"name\":\"RelayToSystem\",\"url\":\"enums/Direction.html#RelayToSystem\",\"classes\":\"\",\"parent\":\"Direction\"},{\"kind\":16,\"name\":\"RelayToPara\",\"url\":\"enums/Direction.html#RelayToPara\",\"classes\":\"\",\"parent\":\"Direction\"},{\"kind\":4194304,\"name\":\"Format\",\"url\":\"types/Format.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"ConstructedFormat\",\"url\":\"types/ConstructedFormat.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"LocalTransferTypes\",\"url\":\"types/LocalTransferTypes.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"Methods\",\"url\":\"types/Methods.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"TxResult\",\"url\":\"interfaces/TxResult.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"dest\",\"url\":\"interfaces/TxResult.html#dest\",\"classes\":\"\",\"parent\":\"TxResult\"},{\"kind\":1024,\"name\":\"origin\",\"url\":\"interfaces/TxResult.html#origin\",\"classes\":\"\",\"parent\":\"TxResult\"},{\"kind\":1024,\"name\":\"format\",\"url\":\"interfaces/TxResult.html#format\",\"classes\":\"\",\"parent\":\"TxResult\"},{\"kind\":1024,\"name\":\"xcmVersion\",\"url\":\"interfaces/TxResult.html#xcmVersion\",\"classes\":\"\",\"parent\":\"TxResult\"},{\"kind\":1024,\"name\":\"direction\",\"url\":\"interfaces/TxResult.html#direction\",\"classes\":\"\",\"parent\":\"TxResult\"},{\"kind\":1024,\"name\":\"method\",\"url\":\"interfaces/TxResult.html#method\",\"classes\":\"\",\"parent\":\"TxResult\"},{\"kind\":1024,\"name\":\"tx\",\"url\":\"interfaces/TxResult.html#tx\",\"classes\":\"\",\"parent\":\"TxResult\"},{\"kind\":256,\"name\":\"TransferArgsOpts\",\"url\":\"interfaces/TransferArgsOpts.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"format\",\"url\":\"interfaces/TransferArgsOpts.html#format\",\"classes\":\"\",\"parent\":\"TransferArgsOpts\"},{\"kind\":1024,\"name\":\"paysWithFeeOrigin\",\"url\":\"interfaces/TransferArgsOpts.html#paysWithFeeOrigin\",\"classes\":\"\",\"parent\":\"TransferArgsOpts\"},{\"kind\":1024,\"name\":\"paysWithFeeDest\",\"url\":\"interfaces/TransferArgsOpts.html#paysWithFeeDest\",\"classes\":\"\",\"parent\":\"TransferArgsOpts\"},{\"kind\":1024,\"name\":\"sendersAddr\",\"url\":\"interfaces/TransferArgsOpts.html#sendersAddr\",\"classes\":\"\",\"parent\":\"TransferArgsOpts\"},{\"kind\":1024,\"name\":\"isLimited\",\"url\":\"interfaces/TransferArgsOpts.html#isLimited\",\"classes\":\"\",\"parent\":\"TransferArgsOpts\"},{\"kind\":1024,\"name\":\"weightLimit\",\"url\":\"interfaces/TransferArgsOpts.html#weightLimit\",\"classes\":\"\",\"parent\":\"TransferArgsOpts\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/TransferArgsOpts.html#weightLimit.__type\",\"classes\":\"\",\"parent\":\"TransferArgsOpts.weightLimit\"},{\"kind\":1024,\"name\":\"refTime\",\"url\":\"interfaces/TransferArgsOpts.html#weightLimit.__type.refTime\",\"classes\":\"\",\"parent\":\"TransferArgsOpts.weightLimit.__type\"},{\"kind\":1024,\"name\":\"proofSize\",\"url\":\"interfaces/TransferArgsOpts.html#weightLimit.__type.proofSize\",\"classes\":\"\",\"parent\":\"TransferArgsOpts.weightLimit.__type\"},{\"kind\":1024,\"name\":\"xcmVersion\",\"url\":\"interfaces/TransferArgsOpts.html#xcmVersion\",\"classes\":\"\",\"parent\":\"TransferArgsOpts\"},{\"kind\":1024,\"name\":\"keepAlive\",\"url\":\"interfaces/TransferArgsOpts.html#keepAlive\",\"classes\":\"\",\"parent\":\"TransferArgsOpts\"},{\"kind\":1024,\"name\":\"transferLiquidToken\",\"url\":\"interfaces/TransferArgsOpts.html#transferLiquidToken\",\"classes\":\"\",\"parent\":\"TransferArgsOpts\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,33.081]],[\"comment/0\",[]],[\"name/1\",[1,33.081]],[\"comment/1\",[]],[\"name/2\",[2,33.081]],[\"comment/2\",[]],[\"name/3\",[3,33.081]],[\"comment/3\",[]],[\"name/4\",[4,33.081]],[\"comment/4\",[]],[\"name/5\",[5,33.081]],[\"comment/5\",[]],[\"name/6\",[6,27.973]],[\"comment/6\",[]],[\"name/7\",[7,33.081]],[\"comment/7\",[]],[\"name/8\",[8,33.081]],[\"comment/8\",[]],[\"name/9\",[9,33.081]],[\"comment/9\",[]],[\"name/10\",[10,33.081]],[\"comment/10\",[]],[\"name/11\",[11,33.081]],[\"comment/11\",[]],[\"name/12\",[12,33.081]],[\"comment/12\",[]],[\"name/13\",[13,33.081]],[\"comment/13\",[]],[\"name/14\",[14,33.081]],[\"comment/14\",[]],[\"name/15\",[15,24.608]],[\"comment/15\",[]],[\"name/16\",[16,33.081]],[\"comment/16\",[]],[\"name/17\",[17,33.081]],[\"comment/17\",[]],[\"name/18\",[18,33.081]],[\"comment/18\",[]],[\"name/19\",[19,33.081]],[\"comment/19\",[]],[\"name/20\",[20,33.081]],[\"comment/20\",[]],[\"name/21\",[21,33.081]],[\"comment/21\",[]],[\"name/22\",[15,24.608]],[\"comment/22\",[]],[\"name/23\",[22,27.973]],[\"comment/23\",[]],[\"name/24\",[6,27.973]],[\"comment/24\",[]],[\"name/25\",[23,33.081]],[\"comment/25\",[]],[\"name/26\",[24,33.081]],[\"comment/26\",[]],[\"name/27\",[25,33.081]],[\"comment/27\",[]],[\"name/28\",[15,24.608]],[\"comment/28\",[]],[\"name/29\",[26,33.081]],[\"comment/29\",[]],[\"name/30\",[27,33.081]],[\"comment/30\",[]],[\"name/31\",[28,33.081]],[\"comment/31\",[]],[\"name/32\",[29,33.081]],[\"comment/32\",[]],[\"name/33\",[30,33.081]],[\"comment/33\",[]],[\"name/34\",[31,33.081]],[\"comment/34\",[]],[\"name/35\",[32,33.081]],[\"comment/35\",[]],[\"name/36\",[33,33.081]],[\"comment/36\",[]],[\"name/37\",[22,27.973]],[\"comment/37\",[]],[\"name/38\",[34,33.081]],[\"comment/38\",[]],[\"name/39\",[35,33.081]],[\"comment/39\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":31,\"name\":{\"34\":{}},\"comment\":{}}],[\"apiinfo\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"assetstransferapi\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"constructapipromise\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"constructedformat\",{\"_index\":16,\"name\":{\"16\":{}},\"comment\":{}}],[\"createtransfertransaction\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"decodeextrinsic\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"dest\",{\"_index\":20,\"name\":{\"20\":{}},\"comment\":{}}],[\"direction\",{\"_index\":6,\"name\":{\"6\":{},\"24\":{}},\"comment\":{}}],[\"fetchfeeinfo\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"format\",{\"_index\":15,\"name\":{\"15\":{},\"22\":{},\"28\":{}},\"comment\":{}}],[\"islimited\",{\"_index\":29,\"name\":{\"32\":{}},\"comment\":{}}],[\"keepalive\",{\"_index\":34,\"name\":{\"38\":{}},\"comment\":{}}],[\"localtransfertypes\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"method\",{\"_index\":23,\"name\":{\"25\":{}},\"comment\":{}}],[\"methods\",{\"_index\":18,\"name\":{\"18\":{}},\"comment\":{}}],[\"origin\",{\"_index\":21,\"name\":{\"21\":{}},\"comment\":{}}],[\"paratopara\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"paratorelay\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"paratosystem\",{\"_index\":12,\"name\":{\"12\":{}},\"comment\":{}}],[\"payswithfeedest\",{\"_index\":27,\"name\":{\"30\":{}},\"comment\":{}}],[\"payswithfeeorigin\",{\"_index\":26,\"name\":{\"29\":{}},\"comment\":{}}],[\"proofsize\",{\"_index\":33,\"name\":{\"36\":{}},\"comment\":{}}],[\"reftime\",{\"_index\":32,\"name\":{\"35\":{}},\"comment\":{}}],[\"relaytopara\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"relaytosystem\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}],[\"sendersaddr\",{\"_index\":28,\"name\":{\"31\":{}},\"comment\":{}}],[\"systemtopara\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"systemtorelay\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"systemtosystem\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"transferargsopts\",{\"_index\":25,\"name\":{\"27\":{}},\"comment\":{}}],[\"transferliquidtoken\",{\"_index\":35,\"name\":{\"39\":{}},\"comment\":{}}],[\"tx\",{\"_index\":24,\"name\":{\"26\":{}},\"comment\":{}}],[\"txresult\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"weightlimit\",{\"_index\":30,\"name\":{\"33\":{}},\"comment\":{}}],[\"xcmversion\",{\"_index\":22,\"name\":{\"23\":{},\"37\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = JSON.parse("{\"rows\":[{\"kind\":2,\"name\":\"AssetsTransferApi\",\"url\":\"modules/AssetsTransferApi.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"AssetsTransferApi\",\"url\":\"classes/AssetsTransferApi.AssetsTransferApi.html\",\"classes\":\"\",\"parent\":\"AssetsTransferApi\"},{\"kind\":2048,\"name\":\"createTransferTransaction\",\"url\":\"classes/AssetsTransferApi.AssetsTransferApi.html#createTransferTransaction\",\"classes\":\"\",\"parent\":\"AssetsTransferApi.AssetsTransferApi\"},{\"kind\":2048,\"name\":\"fetchFeeInfo\",\"url\":\"classes/AssetsTransferApi.AssetsTransferApi.html#fetchFeeInfo\",\"classes\":\"\",\"parent\":\"AssetsTransferApi.AssetsTransferApi\"},{\"kind\":2048,\"name\":\"decodeExtrinsic\",\"url\":\"classes/AssetsTransferApi.AssetsTransferApi.html#decodeExtrinsic\",\"classes\":\"\",\"parent\":\"AssetsTransferApi.AssetsTransferApi\"},{\"kind\":2,\"name\":\"constructApiPromise\",\"url\":\"modules/constructApiPromise.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"ApiInfo\",\"url\":\"interfaces/constructApiPromise.ApiInfo.html\",\"classes\":\"\",\"parent\":\"constructApiPromise\"},{\"kind\":1024,\"name\":\"api\",\"url\":\"interfaces/constructApiPromise.ApiInfo.html#api\",\"classes\":\"\",\"parent\":\"constructApiPromise.ApiInfo\"},{\"kind\":1024,\"name\":\"specName\",\"url\":\"interfaces/constructApiPromise.ApiInfo.html#specName\",\"classes\":\"\",\"parent\":\"constructApiPromise.ApiInfo\"},{\"kind\":1024,\"name\":\"safeXcmVersion\",\"url\":\"interfaces/constructApiPromise.ApiInfo.html#safeXcmVersion\",\"classes\":\"\",\"parent\":\"constructApiPromise.ApiInfo\"},{\"kind\":64,\"name\":\"constructApiPromise\",\"url\":\"functions/constructApiPromise.constructApiPromise.html\",\"classes\":\"\",\"parent\":\"constructApiPromise\"},{\"kind\":2,\"name\":\"types\",\"url\":\"modules/types.html\",\"classes\":\"\"},{\"kind\":8,\"name\":\"Direction\",\"url\":\"enums/types.Direction.html\",\"classes\":\"\",\"parent\":\"types\"},{\"kind\":16,\"name\":\"SystemToPara\",\"url\":\"enums/types.Direction.html#SystemToPara\",\"classes\":\"\",\"parent\":\"types.Direction\"},{\"kind\":16,\"name\":\"SystemToRelay\",\"url\":\"enums/types.Direction.html#SystemToRelay\",\"classes\":\"\",\"parent\":\"types.Direction\"},{\"kind\":16,\"name\":\"SystemToSystem\",\"url\":\"enums/types.Direction.html#SystemToSystem\",\"classes\":\"\",\"parent\":\"types.Direction\"},{\"kind\":16,\"name\":\"ParaToPara\",\"url\":\"enums/types.Direction.html#ParaToPara\",\"classes\":\"\",\"parent\":\"types.Direction\"},{\"kind\":16,\"name\":\"ParaToRelay\",\"url\":\"enums/types.Direction.html#ParaToRelay\",\"classes\":\"\",\"parent\":\"types.Direction\"},{\"kind\":16,\"name\":\"ParaToSystem\",\"url\":\"enums/types.Direction.html#ParaToSystem\",\"classes\":\"\",\"parent\":\"types.Direction\"},{\"kind\":16,\"name\":\"RelayToSystem\",\"url\":\"enums/types.Direction.html#RelayToSystem\",\"classes\":\"\",\"parent\":\"types.Direction\"},{\"kind\":16,\"name\":\"RelayToPara\",\"url\":\"enums/types.Direction.html#RelayToPara\",\"classes\":\"\",\"parent\":\"types.Direction\"},{\"kind\":4194304,\"name\":\"Format\",\"url\":\"types/types.Format.html\",\"classes\":\"\",\"parent\":\"types\"},{\"kind\":4194304,\"name\":\"ConstructedFormat\",\"url\":\"types/types.ConstructedFormat.html\",\"classes\":\"\",\"parent\":\"types\"},{\"kind\":4194304,\"name\":\"LocalTransferTypes\",\"url\":\"types/types.LocalTransferTypes.html\",\"classes\":\"\",\"parent\":\"types\"},{\"kind\":4194304,\"name\":\"Methods\",\"url\":\"types/types.Methods.html\",\"classes\":\"\",\"parent\":\"types\"},{\"kind\":256,\"name\":\"TxResult\",\"url\":\"interfaces/types.TxResult.html\",\"classes\":\"\",\"parent\":\"types\"},{\"kind\":1024,\"name\":\"dest\",\"url\":\"interfaces/types.TxResult.html#dest\",\"classes\":\"\",\"parent\":\"types.TxResult\"},{\"kind\":1024,\"name\":\"origin\",\"url\":\"interfaces/types.TxResult.html#origin\",\"classes\":\"\",\"parent\":\"types.TxResult\"},{\"kind\":1024,\"name\":\"format\",\"url\":\"interfaces/types.TxResult.html#format\",\"classes\":\"\",\"parent\":\"types.TxResult\"},{\"kind\":1024,\"name\":\"xcmVersion\",\"url\":\"interfaces/types.TxResult.html#xcmVersion\",\"classes\":\"\",\"parent\":\"types.TxResult\"},{\"kind\":1024,\"name\":\"direction\",\"url\":\"interfaces/types.TxResult.html#direction\",\"classes\":\"\",\"parent\":\"types.TxResult\"},{\"kind\":1024,\"name\":\"method\",\"url\":\"interfaces/types.TxResult.html#method\",\"classes\":\"\",\"parent\":\"types.TxResult\"},{\"kind\":1024,\"name\":\"tx\",\"url\":\"interfaces/types.TxResult.html#tx\",\"classes\":\"\",\"parent\":\"types.TxResult\"},{\"kind\":256,\"name\":\"TransferArgsOpts\",\"url\":\"interfaces/types.TransferArgsOpts.html\",\"classes\":\"\",\"parent\":\"types\"},{\"kind\":1024,\"name\":\"format\",\"url\":\"interfaces/types.TransferArgsOpts.html#format\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts\"},{\"kind\":1024,\"name\":\"paysWithFeeOrigin\",\"url\":\"interfaces/types.TransferArgsOpts.html#paysWithFeeOrigin\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts\"},{\"kind\":1024,\"name\":\"paysWithFeeDest\",\"url\":\"interfaces/types.TransferArgsOpts.html#paysWithFeeDest\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts\"},{\"kind\":1024,\"name\":\"sendersAddr\",\"url\":\"interfaces/types.TransferArgsOpts.html#sendersAddr\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts\"},{\"kind\":1024,\"name\":\"isLimited\",\"url\":\"interfaces/types.TransferArgsOpts.html#isLimited\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts\"},{\"kind\":1024,\"name\":\"weightLimit\",\"url\":\"interfaces/types.TransferArgsOpts.html#weightLimit\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/types.TransferArgsOpts.html#weightLimit.__type\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts.weightLimit\"},{\"kind\":1024,\"name\":\"refTime\",\"url\":\"interfaces/types.TransferArgsOpts.html#weightLimit.__type.refTime\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts.weightLimit.__type\"},{\"kind\":1024,\"name\":\"proofSize\",\"url\":\"interfaces/types.TransferArgsOpts.html#weightLimit.__type.proofSize\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts.weightLimit.__type\"},{\"kind\":1024,\"name\":\"xcmVersion\",\"url\":\"interfaces/types.TransferArgsOpts.html#xcmVersion\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts\"},{\"kind\":1024,\"name\":\"keepAlive\",\"url\":\"interfaces/types.TransferArgsOpts.html#keepAlive\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts\"},{\"kind\":1024,\"name\":\"transferLiquidToken\",\"url\":\"interfaces/types.TransferArgsOpts.html#transferLiquidToken\",\"classes\":\"\",\"parent\":\"types.TransferArgsOpts\"},{\"kind\":2,\"name\":\"errors/BaseError\",\"url\":\"modules/errors_BaseError.html\",\"classes\":\"\"},{\"kind\":8,\"name\":\"BaseErrorsEnum\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html\",\"classes\":\"\",\"parent\":\"errors/BaseError\"},{\"kind\":16,\"name\":\"InvalidInput\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#InvalidInput\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"InvalidAsset\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#InvalidAsset\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"AssetNotFound\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#AssetNotFound\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"InvalidPallet\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#InvalidPallet\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"PalletNotFound\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#PalletNotFound\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"InvalidDirection\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#InvalidDirection\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"InvalidMultiLocationAsset\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#InvalidMultiLocationAsset\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"MultipleNonUniqueAssetsFound\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#MultipleNonUniqueAssetsFound\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"RegistryNotFound\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#RegistryNotFound\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"InvalidXcmVersion\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#InvalidXcmVersion\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"NotImplemented\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#NotImplemented\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"InternalError\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#InternalError\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"InvalidAddress\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#InvalidAddress\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"},{\"kind\":16,\"name\":\"DisabledOption\",\"url\":\"enums/errors_BaseError.BaseErrorsEnum.html#DisabledOption\",\"classes\":\"\",\"parent\":\"errors/BaseError.BaseErrorsEnum\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,32.268]],[\"comment/0\",[]],[\"name/1\",[0,32.268]],[\"comment/1\",[]],[\"name/2\",[1,37.377]],[\"comment/2\",[]],[\"name/3\",[2,37.377]],[\"comment/3\",[]],[\"name/4\",[3,37.377]],[\"comment/4\",[]],[\"name/5\",[4,32.268]],[\"comment/5\",[]],[\"name/6\",[5,37.377]],[\"comment/6\",[]],[\"name/7\",[6,37.377]],[\"comment/7\",[]],[\"name/8\",[7,37.377]],[\"comment/8\",[]],[\"name/9\",[8,37.377]],[\"comment/9\",[]],[\"name/10\",[4,32.268]],[\"comment/10\",[]],[\"name/11\",[9,37.377]],[\"comment/11\",[]],[\"name/12\",[10,32.268]],[\"comment/12\",[]],[\"name/13\",[11,37.377]],[\"comment/13\",[]],[\"name/14\",[12,37.377]],[\"comment/14\",[]],[\"name/15\",[13,37.377]],[\"comment/15\",[]],[\"name/16\",[14,37.377]],[\"comment/16\",[]],[\"name/17\",[15,37.377]],[\"comment/17\",[]],[\"name/18\",[16,37.377]],[\"comment/18\",[]],[\"name/19\",[17,37.377]],[\"comment/19\",[]],[\"name/20\",[18,37.377]],[\"comment/20\",[]],[\"name/21\",[19,28.904]],[\"comment/21\",[]],[\"name/22\",[20,37.377]],[\"comment/22\",[]],[\"name/23\",[21,37.377]],[\"comment/23\",[]],[\"name/24\",[22,37.377]],[\"comment/24\",[]],[\"name/25\",[23,37.377]],[\"comment/25\",[]],[\"name/26\",[24,37.377]],[\"comment/26\",[]],[\"name/27\",[25,37.377]],[\"comment/27\",[]],[\"name/28\",[19,28.904]],[\"comment/28\",[]],[\"name/29\",[26,32.268]],[\"comment/29\",[]],[\"name/30\",[10,32.268]],[\"comment/30\",[]],[\"name/31\",[27,37.377]],[\"comment/31\",[]],[\"name/32\",[28,37.377]],[\"comment/32\",[]],[\"name/33\",[29,37.377]],[\"comment/33\",[]],[\"name/34\",[19,28.904]],[\"comment/34\",[]],[\"name/35\",[30,37.377]],[\"comment/35\",[]],[\"name/36\",[31,37.377]],[\"comment/36\",[]],[\"name/37\",[32,37.377]],[\"comment/37\",[]],[\"name/38\",[33,37.377]],[\"comment/38\",[]],[\"name/39\",[34,37.377]],[\"comment/39\",[]],[\"name/40\",[35,37.377]],[\"comment/40\",[]],[\"name/41\",[36,37.377]],[\"comment/41\",[]],[\"name/42\",[37,37.377]],[\"comment/42\",[]],[\"name/43\",[26,32.268]],[\"comment/43\",[]],[\"name/44\",[38,37.377]],[\"comment/44\",[]],[\"name/45\",[39,37.377]],[\"comment/45\",[]],[\"name/46\",[40,37.377]],[\"comment/46\",[]],[\"name/47\",[41,37.377]],[\"comment/47\",[]],[\"name/48\",[42,37.377]],[\"comment/48\",[]],[\"name/49\",[43,37.377]],[\"comment/49\",[]],[\"name/50\",[44,37.377]],[\"comment/50\",[]],[\"name/51\",[45,37.377]],[\"comment/51\",[]],[\"name/52\",[46,37.377]],[\"comment/52\",[]],[\"name/53\",[47,37.377]],[\"comment/53\",[]],[\"name/54\",[48,37.377]],[\"comment/54\",[]],[\"name/55\",[49,37.377]],[\"comment/55\",[]],[\"name/56\",[50,37.377]],[\"comment/56\",[]],[\"name/57\",[51,37.377]],[\"comment/57\",[]],[\"name/58\",[52,37.377]],[\"comment/58\",[]],[\"name/59\",[53,37.377]],[\"comment/59\",[]],[\"name/60\",[54,37.377]],[\"comment/60\",[]],[\"name/61\",[55,37.377]],[\"comment/61\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":35,\"name\":{\"40\":{}},\"comment\":{}}],[\"api\",{\"_index\":6,\"name\":{\"7\":{}},\"comment\":{}}],[\"apiinfo\",{\"_index\":5,\"name\":{\"6\":{}},\"comment\":{}}],[\"assetnotfound\",{\"_index\":44,\"name\":{\"50\":{}},\"comment\":{}}],[\"assetstransferapi\",{\"_index\":0,\"name\":{\"0\":{},\"1\":{}},\"comment\":{}}],[\"baseerrorsenum\",{\"_index\":41,\"name\":{\"47\":{}},\"comment\":{}}],[\"constructapipromise\",{\"_index\":4,\"name\":{\"5\":{},\"10\":{}},\"comment\":{}}],[\"constructedformat\",{\"_index\":20,\"name\":{\"22\":{}},\"comment\":{}}],[\"createtransfertransaction\",{\"_index\":1,\"name\":{\"2\":{}},\"comment\":{}}],[\"decodeextrinsic\",{\"_index\":3,\"name\":{\"4\":{}},\"comment\":{}}],[\"dest\",{\"_index\":24,\"name\":{\"26\":{}},\"comment\":{}}],[\"direction\",{\"_index\":10,\"name\":{\"12\":{},\"30\":{}},\"comment\":{}}],[\"disabledoption\",{\"_index\":55,\"name\":{\"61\":{}},\"comment\":{}}],[\"errors/baseerror\",{\"_index\":40,\"name\":{\"46\":{}},\"comment\":{}}],[\"fetchfeeinfo\",{\"_index\":2,\"name\":{\"3\":{}},\"comment\":{}}],[\"format\",{\"_index\":19,\"name\":{\"21\":{},\"28\":{},\"34\":{}},\"comment\":{}}],[\"internalerror\",{\"_index\":53,\"name\":{\"59\":{}},\"comment\":{}}],[\"invalidaddress\",{\"_index\":54,\"name\":{\"60\":{}},\"comment\":{}}],[\"invalidasset\",{\"_index\":43,\"name\":{\"49\":{}},\"comment\":{}}],[\"invaliddirection\",{\"_index\":47,\"name\":{\"53\":{}},\"comment\":{}}],[\"invalidinput\",{\"_index\":42,\"name\":{\"48\":{}},\"comment\":{}}],[\"invalidmultilocationasset\",{\"_index\":48,\"name\":{\"54\":{}},\"comment\":{}}],[\"invalidpallet\",{\"_index\":45,\"name\":{\"51\":{}},\"comment\":{}}],[\"invalidxcmversion\",{\"_index\":51,\"name\":{\"57\":{}},\"comment\":{}}],[\"islimited\",{\"_index\":33,\"name\":{\"38\":{}},\"comment\":{}}],[\"keepalive\",{\"_index\":38,\"name\":{\"44\":{}},\"comment\":{}}],[\"localtransfertypes\",{\"_index\":21,\"name\":{\"23\":{}},\"comment\":{}}],[\"method\",{\"_index\":27,\"name\":{\"31\":{}},\"comment\":{}}],[\"methods\",{\"_index\":22,\"name\":{\"24\":{}},\"comment\":{}}],[\"multiplenonuniqueassetsfound\",{\"_index\":49,\"name\":{\"55\":{}},\"comment\":{}}],[\"notimplemented\",{\"_index\":52,\"name\":{\"58\":{}},\"comment\":{}}],[\"origin\",{\"_index\":25,\"name\":{\"27\":{}},\"comment\":{}}],[\"palletnotfound\",{\"_index\":46,\"name\":{\"52\":{}},\"comment\":{}}],[\"paratopara\",{\"_index\":14,\"name\":{\"16\":{}},\"comment\":{}}],[\"paratorelay\",{\"_index\":15,\"name\":{\"17\":{}},\"comment\":{}}],[\"paratosystem\",{\"_index\":16,\"name\":{\"18\":{}},\"comment\":{}}],[\"payswithfeedest\",{\"_index\":31,\"name\":{\"36\":{}},\"comment\":{}}],[\"payswithfeeorigin\",{\"_index\":30,\"name\":{\"35\":{}},\"comment\":{}}],[\"proofsize\",{\"_index\":37,\"name\":{\"42\":{}},\"comment\":{}}],[\"reftime\",{\"_index\":36,\"name\":{\"41\":{}},\"comment\":{}}],[\"registrynotfound\",{\"_index\":50,\"name\":{\"56\":{}},\"comment\":{}}],[\"relaytopara\",{\"_index\":18,\"name\":{\"20\":{}},\"comment\":{}}],[\"relaytosystem\",{\"_index\":17,\"name\":{\"19\":{}},\"comment\":{}}],[\"safexcmversion\",{\"_index\":8,\"name\":{\"9\":{}},\"comment\":{}}],[\"sendersaddr\",{\"_index\":32,\"name\":{\"37\":{}},\"comment\":{}}],[\"specname\",{\"_index\":7,\"name\":{\"8\":{}},\"comment\":{}}],[\"systemtopara\",{\"_index\":11,\"name\":{\"13\":{}},\"comment\":{}}],[\"systemtorelay\",{\"_index\":12,\"name\":{\"14\":{}},\"comment\":{}}],[\"systemtosystem\",{\"_index\":13,\"name\":{\"15\":{}},\"comment\":{}}],[\"transferargsopts\",{\"_index\":29,\"name\":{\"33\":{}},\"comment\":{}}],[\"transferliquidtoken\",{\"_index\":39,\"name\":{\"45\":{}},\"comment\":{}}],[\"tx\",{\"_index\":28,\"name\":{\"32\":{}},\"comment\":{}}],[\"txresult\",{\"_index\":23,\"name\":{\"25\":{}},\"comment\":{}}],[\"types\",{\"_index\":9,\"name\":{\"11\":{}},\"comment\":{}}],[\"weightlimit\",{\"_index\":34,\"name\":{\"39\":{}},\"comment\":{}}],[\"xcmversion\",{\"_index\":26,\"name\":{\"29\":{},\"43\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/classes/AssetsTransferApi.html b/docs/classes/AssetsTransferApi.AssetsTransferApi.html similarity index 56% rename from docs/classes/AssetsTransferApi.html rename to docs/classes/AssetsTransferApi.AssetsTransferApi.html index 62b64084..2c5c9280 100644 --- a/docs/classes/AssetsTransferApi.html +++ b/docs/classes/AssetsTransferApi.AssetsTransferApi.html @@ -12,12 +12,15 @@
Create an asset transfer transaction. This can be either locally on a systems parachain or relay chain, or between chains using xcm.
+import { TxResult } from '@substrate/asset-transfer-api'
let callInfo: TxResult<'call'>;
try {
callInfo = await assetsApi.createTransferTransaction(
'1000',
'5EWNeodpcQ6iYibJ3jmWVe85nsok1EDG8Kk3aFg8ZzpfY1qX',
['WND'],
['1000000000000'],
{
format: 'call',
isLimited: true,
xcmVersion: 2,
}
)
} catch (e) {
console.error(e);
throw Error(e);
}
+
Options
Decodes the hex of an extrinsic into a string readable format
+Decodes the hex of an extrinsic into a string readable format.
+const decodedExt = assetsApi.decodeExtrinsic(tx, 'call');
console.log(JSON.parse(decodedExt));
+
a payload, call or submittable
Holds open an api connection to a specified chain within the ApiPromise in order to help construct transactions for assets and estimating fees.
+