Stellar
/getbalance
Get the balance or number of the given token in the requested public address.
GET
https://api.expand.network/chain/getbalance
Query Parameters
rpc
String
Remote procedural call URL
chainId*
String
chainSymbol
String
address*
String
The public address to get the balance of.
issuer
String
The public address of the issuer.
assetCode
String
The code of asset to get the balance of. *Required, if issuer address is provided.
https://api.expand.network/chain/getbalance/?chainId=1500&address=GC4KAS6W2YCGJGLP633A6F6AKTCV4WSLMTMIQRSEQE5QRRVKSX7THV6S&issuer=GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M&assetCode=VELO
{
"status": 200,
"msg": "success",
"data": {
"assetCode": "VELO",
"issuer": "GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M",
"balance": "2555109235706160"
}
}
/getblock
Get details of a block(ledger).
GET
https://historicallp.api.expand.network/chain/getblock
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
blockNumber*
String
Sequence number of the ledger.
https://historicallp.api.expand.network/chain/getblock?chainId=1500&blockNumber=50755373
{
"status": 200,
"msg": "success",
"data": {
"difficulty": null,
"gasLimit": null,
"gasUsed": null,
"hash": "691675c6d439f546fc4996740a3ab899f77b11eca15890e4035a6196de194720",
"miner": null,
"nonce": null,
"number": 50755373,
"parentHash": "b734852cf9763646a2c42da652a06d309ce928e0a877fa70a6ce9981f79954d8",
"size": null,
"timestamp": 1710228542,
"totalDifficulty": null,
"transactions": [
"acd6bb8fa33037f3c68908d9f1fa175b4680ff972d3a010a296e46e850ea4624",
"cbbb5c679cd5b793d04a934a6171f8c616b2b8b971c04ddf1494fa39474c216a",
"dea772a3fa2cb7687dd98a41815a7a196bb5f97fec24aa254a96961b801ee582",
"7b33fab3a6ff1aa8f7a6182953f177deb127574f53433d74a8adabdcd4553292",
"481e6c78a606c62bf5c16a10c6efb8c1ec88a3da2fa7f10cef7202ba9121956d",
"887b05f17bb7abb853b69b5b8d17a014b8ef605bdaf488513e7cdf96d3e2ab46",
"6650d6a1cb09bc5c1ee4696d86705bdce5215ff0ad69c6115ddd639ce6f3d28f",
"8fbfa7b0d9218db20500d0323e3a23a24568738fa8deb21d8a658aee2086c324",
"a85db8ad9c5c2a07b89bd8af801702d2d0bba5d770a78ba96b3db971a5081874",
"32e9f2b496cea35dae74a533379968e9db4640df533abd66dd21f3ccf9a9a102",
"0e2e93794ad437ea1c3cdd0d8fc8d8d6e63997b053d664a36befa38cc91d20ca",
"5a95822955e9d181bc46478a1596ccf9f73257545f0a706a44d15045955a8e1d",
"af4c3c085c93cab5add1bc3574aebfb4903d54c524344bcab6b9f4714c3a6a2a",
"eec392947596ccd78787168798512c395b5d2bda53de8fa99e7d2d7d092261ea",
"5b37d726d3bb10691532d8acc8b8847cc66202f937c26cf9c9663e43dd5ffe78",
"1d45e2080a7c21fe31ed06679b93161607b89f9324529c32dc556912c93b17e0",
"646abe0ddc5d75812401b69ccea0e887a49e671824ba93cfedc18f8a99af2295",
"fbbe76db26922efe48705d46190531cf37d2c160e02443511e82acccc47d5a0c",
"1df229d27cfe03b7d72c9e4b83178f9d88b29675be60f6812785f98b11857555",
"01eadc75aef62dea92114d414445e6ad412fc0ec55b9158639189495690f78df",
"555af1ae68fc3ce2e46c3ec84dfc5e2ac0789fd0124b8527a67e12bb33712bbf",
"f0cb18175abc99562c8c6cf2a318ab57f79e0e6f9685b80fa59093c1017f9301",
"279ba9f85f3250cc69692a64a69afd46cdc5e112c6a2b62445fcf1ac5475416e",
"819439a4f9c2de9b733a9e59e93f229710a50cdb8d0e62800f7618f7e96b081f",
"9e9cc76044eb38e64b5d103d00db9e001fe7723c3bc05d8ed9a6dcc8f737138c",
"17ae2196d17fbc8f95d6c083ae3d93c5c62627ade110b838b49d1d0a1f6a1d20",
"e0c52c2d40198fae550cbe3fff371b9af64eae1612f7a811d0a6502cf5636271",
"9d663a8b3f9e447829c2f25d3e2a827e2c3ccb1004f3b54ffefe9a0cb6bc2bad",
"6436675e8e55c0a308cc42082e255dd3d9bd6626d0e0ded0ef00862751e2ab28",
"0f03056afe4bcc1a0124553b3d2ccadd88fbba82020250a82fad138b630b265c",
"f3a8d0eb9a1444970b0eb993b76a2eb183dfb3a4707c78b42a03cb49fae7a8c6",
"6554555544fe780cb6bf3bfc8970e5654713ce551b456f1875ceda84b366860f",
"6106dda6e346543adfabc1d0fc5931c6e2166423969369b565f59c8d2bd2c8ce",
"6a44cb9672f5c8b37dd745a8941ef767e1b5bd7b3ed819a362674f11ace01a1b",
"f4c5391ab820ef19f2cd0df68789336f04ac316d4fdf705545a0062194c3f3f1",
"6b0e2d9a72bc1d1c8492d68039e44fb905f824a54c5fe7925a042389a19eef68",
"944f76928d809b4df6868e3bb46b1c3ea13c2080bc1785a8baeedfee9178f58f",
"ebbbefdea32844be3559535402093a1165d4e2028ee346fcc23101c8bba4feb2",
"ed61383463eaa1559390a0c0f1a0689670a3a98229783f51b17557d837c12131",
"c2c0698b03b59c787a74a3fd7f49a8bccd2698d2302568c9f6af4818a214cf31",
"80ba70e822e0c9852e3a5b8980ad3fa41afa9083a50b04d9333b0c3194a346b0",
"18999d877fa94f360c68429e29985052f53a96b4301079a3eb1fa6c7d6c61193",
"31461117fddb19d5420882ebc8c82747885c21871fe9f15b129a98cb49540555",
"254c023bac7813e037e743e58beb432f4eadec48ca5cc788cfbad635f94227c8",
"7e73f368e5a63226ab583381e69900b1622319dee386d81e8f02d81bbc57ded1",
"6ee545573e354facabf68ea6b56bf4c30640998af4239103390b8d0e13192856",
"e624726a6bd762b6d1131f0df827c20fb95796aa6ee69be7cf572d2f5bf66998",
"03c8bed43830ba6592d794b0b899ca6e13bb417e53455ba4a1a92c81584ae681",
"37b343f6664705ce7d2dd53f1adee3d67aa7aec2576c45175a3a3cda41fd3325",
"4f0f517d1b06ed20efe05b145a771d45ebe69a3ef059db38b978bef20b10731c",
"797490f881b1964cd4381e2ae81fce4ca28c26732bbdecfb0bbc4823171ef946",
"1a302b5e360414ef5801707825a7062fd347d756000ef63defe3832aa87ea052",
"35db734749db83abc34e5a532403aa76b10fafabe7a1cbdabffe3bd513bc1e5c",
"1a8ee0953e8a9b7ed3bb07818e67ec3140ceeea897d8830dcead569e4de0d97d",
"143591699515d6698964a0f289b608cd4710ec58b4f8a99b82e7c1b9ce519ada",
"5cb7afae5fdde4928ec98d5835a4dd4ccdd868f2012116144efad72f586b6968",
"9284e0fbf184f036db06172c8d37b854092a3f459217d765bd9430297b20c664",
"b3e8575dc4aa30670e0b03832ab567abc6d664e260a1cc1cdfd23e4298813dc4",
"888fbb6b25b6189d0daedeee302818228a4b6b3da2890ed4e3a202bedae273c1",
"339b14905b413d4a0bc3bbef28fed280ff2c39119f1cd8175bf326a7931c9d56",
"ac00c11e7df908606cc33b138fcf9106262508c0e7bf196aae906e040e4cfda9",
"33b72aa6ddb777be96bec940995024bd1fc42b0f803d8971fbd92635aa2a4696",
"ed4285880435233b5b7cfc51f1ef5a971969fce4a2e3842dfb09b553830690e2",
"ab681826f4259f820fa51f318791b51d2043ca17b6663a6917cdb44c9bdf38a5",
"16ba8124c78cdb78311895057eb6e390cad5448d7ad172a26ca5828c8b5320d2",
"b4201efcdab476a31791bc0d171adcaf2f6639c8ed5606677dfd28090f8ef072",
"5979f740dc6674f9801c5c38b5fab1e7a026cdca25fc3216f7b0df2ee6f6fa7c",
"9dc9890512be58d961ef6b6fc75db499a05785e5ee23a946ee016de2175d5f32",
"e0f920810019eef6660b18e61c46928c9279b5bc3e5570b0e3fbce704b2f5e76",
"f3c4f3cc79d4275e1d5f7003c56affed6fbcb011731af6f4f619b26df73931cf",
"08a8844caa19cd9013b9ccad2ae471f36c29b05ef6f2ca44d30890ea93279b85",
"be11133b5805f3a2abe8b4265ca1fdc38270dbf5d41487fd80639d08c8f222cb",
"224e9a9fdba7b946b364432f38306b8c7931305f4fc4920d18edb707db53f2b7",
"08170d98ff845edee29d8a8708b392e1ea6528f6fd3dc4ed7688763ce1fe30fa",
"e6b28e7afd893e9d6241ffcdaf0819a3572f498500b4322ce1fd1a05c3d620ff",
"f2b000dcacfd05fef1f007bd1ba549aff1be9f7f1a1fee288f2dbc7604260ac7",
"e7242bcccc47e980c6ccd87d02fb706be3bd6539d492b6b189490064c79255fd",
"445c162c877a0ce6129790a1aa350eb28a08b35ac5f06f4bf9e58e394a2ae91b",
"f742ff342393272e2839dee628294f1bdaefdb86f457481a974dc707bf135f80",
"5e84a4c7719c6dedcfa4802d25f99350ccc0d05d18a1a9b3e0224328c4086c10",
"4f6b6c14a31008f356da2734a4055e072e887cc87b262371b5e9fa61b3373414",
"f11448b5bde3cb364084cab9c139a7a5e4244d0ca279149ee94b8946f1ffbb51",
"4ee7fb29b98afb9594e23fc906eaaa7090e14cd7010e8651b9942325f0a38892",
"22223ba4bec52c1891ae21f9439ec71e72c205c2c59d8c3f8aa7bbdc202c4b24",
"54a2368fba01b84eae0ceb439b72327db79ed372dc2c98c8a68a7b9456037cc9",
"ecb17d8172e4f377b37ccee92e2a5a6dc8e729deddae14ede8057c82d01c9910",
"331ab3ef3313fda3331e5acf1c0a449ebd1dcb804ccbbd8c29a6a7e75cc25a5c",
"c5824ff31fd0206f04dda79b8fb0e3a4b6cfb0af78f68665cdde10fd8c07f6d1",
"8d84ea67502b3a2be9377a14bb80c1d23f4c7639944d24ad5bdb42f8528edcc6",
"ac27b260f50056319b38f6ac759b79d86046ad58605184103891bbe9f45415f3",
"5733979bb4d26ebcd029c02d1ce3f6dcc7a2df193437c62f3e13119152edb4e5",
"d96aeff7629cc39b200fd1f4164d59d547c05ab387d8c609f2288cd113f7ccf3",
"92fa8e2a5b3964f5a1e4e603565cc8e6aba77e4beb99e18f3da87721f90c76f5",
"c28765ac8d37d48b37f05116319692087e207da31c7e949708c579eb45be7115",
"165d18d3a6a03a0175cecb95a988406295112070845c846feb9e03900199c358",
"da91f7e18db0dc77af00aeb586aef3f25f4404f350c6f77dfb40fc6eede43206",
"7d84294bb2662dd43a9d325d9b43381cfb423e191bc5ffaad08c84f5f626f77e",
"8f06aa2b36f98b9585a450080b6d1e8c39367b01aac527681ffa4f9ab9c27e34",
"78e8ed1640888bec94852e7850c8e361c56979546f6c330d7947462fa8d43773",
"4ec7d1d1bb3c49bf92320d3e56825231c3cf33c36badd653014da0eda6031a08",
"86480c74442fd29aa8e208a7ef843b87cd0a2e6a488d463b50aee29ee8342fa0",
"c91054c48a500afcd06bdf799d3419eca48e819657cf7e0f8ee579e3e3ae7cb9",
"db193529cbdb5d6b14f3b1fe5fa8b32f89b5d4ce17065e491e6ac05b85ef4923",
"13fed36432a6407fb46bfd783bf411de371566149e1582ba4743fe6e02c00b65",
"507b1f8fcc9677132b5c74d4b5819d1cd5bf5b42c76f0feeeeb245fed111003a",
"1477e4726b451808e2334021e7f14eb71745bc485d6dd6220e96ad05ed494ec5",
"ed8a11431b3806b6ba26745bc70b8593971a43db9b744e5062b38de36a0802c4",
"2ba8b5529c02a5e102f8c5af19020cdd2bc70915113dcd4b38c88ba9b1483760",
"115bdb0aa58c31220e3170af34f1fc806a65c8cac0a8ad803195ed91bf349f63",
"e1eb020dd041f511e4ac7bc9b8766929c16ffdfa4e29d3477f06e25f011b5702",
"600b40d3feda685b5d5766436e0a1553647f7f34d1a8bdb9da647220dfed0a16",
"18571409bc077ba7ece7f8f4f19c4286baaf3ad62e32b049ac0d7a4cc2dd65e6",
"b82c8b996dd49675d3e32c000e09ad0dfe7e32d917cfe4aef2e75d8623deb479",
"3cc356e51cce0f3c39283c76fea60e8842218e4e5ce5f9f73cc37c4183d4c6a0",
"03dd3fc513923bf7bf7226c780dfe66df00b12564cac2bd17fafcfd4dbc769a8",
"043a089b2dc90ed6527d82bb7d3479e446b045b263212943ed8d7de5a3f8ee44",
"e50de462f32248fd796724464b3a5b9a3456e383d7a5d4377821be4009285a9a",
"0babcfc2b1f3a0f3a63ac7fa9a1605464a7475f1a6ddc5857daefe878033c0b3",
"dd882df2e5255c0de6c292869d6725586c113a5f8062bd5078dc7b315c39de36",
"5c878ad84ec71d26bfcf2146e0696972876b0c4e29e8a078fdc6b861b9acd6c3",
"797031fe7785f896676d4ecdca69a2cbd552c9cd88ec552c3b5048ec8a8569d0",
"a10530850134b28dd1ae2eb87c7ba4311aaae9d38059995306868855fe716bf5",
"cc0bf7da4eb3f368f562b562657b57aaf663eebafde0bc9d65e1762cd6118795",
"8d557cda51a2c87d937376a656b9c26e6fa3ebc841357539876f5c7d8d2eeb01",
"e165cf004c94bb9587ca401a67a718eef6e6521d5edd6e36b5b6de050a5df545",
"4a3c3ae92dbd1dc64179974a5d2e4a27addb92d165a74c4e10076b199e247ca3",
"c48f7ae453ec249aa6ef58554ca8a9e464c10f0b69b7ffbccf66e2ac8ae979b2",
"a4ad8570a503f414e96e945aff12c01a4f88548158fc85412ed5d2b6bf507849",
"df21695ddee0f5664e92a35ca01d6aabfce6cf4625f4a627e75f8e734d136ca1",
"91221586c08e8d90a1bad84989dc4788251f88d55694fe3e32654152882bf0dc",
"ffabfd0bbc7a72e076af8a43acb23f5487b33e57c16e50e121357a161cb1f607",
"5197c545eefe981ca93670d61cfa467fce2448d6e1e45ed62c575b89ac45bfb0",
"66919f21e30e16d0daf49b2fa9b0f318276111cebba480440ee918dd6042732a",
"951fc3bb2098ff549be4d6bd2f69849ebc4d9cdf981889c99c3d26b417d2ee34",
"13ce29f526423d7c350b27ffefc54c4848e4e0c5676e98996a45a11e00b043d8",
"da47fe9f837a1ae5551b5656d24607b00799c632ba1ec45c5b7b55989e666ba7",
"2af280897ecac7a777077af7fd5f271575d3b7877ae31248b46ada22202bd2a9",
"752dc2bd7c7183c123370784e0ad8938d12ab22993b7a0d440b5d447eb7fcf7a",
"7f2a1eb56166d104fd786c040445faa4f5e12df3d875484da4f5a55a29a939c3",
"9d888806d609bf58d90ddb30a0c1af6bec91f995b8a848df2e31cad5e63bd234",
"0211338a32c4c65b9c7ccdf34361a81f136a906ff083e79f66b420b2dc26e7be",
"28f8e91601c55d82051e4fe32b35aa66983bb4342c52638bd18fe65e20c8c829",
"25655351fdffcc7aee2048a356013e16e5f0d47fcd841bf0f4c4480e247bb422",
"3a01f77662308ef9034cf1f9ba034180dfb9d7e9e605b5bc3015a7ab5cfaa163",
"f9a740e67432d8f0e8d1a267221347dd8e2679a8aba5b0ac3c0ea45c20f1f2a6",
"4f1ab1da77cd9db02fd56a5648e4169b1eeb1935109153ab67f469c6636baabf",
"52435085e04b129a6258424e48c43467d807d259b8ca500f4f691aebf39a6ca5",
"2649bad18eba27b8139a4903ffc22059c858abf8d42f4b0f3bc368da327a8ba3",
"03b731b8636830e5f17b04d77911197ac5b1d39f32d136d9bfcaa13624ae0311",
"5489a64665f74f5eeef736b2dfdc35b21f72787fe2abaf8de4d356fcb7b4dcb4",
"93193c5c0cff6e6e5733ca6df3f73efcc91286ca3f1e7d3a26bba1a53f9ce48a",
"35c0cb6f9eeb86b9af6beef343cc80dba6da6e6e28f4f4c02f903e3217ad0efa",
"0d38cb7ee0fa9ae49b83eda42e32a402fadb59fa160f6ace6ba9fa2362d01751",
"45556ac1722cc6729c3d2a8f46270188d353bcfece843518d98f9ae22dfea2f7",
"a8a9ac87be31b9f1d048aac68f2846900ad27b82d2ba04f8490302d9c3194d3d",
"efd818b09639d01baa3c431b716322497a2c9c821624c3230bba67bf8fb3df87",
"4c2f558003b349e3d3e06997104d9e0d552633f1005c2f9f8a7b4a04bde59dc7",
"786ecf146178317cc279499667cf7e9acf021dab5353773cebb7cc7cc56a7097",
"6521dbc55765458216073a91e095325a3227a7aed66c8d856bb1e08113fcd4e2",
"df4df3b82e92a0af07508661d4c6d53336c7cb8fd9790ea7918c51b706f97ea8",
"7306b26192612ec17d8ac68ba1cd27b13194ac26db925535ecc58b7f1efd62ad",
"dae3772a578b846d94d86dca9fdec648a1e90ca902c0292f88e9446df96aa949",
"55dc0c20493cc14384224e452f63c7c06f003f769545d08e1a9929fccdb6b8d2",
"88a7abcb45c7f4b2814e4ce872f1c7ea7fdadab78d3920dcf104e3981d867aab",
"4a2f780e733c9d30ab9720032f20ba176f483d259152b4a91b9e862e1e4ac190",
"0be8ecde90aaa5a3ce898d02ab91bf96af34e8f5e1c67cc5dece525b37bb643d",
"9bb9311a916295cbc95618780e5b50cab4f25ed7edf1040df552ec1c217a3ce9",
"f0e2128481a3211cd9adc56b11edb5bfe6326261e8dc4c2313a12c9ce257ffd7",
"0cebbf332c0d19027ac7eacf5e3dd4c8c2e780469174f65e7a5adb64d4cbf805",
"63e74714c7a8841df14e71ef72fad008dc8daea3d10c4a2019b8dcb49f69bd8f",
"826e76a162a8eea8d02035cc715bc8453ad982be20157dee786c80360949e007",
"b0a61e01a39b36f1d0840d588c1a20ca005b0f0e4baa8ac48e16e437e0598290",
"733fb7e440d17e64ceb285fd6ee5e4898f2ba262d8a70fbedc592cb195d072e5",
"8e138bac11d1d03e6b37048f8116f971011323549caa913e7126b65af076ab82",
"9c1bcffa309ae8dbe0fa37abcbe756150665e83e7da44b3ea1cee7e95ae89ec2",
"4edf34c3d26fb1d3694008853d38e67b9fc4e35c83826905b3d7b46e988e6c81",
"0bfaa0e9ffbcb6d19b661bbe28d3c12955b1e5e813ab0c31125ca7cddb10f8f3",
"efdd1b8376540933d0be5f28f843c745dbf0de602d555b61b3524a09310b761b",
"7b1168c135a3585785835a40ada1b41d5237c4568eeab47ec4beae56c9db2a50",
"22ca148bf8d08611327a6becbf883e8e8ed84485b27a391575637ba2bbf4fa6e",
"0465284b30883942c7dc8227c7e76ac61c74ed14a5143d2af25a4b03e807e0b0",
"b426d76be476bef30193e2267ade03c32ede20a5961a541b0545cb956d2811b9",
"90f257f281cb221bf5e1eba67c8e4e0c7ab0d021822c34a67aa6354ac62ab21f",
"b3f3551429da56abd83351bb5c1d7e20496703e19a81560dd631bbaca93c8878",
"f2999ad6faf0c310a7f60c57eb330c76ca796056c333f7f950c92ace6eb14050",
"711527a88c3d21f0adbc9f4aeddf9c0c7f70a2a978fa8270af3ca482f2b4d6d9"
],
"transactionsRoot": null,
"uncles": null
}
}
/getgasprice
Get the current gas price from the Stellar network.
GET
https://api.expand.network/chain/getgasprice
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
https://api.expand.network/chain/getgasprice/?chainSymbol=xlm
{
"status": 200,
"msg": "success",
"data": {
"gasPrice": "100"
}
}
/getstorage
Get details of storage in the contract, including the current state of contract, contract code or any other ledger entry.
GET
https://api.expand.network/chain/getstorage
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
keys*
String
The key of the ledger entry (serialized in a base64 string).
https://api.expand.network/chain/getstorage?chainId=1500&keys=AAAABgAAAAH3xNSi+8RNeGCQ9G+xxqeBQYdAPM67qt+vUv/54U9NeAAAABQAAAAB
{
"status": 200,
"msg": "success",
"data": {
"entries": [
{
"key": "AAAABgAAAAH3xNSi+8RNeGCQ9G+xxqeBQYdAPM67qt+vUv/54U9NeAAAABQAAAAB",
"xdr": "AAAABgAAAAAAAAAB98TUovvETXhgkPRvscangUGHQDzOu6rfr1L/+eFPTXgAAAAUAAAAAQAAABMAAAABAAAAAQAAAAMAAAAPAAAACE1FVEFEQVRBAAAAEQAAAAEAAAADAAAADwAAAAdkZWNpbWFsAAAAAAMAAAAHAAAADwAAAARuYW1lAAAADgAAAD9DWU5PUFM6R0FLWEs1UllQTkNONVg0QTVSQlhNVTRBWElXQU1SU0tBNkk2S0ZOUkNaWjJERkxQMk5CWVFXNE4AAAAADwAAAAZzeW1ib2wAAAAAAA4AAAAGQ1lOT1BTAAAAAAAQAAAAAQAAAAEAAAAPAAAABUFkbWluAAAAAAAAEgAAAAH8xy7XKkStt9WH1LS+PNbElvR2ZGkgj7j6gQPoL95y5AAAABAAAAABAAAAAQAAAA8AAAAJQXNzZXRJbmZvAAAAAAAAEAAAAAEAAAACAAAADwAAAApBbHBoYU51bTEyAAAAAAARAAAAAQAAAAIAAAAPAAAACmFzc2V0X2NvZGUAAAAAAA4AAAAMQ1lOT1BTAAAAAAAAAAAADwAAAAZpc3N1ZXIAAAAAAA0AAAAgFXV2OHtE3t+A7EN2U4C6LAZGSgeR5RWxFnOhlW/TQ4g=",
"lastModifiedLedgerSeq": 669934,
"liveUntilLedgerSeq": 2743532
}
]
}
}
/gettransaction
Get details of a specified transaction.
GET
https://api.expand.network/chain/gettransaction
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
transactionHash*
String
The transaction hash.
https://api.expand.network/chain/gettransaction/?chainId=1500&transactionHash=3ee7edbe77d9ca096adf05feab86cc3b2f0a355088240f3eeb06cbfc24a491a7
{
"status": 200,
"msg": "success",
"data": {
"hash": "3ee7edbe77d9ca096adf05feab86cc3b2f0a355088240f3eeb06cbfc24a491a7",
"transactionStatus": true,
"blockNumber": "50864752",
"timestamp": "2024-03-20T00:08:44Z",
"from": "GC3IBUO6OA5TLZXGUUE7LFDZJKSKUKOXZ65UHTTKXS6NLKBZ4TF2EES5",
"to": null,
"value": null,
"transactionFees": null,
"gas": "2454018",
"gasPrice": "2129796",
"input": null,
"nonce": 163399020004245540,
"network": null,
"envelopeXDR": "AAAAAgAAAAC2gNHecDs15ualCfWUeUqkqinXz7tDzmq8vNWoOeTLogAlcgICRIKLAAAAJAAAAAAAAAAAAAAAAQAAAAAAAAAYAAAAAQAAAAEAAAABQlRGbwAAAAC2gNHecDs15ualCfWUeUqkqinXz7tDzmq8vNWoOeTLogAAAAEAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAYAAAABEEAymstkTEVFUelHf2JRrvu8Pp9IZhBUmgqo3DPToP0AAAAUAAAAAQAvhH8AAAAAAAAB3AAAAAAAII9FAAAAATnky6IAAABAjcnNkdm+uHel/cMYNYoAuCcg1BEKN7WV21KylxqgeB+9lYd92WuullnjDxLXqZAXqxppXrH0PxGQWwpm7HVyAg==",
"resultXDR": "AAAAAAAgf4QAAAAAAAAAAQAAAAAAAAAYAAAAAMCX1Z6fmQcXx/idAsCzobUXG2vnugFZAyTyIuwxgo95AAAAAA==",
"signatures": [
"jcnNkdm+uHel/cMYNYoAuCcg1BEKN7WV21KylxqgeB+9lYd92WuullnjDxLXqZAXqxppXrH0PxGQWwpm7HVyAg=="
],
"operations": [
{
"type": "invokeHostFunction",
"func": {
"_switch": {
"name": "hostFunctionTypeCreateContract",
"value": 1
},
"_arm": "createContract",
"_value": {
"_attributes": {
"contractIdPreimage": {
"_switch": {
"name": "contractIdPreimageFromAsset",
"value": 1
},
"_arm": "fromAsset",
"_value": {
"_switch": {
"name": "assetTypeCreditAlphanum4",
"value": 1
},
"_arm": "alphaNum4",
"_value": {
"_attributes": {
"assetCode": {
"type": "Buffer",
"data": [
66,
84,
70,
111
]
},
"issuer": {
"_switch": {
"name": "publicKeyTypeEd25519",
"value": 0
},
"_arm": "ed25519",
"_armType": {
"_length": 32
},
"_value": {
"type": "Buffer",
"data": [
182,
128,
209,
222,
112,
59,
53,
230,
230,
165,
9,
245,
148,
121,
74,
164,
170,
41,
215,
207,
187,
67,
206,
106,
188,
188,
213,
168,
57,
228,
203,
162
]
}
}
}
}
}
},
"executable": {
"_switch": {
"name": "contractExecutableStellarAsset",
"value": 1
}
}
}
}
},
"auth": []
}
]
}
}
/portfolio
Get the comprehensive information about the assets/ tokens owned by a user, including their name, balance, symbol, address, and their equivalent USD price.
GET
https://api.expand.network/chain/portfolio
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
address*
String
Public addess of the user.
availableOnly
Boolean
By default, false. If true, tokens with balance > 0 will be listed.
https://api.expand.network/chain/portfolio/?address=GAJ4BSGJE6UQHZAZ5U5IUOABPDCYPKPS3RFS2NVNGFGFXGVQDLBQJW2P&chainId=1500&availableOnly=true
{
"status": 200,
"msg": "success",
"data": {
"native": "165551542",
"assets": [
{
"assetType": "credit_alphanum4",
"balance": "4310224067",
"assetCode": "SHX",
"issuer": "GDSTRSHXHGJ7ZIVRBXEYE5Q74XUVCUSEKEBR7UCHEUUEK72N7I7KJ6JH"
}
]
}
}
/getusertransactions
Get the historical transaction details for a specific user address.
GET
https://historicallp.api.expand.network/chain/getusertransactions
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
address*
String
The public address of the user.
pageToken
String
A string ID that points to a specific location in a collection of responses, present at the end of the response.
sortOrder
String
The transaction sorting order. asc or desc. By default, desc.
https://historicallp.api.expand.network/chain/getusertransactions?chainId=1500&address=GCU7LJ5S6U3YCTSLLZNMRHJBSXVI6O5WPQIJ2ESLYTYIUJ7WMSXNYERD
{
"status": 200,
"msg": "success",
"data": {
"transactions": [
{
"hash": "69d6d74b05cce3ee8f9250c1459db66a286de42598ccda532e5444b503d1422f",
"transactionStatus": "success",
"timestamp": "2023-12-20T08:32:16Z",
"from": "GCCBNYSHJMXMDFI2HBXAROJIWSPOONVNYIWB22YATOURY5PTQWWHY3Q3",
"to": null,
"value": null,
"transactionFees": null,
"gas": "1504",
"gasPrice": "101",
"input": null,
"nonce": "209216279419041446",
"network": null,
"envelopeXDR": "AAAAAgAAAACEFuJHSy7BlRo4bgi5KLSe5zatwiwdawCbqRx184WsfAAABeAC50kZAAA2pgAAAAEAAAAAAAAAAAAAAABlgqaqAAAAAAAAAAEAAAABAAAAAKn1p7L1N4FOS15ayJ0hleqPO7Z8EJ0SS8Twiif2ZK7cAAAAAgAAAAAAAAAAABm5ZwAAAACp9aey9TeBTkteWsidIZXqjzu2fBCdEkvE8Ion9mSu3AAAAAF5WExNAAAAACI213D+DT4BUhl11c96xIQrcJXWsanXaNPppjLpmQa+AAAAAAAZuWcAAAABAAAAAVhUQVIAAAAAHRwnagjMhnylkqtEnT1pC2REaAGMFIUy/PHiCzLu9d8AAAAAAAAAAvOFrHwAAABAVD2DpxUxC949OhHf459Syskdr63cZAzFcnP7fNq3ws6msJrMBO9sCXEQYpeVoJdt3qMMa0p4OxJb+VXvZZyuAfZkrtwAAABAwWQ5GiyqgKKOxaa3KEG9xzHnxR/qkrI6u0398T/BChDjiKIrmNQJ3mHXrNh1UT0fs2C1XQait/KPI1SRZ2VhCg==",
"resultXDR": "AAAAAAAAAGUAAAAAAAAAAQAAAAAAAAACAAAAAAAAAAMAAAABAAAAAOutEVtbl7yEAC5kgeeMFziwVyt7Ep7HuZ4HBD5K0tv2AAAAAFVUzzMAAAABWFRBUgAAAAAdHCdqCMyGfKWSq0SdPWkLZERoAYwUhTL88eILMu713wAAAAB13k/jAAAAAAAAAAAABheaAAAAAQAAAADZXY9hknh6v+9hJwHhTGi08ONzxYjkK326nkegt3z6NAAAAABVVMgSAAAAAVhUQVIAAAAAHRwnagjMhnylkqtEnT1pC2REaAGMFIUy/PHiCzLu9d8AAAABa/MUhAAAAAAAAAAAABOfMQAAAALZb5JtUKlqa0hjFWtZEukzh5WZhSA2TDMrWt2tdlSIuQAAAAF5WExNAAAAACI213D+DT4BUhl11c96xIQrcJXWsanXaNPppjLpmQa+AAAAAAAZuWcAAAABWFRBUgAAAAAdHCdqCMyGfKWSq0SdPWkLZERoAYwUhTL88eILMu713wAAAAHh0WRnAAAAAKn1p7L1N4FOS15ayJ0hleqPO7Z8EJ0SS8Twiif2ZK7cAAAAAXlYTE0AAAAAIjbXcP4NPgFSGXXVz3rEhCtwldaxqddo0+mmMumZBr4AAAAAABm5ZwAAAAA=",
"signatures": [
"VD2DpxUxC949OhHf459Syskdr63cZAzFcnP7fNq3ws6msJrMBO9sCXEQYpeVoJdt3qMMa0p4OxJb+VXvZZyuAQ==",
"wWQ5GiyqgKKOxaa3KEG9xzHnxR/qkrI6u0398T/BChDjiKIrmNQJ3mHXrNh1UT0fs2C1XQait/KPI1SRZ2VhCg=="
],
"operations": [
{
"source": "GCU7LJ5S6U3YCTSLLZNMRHJBSXVI6O5WPQIJ2ESLYTYIUJ7WMSXNYERD",
"type": "pathPaymentStrictReceive",
"sendAsset": {
"code": "XLM"
},
"sendMax": "0.1685863",
"destination": "GCU7LJ5S6U3YCTSLLZNMRHJBSXVI6O5WPQIJ2ESLYTYIUJ7WMSXNYERD",
"destAsset": {
"code": "yXLM",
"issuer": "GARDNV3Q7YGT4AKSDF25LT32YSCCW4EV22Y2TV3I2PU2MMXJTEDL5T55"
},
"destAmount": "0.1685863",
"path": [
{
"code": "XTAR",
"issuer": "GAORYJ3KBDGIM7FFSKVUJHJ5NEFWIRDIAGGBJBJS7TY6ECZS53257IG4"
}
]
}
]
}
...
],
"nextPageToken": "212791796743290880"
}
}
/getevents
Get a filtered list of events emitted by a given ledger range, within a maximum 24 hours of recent ledgers.
GET
https://api.expand.network/chain/getevents
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
startBlock
String
Sequence number of the ledger. By default, the latest ledger.
pageToken
String
A string ID that points to a specific location in a collection of responses, present at the end of the response.
contracts
String
Comma separated values of contract IDs to query for events.
topics1
String
Topic this event was emitted with.
topics2
String
Topic this event was emitted with.
topics3
String
Topic this event was emitted with.
topics4
String
Topic this event was emitted with.
topics5
String
Topic this event was emitted with.
type
String
A comma separated list of event types (system, contract, or diagnostic) used to filter events. If omitted, all event types are included.
https://api.expand.network/chain/getevents/?chainId=1500&startBlock=51101417
{
"status": 200,
"msg": "success",
"data": {
"events": [
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000000",
"topic": [
"AAAADwAAAAdmbl9jYWxsAA==",
"AAAADQAAACAKnMLSIP2AWzTZrRm4TXvEYLd6X+Febvfq8rLNXkrbvg==",
"AAAADwAAAAlzZXRfcHJpY2UAAAA="
],
"value": "AAAAEAAAAAEAAAACAAAAEAAAAAEAAAAQAAAACgAAAAAAAAAAXWiAkP+/dSQAAAAKAAAAAAAAAAAEj+0eA5SoBwAAAAoAAAAAAAAAAAAAWvM+q6zrAAAACgAAAAAAAAAAAAA1DSDpU/wAAAAKAAAAAAAAAAAAPa+zFgHmqgAAAAoAAAAAAAAAAAAAWvEANTXuAAAACgAAAAAAAAAAAAA0ZH2dd5oAAAAKAAAAAAAAAAAAECGS6kK5HgAAAAoAAAAAAAAAAAAC87e3zc0HAAAACgAAAAAAAAAAAABQ2rJ9ePwAAAAKAAAAAAAAAAAABigRQWbZWQAAAAoAAAAAAAAAAAAAWu/h0v+yAAAACgAAAAAAAAAAAAPaQw9IpAYAAAAKAAAAAAAAAAAAAAuRtI2MugAAAAoAAAAAAAAAAAADz7xXmwlsAAAACgAAAAAAAAAAAABiQ947SkMAAAAFAAABjq1zUsA=",
"inSuccessfulContractCall": true,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000001",
"topic": [
"AAAADwAAAAlmbl9yZXR1cm4AAAA=",
"AAAADwAAAAlzZXRfcHJpY2UAAAA="
],
"value": "AAAAAQ==",
"inSuccessfulContractCall": true,
"contract": "CAFJZQWSED6YAWZU3GWRTOCNPPCGBN32L7QV43XX5LZLFTK6JLN34DLN",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000002",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAApyZWFkX2VudHJ5AAA="
],
"value": "AAAABQAAAAAAAAAS",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000003",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAAt3cml0ZV9lbnRyeQA="
],
"value": "AAAABQAAAAAAAAAR",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000004",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABBsZWRnZXJfcmVhZF9ieXRl"
],
"value": "AAAABQAAAAAAAF3I",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000005",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABFsZWRnZXJfd3JpdGVfYnl0ZQAAAA=="
],
"value": "AAAABQAAAAAAAAs8",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000006",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA1yZWFkX2tleV9ieXRlAAAA"
],
"value": "AAAABQAAAAAAAARU",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000007",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA53cml0ZV9rZXlfYnl0ZQAA"
],
"value": "AAAABQAAAAAAAAAA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000008",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA5yZWFkX2RhdGFfYnl0ZQAA"
],
"value": "AAAABQAAAAAAAAU8",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000009",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA93cml0ZV9kYXRhX2J5dGUA"
],
"value": "AAAABQAAAAAAAAs8",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000010",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA5yZWFkX2NvZGVfYnl0ZQAA"
],
"value": "AAAABQAAAAAAAFiM",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000011",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA93cml0ZV9jb2RlX2J5dGUA"
],
"value": "AAAABQAAAAAAAAAA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000012",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAAplbWl0X2V2ZW50AAA="
],
"value": "AAAABQAAAAAAAAAA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000013",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA9lbWl0X2V2ZW50X2J5dGUA"
],
"value": "AAAABQAAAAAAAAAA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000014",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAAhjcHVfaW5zbg=="
],
"value": "AAAABQAAAAAAn9/M",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000015",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAAhtZW1fYnl0ZQ=="
],
"value": "AAAABQAAAAAAKFlD",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000016",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABFpbnZva2VfdGltZV9uc2VjcwAAAA=="
],
"value": "AAAABQAAAAAAEF3/",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000017",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA9tYXhfcndfa2V5X2J5dGUA"
],
"value": "AAAABQAAAAAAAABA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000018",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABBtYXhfcndfZGF0YV9ieXRl"
],
"value": "AAAABQAAAAAAAAU8",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000019",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABBtYXhfcndfY29kZV9ieXRl"
],
"value": "AAAABQAAAAAAAFiM",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680548864-0000000020",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABNtYXhfZW1pdF9ldmVudF9ieXRlAA=="
],
"value": "AAAABQAAAAAAAAAA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "d0a9cdde5580e1d9e4b5755c62b9641b55e12ca1de2621d3e8b100c6dcc51c66"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000000",
"topic": [
"AAAADwAAAAdmbl9jYWxsAA==",
"AAAADQAAACAWjQcU0knrVjQuJy8yQWkOZO+v4Cos4LsPoOJuCnB09Q==",
"AAAADwAAAAlzZXRfcHJpY2UAAAA="
],
"value": "AAAAEAAAAAEAAAACAAAAEAAAAAEAAAAJAAAACgAAAAAAAAAAAAAAD8XMiFkAAAAKAAAAAAAAAAAAAAAWEbcuywAAAAoAAAAAAAAAAAAAWvKMKXEyAAAACgAAAAAAAAAAAAAs/W+Cb90AAAAKAAAAAAAAAAAAAABGZmkRcgAAAAoAAAAAAAAAAAAAABagBvOpAAAACgAAAAAAAAAAAABigDlw5koAAAAKAAAAAAAAAAAAAAuQgAUgrAAAAAoAAAAAAAAAAAAANOoRWG7fAAAABQAAAY6tc1LA",
"inSuccessfulContractCall": true,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000001",
"topic": [
"AAAADwAAAAlmbl9yZXR1cm4AAAA=",
"AAAADwAAAAlzZXRfcHJpY2UAAAA="
],
"value": "AAAAAQ==",
"inSuccessfulContractCall": true,
"contract": "CALI2BYU2JE6WVRUFYTS6MSBNEHGJ35P4AVCZYF3B6QOE3QKOB2PLE6M",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000002",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAApyZWFkX2VudHJ5AAA="
],
"value": "AAAABQAAAAAAAAAL",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000003",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAAt3cml0ZV9lbnRyeQA="
],
"value": "AAAABQAAAAAAAAAK",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000004",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABBsZWRnZXJfcmVhZF9ieXRl"
],
"value": "AAAABQAAAAAAAF4w",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000005",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABFsZWRnZXJfd3JpdGVfYnl0ZQAAAA=="
],
"value": "AAAABQAAAAAAAAkE",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000006",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA1yZWFkX2tleV9ieXRlAAAA"
],
"value": "AAAABQAAAAAAAAKU",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000007",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA53cml0ZV9rZXlfYnl0ZQAA"
],
"value": "AAAABQAAAAAAAAAA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000008",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA5yZWFkX2RhdGFfYnl0ZQAA"
],
"value": "AAAABQAAAAAAAAWk",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000009",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA93cml0ZV9kYXRhX2J5dGUA"
],
"value": "AAAABQAAAAAAAAkE",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000010",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA5yZWFkX2NvZGVfYnl0ZQAA"
],
"value": "AAAABQAAAAAAAFiM",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000011",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA93cml0ZV9jb2RlX2J5dGUA"
],
"value": "AAAABQAAAAAAAAAA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000012",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAAplbWl0X2V2ZW50AAA="
],
"value": "AAAABQAAAAAAAAAA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000013",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA9lbWl0X2V2ZW50X2J5dGUA"
],
"value": "AAAABQAAAAAAAAAA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000014",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAAhjcHVfaW5zbg=="
],
"value": "AAAABQAAAAAAma6G",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000015",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAAhtZW1fYnl0ZQ=="
],
"value": "AAAABQAAAAAAJgSC",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000016",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABFpbnZva2VfdGltZV9uc2VjcwAAAA=="
],
"value": "AAAABQAAAAAADMKP",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000017",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAAA9tYXhfcndfa2V5X2J5dGUA"
],
"value": "AAAABQAAAAAAAABA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000018",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABBtYXhfcndfZGF0YV9ieXRl"
],
"value": "AAAABQAAAAAAAAWk",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000019",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABBtYXhfcndfY29kZV9ieXRl"
],
"value": "AAAABQAAAAAAAFiM",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
},
{
"type": "diagnostic",
"ledger": 51101420,
"ledgerClosedAt": "2024-04-05T08:50:21Z",
"id": "0219478927680552960-0000000020",
"topic": [
"AAAADwAAAAxjb3JlX21ldHJpY3M=",
"AAAADwAAABNtYXhfZW1pdF9ldmVudF9ieXRlAA=="
],
"value": "AAAABQAAAAAAAAAA",
"inSuccessfulContractCall": false,
"contract": "",
"transactionHash": "bfd69b55d229eac743d97dbc20eb8208ed856ed0d7c914c7dc2aac84f24dbb44"
}
]
}
}
/getlatestledger
Get details for the current latest known ledger of the node.
GET
https://api.expand.network/chain/getlatestledger
Query Parameters
rpc
String
Remote procedural call URL.
chainId
String
chainSymbol
String
https://api.expand.network/chain/getlatestledger?chainId=1500
{
"status": 200,
"msg": "success",
"data": {
"difficulty": null,
"gasLimit": null,
"gasUsed": null,
"hash": "9efea4e5b9ec90917f671e7d4671e9be6c9db43d6ec7b4c7104bdae050e76267",
"miner": null,
"nonce": null,
"number": 51101417,
"parentHash": "19eaa590d61a0179fed3c92fe85d5398ace98a704b55a09da8360db31917e804",
"size": null,
"timestamp": 1712307003,
"totalDifficulty": null,
"transactions": [
"5b989379998b5f9932ebed24bcbb4260ac9f7d96c60212a08ef5c6b473d98cfe",
"392d4b6f6b4f34b70a9b1450bd1912336deaf603abb19f4a107dce31e923ab95",
"00d32da24c8742b5815f3ec27589a824bc18e3b24f8f0ab4cbfde7fa107c95ac",
"61ae6e50822e7503999e494bbf41ec01a5c66ab2d8e9e46df053bc376f21c0e7",
"2dd5c4e5b10d3c773fd66851cd0be54444c2dc3ea3005a2eac59558bd12e2379",
"dd00a33b4f812d5f82b4c1ec5d20d5aa131166d9570ac6d9795a62d71e704994",
"cf10a781da6f79589e05c2b60967e448b9b850823a47f1f2526fbed7cfa635b6",
"145592209b96ede1d93408f2c7467c6ca9c9e4caa7bcdbe3b3bce9ea71a7f509",
"1f99815dde80d4ab5670b90a33ebe4e6f84619bc41e40aec8fd396c449a52f4b",
"380a7867289a7e6980185bedc7f559d1d3eb3b47a3f584fc163d4f6af09429ab",
"cd500a84e602c447dba863238a463c2b8a6b2ab0d700ef860647e24d8a0bb87d",
"7d2395f5b9ddba46529d02267b95f98ef07d5f79a3ece79e947472f24edaceb1",
"a1b02b0e3c6d1f69df8d50235d16323dc1e135a7ea6ddfb8f9332e1404b2e1c1",
"e7179b5465a45de3923e2b565b1061fe5c04b98f766f6244dd7ba3c2b027c573",
"58220259d819045460ef0c1882dda909b69256632fbd223bd7557b7d779e084f",
"86623e066569873a51c86e169f58bf3156e11067fcb662d8ee819eaccab9095a",
"07eaa5ad9171d20c07cf435d55538f98cddec088709957aa8fc2de8ced4f0903",
"f8bbe4bb18bb11f4c56c259511480a4e091446fdf4f7c47af11c60296e2f98e3",
"a2a4cf9bc39bdf52d2cbb6b067b59fbdea437386f8ec91669d5a205fa973021d",
"f2aa3ef5f8a7b1a02dbb4bfa9e8390fd63c540ab75dedd768050bf08312ae958",
"b3d5c59d1e0abc9eb5856f6e2ec2877483530a82614ab8dcb35e9ef25b18e7d5",
"4e7fab3118619bcb8084116118b06d4aa9058e060aa8827ac84fe1a7e4f01a60",
"fe1d7433a5caa2d462627a5fc4739e8eef4f1b32b762518c88bb38e6ada157f2",
"b0061f68a0addd155154b38a3c511f79b3ce7d013b9840636c4e1141d6b5052b",
"907414a6ffc37c0d6d50481cbe1bb66fd65f141cd8e4b14c68244980b373cd1f",
"bb063d405e85b830b2a67065de8d892afa6b66e6f42b6bc5a5782b5f2563b475",
"d386026b6e7f002648c2717fe996d60ef11b3ce4289ef0de29aecc605dc08215",
"8142a796d3d3dd718bbf55a75e91f93dfa7dd292127eb435e9e46f8f38d6cfb0",
"9a11ec4b4063bf0d69f0c40f7a2b6e3073165692fe35e63fd1781b478549c915",
"060f78c7a9e81f66a4a648e89e60ba33e3236151ef95b456dbff7d591413b104",
"8e16270ff122a9af71dda147af7dac9f464d2e9a5e7461a2016bb3995e956626",
"2f52cdb57b45c4edce11627f38ab42c2ba8e34b887cb9a4a3b999d2aecc8417f",
"11da64aed1fb2e6a71ae7958e988b0d0f962daa3d086ffad675100f2c5d84b9c",
"9d47d0b15a11e77e70fc4fb89e5a8eee98928094641b30c301a9ce5659ecd6c3",
"77ba0e161d78b3164cc575148c402360f250539d661a158197d2ef018e31037b",
"8ff68083fcb24ebd7b3fc6a97fc56769b7f21b1f3fd2dd371d43390fffd93b93",
"d436eb1e601445271b01d59b26d369780c4723ffd2f9b20e8d025139a5403d24",
"33a35e3fa2f7d52a772aa34a29e7b9f3c2e083f6a48f256a62485ba964df6724",
"cc612cef5ac06791d0afaf719b59dc6db3b278becd2d6b6e78e04b52a8d4afce",
"cacc3859f44063de92b1dbe3a56f2e4a168cbe329eab0fa98d9be141421ce888",
"1e992704bd5d198ab15cfa05e72b8b0adf2f23a0e3e1e6eb6d0064b0d8e2ef60",
"2a2186299819ccef2fb8a13e6786f56154531f1d9450f8aa7dcae2026bee1406",
"b38a87f9aa7cebfff1ef6654439d1dd59835d1283dd28cff788516cac1a7ec6d",
"4d0a7c8555c7f7178f4eb251930f21cc61c906f31080fc355453308c53249db0",
"ef80d8b4bb799f4d5bedea9b6e543e796093fa76c9ad82e3129bb44b96b39853",
"e946a7bba7bedd70d9fe0ef5b8a3eb78371b769fb8980194aa2481c34044c6e2",
"967b17f7fc63403c22137ae8646f0bafff7a629c0d6128353d3ffef0be973ccd",
"ed2d8a099d6022b22943ce8802bfdfa677992a8eb5db642eaf171a47bb7cfb93",
"c25fff9c57a30279560dc0956e4ffbbe991da68b6b71df83f67b545451754f4c",
"b5ebc2dbd1b9fa77d5c86c3bc6df457ef20d17ba12074e25683f423bacb674eb",
"bec83d531230c067a4d79ad8fac4616d1afa75fe2d92703745be02f92b84b133",
"dbaae2470d0d605ce62d045bc06e1e8e3287230ed672809e7bb9fd5756fe5a0c",
"200e34a3d466c8c2213591ad1a4f4c267bfddfb49405d69bf0f65611776b49b0",
"c2e7383cd05fa74cb25f69986f9e1df3262c622ac61ea8e259f430ab75ef3688",
"77f6f98d11a69341f96160d071b9901d64383dbdb69f1ce59cde451cd464b07e",
"01c619f632128255736e9146d7049efb1f0f627c7c1808141aa46e77ea158ed0",
"0002edc63f69c3491437ff252175d85924a510aa6e3ef0ed2ed7cf275a5bc7de",
"f0b938344110f81ee7109a3b59f00a370da6eeddfc1baf7782964cd8f686aa72",
"212aaeec48461b554f162f3347f5d8a1fa95c6dae2592dc41e6f2f74a3b6ff43",
"4e1ec595fdc4bf35816744a87789805694f5fde64c621e1f4cc6466dc1c1c2a2",
"50be788ee741e0ef1b71f835cff58ef6f9f831db62129c8d2cc99636cbb4266b",
"6f816a330bcb0170f1c8e2279b669290ea20a50b3fb3481108b71748b8e73250",
"2c28c1b897661752f9980a0a4e20ae87f7b0e3af1d79c32c455cab326d351962",
"8816d8c4cd2a5ccdb245447f59d1b271ac777faeb71a4a321e6f332a9f255e2f",
"89402784a5b1b7cdd928d110d8420c5ba3d9b4cde27db8b14679775fe5633888",
"451acc0fc12ccddcc35b40053d09a4cd95d7568d7049707c63811194ba03ef32",
"eca451cfb95fb5c742262435a271702d6004c8f2d9f4c0288a19bfa8bf9eee08",
"73151aff794a3edd4c6bd342da02f8c0c0ab776cbd47ee7bbf650eb716d4dd87",
"2601144aa216897cf05e428744f96a11f9d101f7d818f98cb561f054f92aeff0",
"a03c53f34a8ba0d8ee625bedee8452bddb7f32438f5c2f091f88dc3fa7d3cf5b",
"4dc990e20fc440d2573d763d677b2c2877ab39ebb0febf0a3f27ef9394dd53e0",
"709b8a7006fe52d4ee3b38bc5fd7bbfca973765d0744a3e1417785fe570e3031",
"045ba2a8570fc38f159b1246c83832cc6ffb7e18094a8003940594bda4696305",
"06a0ad7a1654c2b9b61958887ec53ff2b4aaee908ea498769631df3f9bc612c8",
"e75b440d666f0c38c6e21a54b341f9a8be6f10b044d181a1c0951456f9a3fa09",
"eecfaa386a31f8f56164842b8a96cba1c8f4ead1b716083f0be640f46aa9f2af",
"766465433d51e2424f1aed3128cfbea5cff9dfbb37f0718d60a41fb6ba5bd3a1",
"949d88afa12f29b1939ad75e308d47c77c9d52702a8493c36c910a6c3edef7c8",
"ec506de8dc949b76221b8312e1efe7dd8afa9043f589406b9554723613962e8e",
"46832a5c3a9ac9a1de0857f83df4ab9d837f6352a9c3d80302ace91c208be47d",
"bdb338337a45fc4c93a983b879ffda861aeecbfbf635744c03086a3842e34fff",
"4e08ae01afc232b9a9178a775602af681a6467bf3a300a6965113004e7177c72",
"f4e44c2b33d2891e8df3ec80905d47ddc4153ea89b711597bdf041c6c49555dd",
"274984371be433b27ebfb4368c8c7ee450403189b4eb73443cd9873affcb4c43",
"6b6ae8a135281d135c2bf58cc2a53b0130ed39c393ab36a46e494edbb24ee364",
"9defccce0d851f99647daaaab3e7f59cdfb432b391d388ed4386a045052d60e5"
],
"transactionsRoot": null,
"uncles": null
}
}
/createaccount
Create and fund a new account using the public key as the account ID.
POST
https://api.expand.network/chain/createaccount
Request Body
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
from*
String
The source account, from where the XLM will be withdrawn.
initialBalance*
String
Amount of XLM to send to the newly created account.
{
"chainId": "1500",
"from": "GDUY7J7A33TQWOSOQGDO776GGLM3UQERL4J3SPT56F6YS4ID7MLDERI4",
"initialBalance": "5"
}
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1500",
"newAccount": {
"publicKey": "GDHAD5ZRF35MJTEW4NWSNTUBQUSSVTT2NPWDSDYMLM7QANSCZKXOECZS",
"secretKey": "SDVFDBA43HEISQY7UPVJAJSKXHSVZGNZZOZGIJ4RLL7NJXTNSKCO6GBX"
},
"from": "GDUY7J7A33TQWOSOQGDO776GGLM3UQERL4J3SPT56F6YS4ID7MLDERI4",
"gas": "100",
"data": "AAAAAgAAAADpj6fg3ucLOk6Bhu//xjLZukCRXxO5Pn3xfYlxA/sWMgAAAGQAWKCYAAAAEAAAAAEAAAAAAAAAAAAAAABmD8HcAAAAAAAAAAEAAAAAAAAAAAAAAADOAfcxLvrEzJbjbSbOgYUlKs56a+w5DwxbPwA2Qsqu4gAAAAAC+vCAAAAAAAAAAAA="
}
}
/sendtransaction
Submit a signed transaction to Stellar for processing.
POST
https://api.expand.network/chain/sendtransaction
Request Body
rpc
String
Remote procedural call URL.
chainId
String
chainSymbol
String
rawTransaction*
String
The signed transaction to broadcast for inclusion in a ledger, serialized as a base64 string.
{
"rawTransaction": "AAAAAgAAAADK19wCgQBrHYbni7IEXqbuH39ZZ6+CyjQd0pgMYs1LFQAAAGQADYdgAAAABgAAAAEAAAAAAAAAAAAAAABmDUAMAAAAAAAAAAEAAAAAAAAABgAAAAJFeHBhbmRUZXN0AAAAAAAAlYebzd+2+XWQwUfqzG15Geiys7ZyG3jfrYEVwKQYQxIAAAAAHc1lAAAAAAAAAAABYs1LFQAAAEDT1KH8ZqJvA0M0Ncg6RsekzR5BceG41DUDgR/f8xgZk16vEOVY2BZ2Eq+FmWTXdXRP2LX/uLSKh5xxCb4v3g8O",
"chainId": "1500"
}
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1500",
"transactionHash": "3a6208b4c7da5173a5cbe5ff1f71b3c941573f0f6f68482ba3fc81fc071ac1aa"
}
}
/simulatetransaction
Submit a trial contract invocation to simulate how it would be executed by the network.
POST
https://api.expand.network/chain/simulatetransaction
Request Body
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
rawTransaction*
String
A signed Stellar transaction, serialized as a base64 string.
{
"chainId": "1500",
"rawTransaction": "AAAAAgAAAAAi09z78imScL1jm9uGF9/capTCc9z2/E+C9zf+t9XRvgAK6+UDC8UiAAAAAwAAAAEAAAAAAAAAAAAAAABmD/WzAAAAAAAAAAEAAAAAAAAAGAAAAAAAAAABVd3dGtlYQWfueP4OrUTH4Lflmo1Hr3R6NwPMLQ7lkvkAAAAJaW5jcmVtZW50AAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAHCxRSx/lCsIebq3ncX/0VB3zL1ZCf+AY3FmCgx7Q9iO0AAAABAAAABgAAAAFV3d0a2VhBZ+54/g6tRMfgt+WajUevdHo3A8wtDuWS+QAAABQAAAABADpZfQAAAuQAAACEAAAAAAAK64EAAAABt9XRvgAAAEA/PHP5Z5ZmpQTYf6UnbQPTBaIbhWlCznTGbt9G7yYQQSSzOLclrxNiv/+Oj+UaVO4T3mhFC5+VC/uSotgIJykA"
}
{
"status": 200,
"msg": "success",
"data": {
"result": {
"transactionData": "AAAAAAAAAAEAAAAHCxRSx/lCsIebq3ncX/0VB3zL1ZCf+AY3FmCgx7Q9iO0AAAABAAAABgAAAAFV3d0a2VhBZ+54/g6tRMfgt+WajUevdHo3A8wtDuWS+QAAABQAAAABADpyuAAAAwAAAACEAAAAAAAAxO0=",
"minResourceFee": "50413",
"events": [
"AAAAAQAAAAAAAAAAAAAAAgAAAAAAAAADAAAADwAAAAdmbl9jYWxsAAAAAA0AAAAgVd3dGtlYQWfueP4OrUTH4Lflmo1Hr3R6NwPMLQ7lkvkAAAAPAAAACWluY3JlbWVudAAAAAAAAAE=",
"AAAAAQAAAAAAAAABVd3dGtlYQWfueP4OrUTH4Lflmo1Hr3R6NwPMLQ7lkvkAAAACAAAAAAAAAAIAAAAPAAAACWZuX3JldHVybgAAAAAAAA8AAAAJaW5jcmVtZW50AAAAAAAAAwAAAAI="
],
"results": [
{
"auth": [],
"xdr": "AAAAAwAAAAI="
}
],
"cost": {
"cpuInsns": "830456",
"memBytes": "1223985"
},
"latestLedger": 51103937
}
}
}
/decodetransaction
Get the decoded transaction(sender, recipient, gas limit, method signature, and more) for the provided raw transaction.
POST
https://api.expand.network/chain/decodetransaction
Request Body
chainId*
String
chainSymbol
String
rawTransaction*
String
A signed Stellar transaction, serialized as a base64 string.
{
"chainId": "1500",
"rawTransaction": "AAAAAgAAAABMmM4wvUEdIHJlj742UZIjX7WP6OqgK3x/pPnbTCXxcgAAAGQAAaHuAAAACwAAAAEAAAAAAAAAAAAAAABl+DZxAAAAAAAAAAEAAAAAAAAABgAAAAJFeHBhbmREb2xsYXIAAAAAm/7hgKNd+xNhcPZfUG8loszSbri9XAJezYDtga5pPN8AAAAAIC+/AAAAAAAAAAAA"
}
{
"status": 200,
"msg": "success",
"data": {
"network": "1500",
"transactionEnvelope": "AAAAAgAAAABMmM4wvUEdIHJlj742UZIjX7WP6OqgK3x/pPnbTCXxcgAAAGQAAaHuAAAACwAAAAEAAAAAAAAAAAAAAABl+DZxAAAAAAAAAAEAAAAAAAAABgAAAAJFeHBhbmREb2xsYXIAAAAAm/7hgKNd+xNhcPZfUG8loszSbri9XAJezYDtga5pPN8AAAAAIC+/AAAAAAAAAAAA",
"transactionHash": "8d6f0c658e59962c023da0f4b6a7e6973ce377d161a2134281bb17d410d2bf90",
"transactionFee": "100",
"source": "GBGJRTRQXVAR2IDSMWH34NSRSIRV7NMP5DVKAK34P6SPTW2MEXYXFMCO",
"sequence": "459518550999051",
"operations": [
{
"type": "changeTrust",
"line": {
"code": "ExpandDollar",
"issuer": "GCN75YMAUNO7WE3BOD3F6UDPEWRMZUTOXC6VYAS6ZWAO3ANONE6N6LHT"
},
"limit": "54.0000000"
}
],
"signatures": []
}
}
Last updated