{"info":{"_postman_id":"e72ecdc3-85e2-4102-ad74-6b84aa461385","name":"AssemblyScript Runtime API","description":"<html><head></head><body><p>Account-Based Substrate PoC Runtime written in AssemblyScript.</p>\n<p>Collection contains RPC calls that tests various Subtrate modules implemented in AssemblyScript, such as System, Balances, Aura.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"12337614","collectionId":"e72ecdc3-85e2-4102-ad74-6b84aa461385","publishedId":"T1LSC6Qb","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-08-19T14:10:27.000Z"},"item":[{"name":"getRuntimeVersion","id":"f6a9ee95-9816-4f38-8d47-f04472ef5d02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"state_getRuntimeVersion\",\n    \"params\": [],\n    \"id\": 1\n}"},"url":"localhost:9933","description":"<p>Get version of AS runtime</p>\n","urlObject":{"port":"9933","host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6a9ee95-9816-4f38-8d47-f04472ef5d02"},{"name":"getAuraAuthorities","id":"5f0744e3-9d1d-4283-a479-92851cc7dbc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"state_call\",\n    \"params\": [\"AuraApi_authorities\", \"0x\"],\n    \"id\": 1\n}"},"url":"localhost:9933","description":"<p>Get current Aura authorities</p>\n","urlObject":{"port":"9933","host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f0744e3-9d1d-4283-a479-92851cc7dbc9"},{"name":"getAuraSlotDuration","id":"8b8fd46c-438b-488a-a83a-9d4ef9044440","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"state_call\",\n    \"params\": [\"AuraApi_slot_duration\", \"0x\"],\n    \"id\": 1\n}"},"url":"localhost:9933","description":"<p>Get slot duration set by Timestamp</p>\n","urlObject":{"port":"9933","host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b8fd46c-438b-488a-a83a-9d4ef9044440"},{"name":"getRuntimeCode","id":"7cd5943e-c844-48d2-acb3-809c3f8d144b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"state_getStorage\",\n    \"params\": [\"0x3a636f6465\"],\n    \"id\": 1\n}"},"url":"localhost:9933","description":"<p>Get the wasm binary representation of the Runtime</p>\n","urlObject":{"port":"9933","host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7cd5943e-c844-48d2-acb3-809c3f8d144b"},{"name":"addKeyToKeystore","id":"919578da-21f3-40cf-9ee4-785cf9eedc67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"author_insertKey\",\n    \"params\": [\"aura\",\"dice height enter anger ahead chronic easily wave curious banana era happy\",\"0xdcc1461cba689c60dcae053ef09bc9e9524cdceb696ce39c7ed43bf3a5fa9659\"],\n    \"id\": 1\n}"},"url":"localhost:9933","description":"<p>Add Aura authorities key to keystore</p>\n","urlObject":{"port":"9933","host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"919578da-21f3-40cf-9ee4-785cf9eedc67"},{"name":"getBalance","id":"a14fa641-257b-4035-b3d0-dc2c9f691073","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"state_getStorage\",\n    \"params\": [\"0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d\"],\n    \"id\": 1\n}"},"url":"localhost:9933","description":"<p>Get balance for the given AccountID</p>\n","urlObject":{"port":"9933","host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a14fa641-257b-4035-b3d0-dc2c9f691073"},{"name":"getNodeNetworkState","id":"29e5e66f-ab1a-48ef-92c9-dac16e47a2b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"system_networkState\",\n    \"params\": [],\n    \"id\": 1\n}"},"url":"localhost:9933","description":"<p>Get the network state of the Node, bootnodes, etc.</p>\n","urlObject":{"port":"9933","host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"29e5e66f-ab1a-48ef-92c9-dac16e47a2b0"},{"name":"getStorageKeys","id":"d9272498-0748-4d0f-a0af-ba525badbd1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"state_getKeys\",\n    \"params\": [\"0x\"],\n    \"id\": 1\n}"},"url":"localhost:9933","description":"<p>Get all available keys from the Storage</p>\n","urlObject":{"port":"9933","host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9272498-0748-4d0f-a0af-ba525badbd1e"}]}