{"info":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","description":"<html><head></head><body><h2 id=\"1-introduction\">1. Introduction</h2>\n<p>The STACS Platform Suite comprises of 2 platforms </p>\n<ol>\n<li>STACS Managed Account Service (KMS)</li>\n<li>STACS Blockchain Platform</li>\n</ol>\n<p>This 1-stop service provides API access to both the STACS Blockchain and the key management infrastructure required for managing wallets and authenticating transactions on the blockchain. </p>\n<h2 id=\"2-security-setup\">2. Security Setup</h2>\n<p>Both platforms are using <a href=\"https://oauth.net/2/grant-types/authorization-code/\">OAuth2.0 Authorization Code Grant</a> for authentication and authorization.\nThe authorization code flow is a 3-legged configuration where the end user is provided with an authorization code that is exchanged for an access token.\nMore details can be found on the OAuth security setup from this <a href=\"https://aws.amazon.com/blogs/mobile/understanding-amazon-cognito-user-pool-oauth-2-0-grants/\">AWS Cognito article</a>.</p>\n<h2 id=\"3-stacs-managed-account-service-kms\">3. STACS Managed Account Service (KMS)</h2>\n<p>The STACS Managed Account Service (KMS) is a cloud-based user account and private key management solution that enables easy interaction with the STACS Blockchain platform. \nUser accounts can be created and mapped to multiple wallets belonging to the same user. </p>\n<p>Signature generation from a user wallet is also managed by the Account Service and is mandatory when interfacing with the STACS Blockchain for authentication and authorization. </p>\n<p>Signatures can be generated by sending the txData payload of the blockchain API to the <code>/KMSService/sign</code> endpoint which returns the txSignature field. </p>\n<h4 id=\"31-account-service-setup-with-aws\">3.1 Account Service Setup with AWS</h4>\n<p>A wallet comprises of an asymmetric key-pair which has a public key and a private key. \nThe STACS Managed Account Service leverages on the security and resiliency of AWS KMS to manage the full lifecycle of private keys ranging from key creation to signature generation.</p>\n<p>APIs listed here also provide a simple way to manage accounts with AWS Cognito. Private keys are safely kept within AWS KMS where they are never exposed.\nEach account created is able to support multiple wallet addresess and corresponding private keys (32-byte string of random characters).</p>\n<p>Private keys for the STACS Blockchain are created using the the Elliptic Curve Digital Signature Algorithm (ECDSA) which utlizes the secp256k1 algorithm provided by AWS KMS.</p>\n<p>Signatures for API requests sent to the STACS blockchain are generated with the /KMSService/sign endpoint for registered users. The payload sent to this endpoint is the entire txData payload for relevant Blockchain APIs and the txSignature field is returned synchronously to be combined with the txData as a JSON field for submission to the STACS Blockchain platform. </p>\n<p>Note that user creation requires an admin role user that is not part of the scope of these APIs. </p>\n<p><em>The STACS Managed Account Service will be available in the future as a simple AWS deployment package that you could setup within your AWS environment.</em></p>\n<h2 id=\"4-stacs-blockchain-platform\">4. STACS Blockchain Platform</h2>\n<p>The STACS Blockchain Platform is a private permissioned network running on the STACS Blockchain technology (Enhanced Ethereum). </p>\n<p>While the STACS Blockchain utilizes the standard Ethereum Virtual Machine (EVM), enhancements have been made to core layers ranging from Consensus (removal of the energy intensive Proof of Work), addition of an Access Control Management layer and On-Chain Functions which offload complex processing from the smart contract layer into the node. </p>\n<p>Solidity Smart Contracts can be deployed as is on the STACS Blockchain with the highest supported version of Solidity  being 0.7.9.</p>\n<p>Asynchronous callbacks are also supported where confirmation of transactions on the blockchain are sent to the registered subscribers. </p>\n<h2 id=\"5-tutorial---deploying-your-first-smart-contract\">5. Tutorial - deploying your first smart contract</h2>\n<h4 id=\"51-pre-requisite-checks\">5.1 Pre-requisite Checks</h4>\n<p>Once you have secured the components as stated in the Pre-requisite section, you can test connectivity by calling the endpoint <code>/block/latestHeight</code>.\nA HTTP 200 response with the latest block number in the Studios environment reflected indicates that your setup is successful.</p>\n<h4 id=\"52-access-control-description\">5.2 Access Control Description</h4>\n<p>The STACS Blockchain implements an Access Control layer where you are first required to create </p>\n<ol>\n<li>Wallet Permission Tag</li>\n<li>Smart Contract Access (SCA)</li>\n</ol>\n<p>Once the Access Control layer elements have been created, you can proceed to deploy the smart contract template code to the blockchain. \nFor future deployments of the same smart contract template code, you may reuse the same Wallet Permission Tags and SCA.</p>\n<h4 id=\"53-creating-permission-tag-and-adding-your-user-wallet-address\">5.3 Creating Permission Tag and Adding your User Wallet Address</h4>\n<p>You will need to define 1 or more Wallet Permission Tags that indicate a group of wallet addresses are eligible to interact with the functions of the smart contract code you are about to deploy. </p>\n<ol>\n<li>Create a single permission tag with the endpoint <code>/nodefunction/permission</code>.</li>\n<li>Tag your user wallet address with the endpoint <code>/nodefunction/permission/walletAddress/add</code>.</li>\n<li>Verify that your wallet address has been tagged successfully on the blockchain with the endpoint <code>/nodefunction/permission/walletAddress</code></li>\n</ol>\n<h4 id=\"54-select-smart-contract-code-template\">5.4 Select Smart Contract Code Template</h4>\n<p>Smart Contract code is uploaded to the node directly by node operators and provided as templates for API users. </p>\n<ol>\n<li>Retrieve the list of available templates using the endpoint <code>/smartcontracts/templates</code> and note down the templateId</li>\n<li>Retrieve the list of public functions of the template with the endpoint <code>/smartcontracts/contracts/{templateId}</code> for later use.</li>\n</ol>\n<h4 id=\"55-define-access-control-with-sca\">5.5 Define Access Control with SCA</h4>\n<p>SCA definition requires a wallet permission tag to be pre-created and the list of public functions of the smart contract template you are deploying.\nYou may leave the Policy field blank to utilize the default Network Governance Policy setting. </p>\n<ol>\n<li>Run the endpoint <code>/nodefunction/contractAccess</code> to create a SCA template and note down the scaId</li>\n<li>Verify that your SCA is created on the blockchain with the endpoint <code>/nodefunction/contractAccess/confirmation</code></li>\n</ol>\n<p>This newly created SCA can be reused for deploying smart contracts of the same template.</p>\n<h4 id=\"56-deploying-the-smart-contract\">5.6 Deploying the Smart Contract</h4>\n<p>As you have selected your smart contract in the previous step and noted down the template Id, construct the request field according to your needs.</p>\n<ol>\n<li>Run the endpoint <code>/smartcontracts/create</code> to deploy the smart contract code template with your SCA</li>\n<li>Verify that your smart contract has been deployed with the endpoint <code>/smartcontracts/create/confirmation</code></li>\n</ol>\n<p>Congratulations! </p>\n<p>You have deployed your first smart contract!</p>\n<p>To interact with your smart contract, proceed to use either the <code>/smartcontracts/invoke</code> endpoint to update the smart contract state (e.g. transfer of tokens) or the <code>/smartcontracts/query</code> to retrieve the latest smart contract state details (e.g. wallet balance). </p>\n<h2 id=\"6-pre-requisites-to-get-started\">6. Pre-requisites to get started:</h2>\n<p>Each platform will require its own API Key and OAuth2.0 setup on your end.</p>\n<p>The API Key will be required to be submitted in the header as 'x-api-key'\nFor OAuth2.0, you will need:</p>\n<ul>\n<li>client id</li>\n<li>client secret</li>\n<li>login credentials</li>\n</ul>\n<p>Please contact us at <a href=\"mailto:info@stacs.io\">info@stacs.io</a> for more information on the onboarding process for the Studios Environment. </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"11548940","collectionId":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","publishedId":"UVyxRE45","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-13T06:56:57.000Z"},"item":[{"name":"User","item":[{"name":"/user - create new user","id":"aa62b0de-ebb8-4447-be6d-1c53dcbae1dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) API key is required for all API requests on top of OAuth2.0</p>\n","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"xyz@email.com\",\n  \"username\": \"test_user\",\n  \"initialPassword\": \"$]$rfOuKnyOt>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://kmsservice-studios.stacs.io/KMSService/user","description":"<p>For administrators only - create new user in a managed AWS Cognito user pool</p>\n","urlObject":{"protocol":"https","path":["KMSService","user"],"host":["kmsservice-studios","stacs","io"],"query":[],"variable":[]}},"response":[{"id":"21b0ea71-b37e-467e-9d10-2646b0210286","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"xyz@email.com\",\n  \"username\": \"test_user\",\n  \"initialPassword\": \"$]$rfOuKnyOt>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://kmsservice-studios.stacs.io/KMSService/user"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"540c1586-e418-450f-92d4-2d4937430ac5","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"xyz@email.com\",\n  \"username\": \"test_user\",\n  \"initialPassword\": \"$]$rfOuKnyOt>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://kmsservice-studios.stacs.io/KMSService/user"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"1cda539e-4fe5-4675-b233-45844a845269","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"xyz@email.com\",\n  \"username\": \"test_user\",\n  \"initialPassword\": \"$]$rfOuKnyOt>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://kmsservice-studios.stacs.io/KMSService/user"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"aa62b0de-ebb8-4447-be6d-1c53dcbae1dc"}],"id":"ecf78f04-ef5d-4b36-8522-de5729834972","description":"<p>A user is created and managed in AWS Cognito that can contain multiple wallet addresses. </p>\n<p>Each wallet address has a private key that is generated from within AWS KMS and safekept within AWS KMS throughout the entire lifecycle.</p>\n","_postman_id":"ecf78f04-ef5d-4b36-8522-de5729834972","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Wallet","item":[{"name":"/user/walletAddress - create new Wallet Address","id":"bd853f43-f777-44ca-a9e3-3dc9fa0985db","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) API key is required for all API requests on top of OAuth2.0</p>\n","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"},{"key":"Accept","value":"application/json"}],"url":"https://kmsservice-studios.stacs.io/KMSService/user/walletAddress","description":"<p>create new wallet address and generate private key in AWS KMS</p>\n","urlObject":{"protocol":"https","path":["KMSService","user","walletAddress"],"host":["kmsservice-studios","stacs","io"],"query":[],"variable":[]}},"response":[{"id":"0f640f01-753e-453a-9a0c-4bb6fb7793ff","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"url":"https://kmsservice-studios.stacs.io/KMSService/user/walletAddress"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"wallet\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n}"},{"id":"1bfbece4-d946-45da-bf38-628d72dfdd49","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"url":"https://kmsservice-studios.stacs.io/KMSService/user/walletAddress"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ca1bd115-4238-4b93-9c02-fe1ce65779a8","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"url":"https://kmsservice-studios.stacs.io/KMSService/user/walletAddress"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"bd853f43-f777-44ca-a9e3-3dc9fa0985db"},{"name":"/user/walletAddress - get all wallet addresses","id":"c8c18a2f-2021-412d-bc89-ffff790e8387","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) API key is required for all API requests on top of OAuth2.0</p>\n","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"},{"key":"Accept","value":"application/json"}],"url":"https://kmsservice-studios.stacs.io/KMSService/user/walletAddress","description":"<p>get all wallet addresses belonging to the user</p>\n","urlObject":{"protocol":"https","path":["KMSService","user","walletAddress"],"host":["kmsservice-studios","stacs","io"],"query":[],"variable":[]}},"response":[{"id":"98bcbeb6-5a0d-4653-81e4-edb91a8adaf5","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"url":"https://kmsservice-studios.stacs.io/KMSService/user/walletAddress"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"wallets\": [\n    \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"a260e46c855a177aa26e636341c1f54cd96b0831\"\n  ]\n}"},{"id":"77851cac-78c9-4dda-b08a-291ddcf1921f","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"url":"https://kmsservice-studios.stacs.io/KMSService/user/walletAddress"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"702d59e8-139a-4949-add9-a561dadbe426","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"url":"https://kmsservice-studios.stacs.io/KMSService/user/walletAddress"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c8c18a2f-2021-412d-bc89-ffff790e8387"}],"id":"67f6dab1-3099-40e5-9629-f5e20ad9a7e4","description":"<p>Each user can have multiple wallet addresses. </p>\n<p>Creation of new wallet address is specified here as well as the retrieval of all wallet addresses.</p>\n","_postman_id":"67f6dab1-3099-40e5-9629-f5e20ad9a7e4","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Signing","item":[{"name":"/sign - create signature","id":"3a82e19f-97b4-4841-a943-5cfe121e0715","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) API key is required for all API requests on top of OAuth2.0</p>\n","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"payload\": \"nulla\",\n  \"wallet\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n}","options":{"raw":{"language":"json"}}},"url":"https://kmsservice-studios.stacs.io/KMSService/sign","description":"<p>create signature using private key stored in KMS with payload</p>\n","urlObject":{"protocol":"https","path":["KMSService","sign"],"host":["kmsservice-studios","stacs","io"],"query":[],"variable":[]}},"response":[{"id":"661b1054-eb79-43cf-8ee0-f9fc09881adb","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"body":{"mode":"raw","raw":"{\n  \"payload\": \"nulla\",\n  \"wallet\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n}","options":{"raw":{"language":"json"}}},"url":"https://kmsservice-studios.stacs.io/KMSService/sign"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"signature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}"},{"id":"c677745e-7d3c-487d-b2cc-57e4833c624d","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"body":{"mode":"raw","raw":"{\n  \"payload\": \"nulla\",\n  \"wallet\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n}","options":{"raw":{"language":"json"}}},"url":"https://kmsservice-studios.stacs.io/KMSService/sign"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"4653ef66-955a-40a8-9839-a71620b04033","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) API key is required for all API requests on top of OAuth2.0","key":"x-api-key","value":"e399d80b-ab6d-40c0-6909-6a03910c9f6e"}],"body":{"mode":"raw","raw":"{\n  \"payload\": \"nulla\",\n  \"wallet\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n}","options":{"raw":{"language":"json"}}},"url":"https://kmsservice-studios.stacs.io/KMSService/sign"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3a82e19f-97b4-4841-a943-5cfe121e0715"}],"id":"741a9214-c4c6-4c1e-a9cf-1285c824c067","description":"<p>In order to authorize transactions, API calls to the STACS blockchain must be signed. </p>\n<p>This API serves to create signatures using the private key stored in AWS KMS.</p>\n","_postman_id":"741a9214-c4c6-4c1e-a9cf-1285c824c067","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Block","item":[{"name":"/block/latestHeight - get latest block height","id":"1488c067-c453-44ef-821d-569ae32e111e","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://studios-api.stacs.io/chain/node-a/block/latestHeight","description":"<p>retrieves the latest confirmed block height number from the blockchain</p>\n","urlObject":{"path":["block","latestHeight"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"5d8adda3-daac-4870-8c8f-faac01d445f5","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"48ed49f7-05c4-420a-bb83-0aaaddc5bba9","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/block/latestHeight","host":["https://studios-api.stacs.io/chain/node-a"],"path":["block","latestHeight"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"blockHeight\": 72037441,\n  \"blockTimestamp\": \"1974-10-24T17:15:32.460Z\"\n}"},{"id":"151ffaa3-b5e8-4164-838c-1426e232c492","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/block/latestHeight","host":["https://studios-api.stacs.io/chain/node-a"],"path":["block","latestHeight"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"052d91f0-2459-4fbc-aaba-22d3723b15f4","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/block/latestHeight","host":["https://studios-api.stacs.io/chain/node-a"],"path":["block","latestHeight"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"1488c067-c453-44ef-821d-569ae32e111e"},{"name":"/block/transactions - get all transactions in a specific block","id":"46aa5d52-0c2b-429a-918b-cd5afe0761e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1944-01-29T19:52:22.020Z\",\n    \"blockHeight\": 50316879,\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/block/transactions","description":"<p>retrieves all transactions and their details within the specified block height</p>\n","urlObject":{"path":["block","transactions"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"8d727b58-1341-464c-83b1-bcd632240933","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"dd877d23-8f3b-4cb0-8465-7b045d51ee47","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1944-01-29T19:52:22.020Z\",\n    \"blockHeight\": 50316879,\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/block/transactions","host":["https://studios-api.stacs.io/chain/node-a"],"path":["block","transactions"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"coreTx\": {\n        \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n        \"submitterSignature\": \"00316eb1dbabf1f7cbaeb24a53629f9f7f167d281da77172df3b5f143dd07f402609228562fbd8b1732b814e84946e3ee1d97e497e918e9667326582c67297bdd2\",\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"scaId\": \"SampleSCA\",\n        \"type\": \"ADD_CONTRACT\",\n        \"customPayload\": {},\n        \"additionalInfo\": {},\n        \"version\": \"5.0.0\"\n      },\n      \"txReceipt\": {\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"result\": false,\n        \"errorCode\": \"\",\n        \"errorMessage\": \"CONTRACT_SYSTEM_EXCEPTION\",\n        \"receiptData\": {\n          \"result\": {}\n        },\n        \"version\": \"5.0.0\"\n      }\n    },\n    {\n      \"coreTx\": {\n        \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n        \"submitterSignature\": \"00316eb1dbabf1f7cbaeb24a53629f9f7f167d281da77172df3b5f143dd07f402609228562fbd8b1732b814e84946e3ee1d97e497e918e9667326582c67297bdd2\",\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"scaId\": \"SampleSCA\",\n        \"type\": \"ADD_CONTRACT\",\n        \"customPayload\": {},\n        \"additionalInfo\": {},\n        \"version\": \"5.0.0\"\n      },\n      \"txReceipt\": {\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"result\": false,\n        \"errorCode\": \"\",\n        \"errorMessage\": \"CONTRACT_SYSTEM_EXCEPTION\",\n        \"receiptData\": {\n          \"result\": {}\n        },\n        \"version\": \"5.0.0\"\n      }\n    }\n  ],\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"blockHeight\": 72949001,\n  \"blockTimestamp\": \"1950-01-22T14:27:01.114Z\",\n  \"offsetParam\": 0,\n  \"limitParam\": 20,\n  \"total\": 1,\n  \"hash\": \"g561822b8ab9341ed6f9a4f6be166df9a8385a12\",\n  \"parentHash\": \"u873276b8ab9341ed6f9a4f6be166df9g6790j32\"\n}"},{"id":"723c29f5-fa65-4003-88de-840651176664","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1944-01-29T19:52:22.020Z\",\n    \"blockHeight\": 50316879,\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/block/transactions","host":["https://studios-api.stacs.io/chain/node-a"],"path":["block","transactions"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"3fdb704e-d359-4628-ac71-c851b7abb144","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1944-01-29T19:52:22.020Z\",\n    \"blockHeight\": 50316879,\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/block/transactions","host":["https://studios-api.stacs.io/chain/node-a"],"path":["block","transactions"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"46aa5d52-0c2b-429a-918b-cd5afe0761e6"},{"name":"/block/headers - get all block headers","id":"9001c6e8-1d2c-4d08-9891-f4a2188f708a","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://studios-api.stacs.io/chain/node-a/block/headers?offset=0&limit=20&order=desc","description":"<p>retrieves all block headers which does not contain detailed information for each block</p>\n","urlObject":{"path":["block","headers"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[{"description":{"content":"<p>Number of items to skip before returning the results.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"description":{"content":"<p>Maximum number of items to return.</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"description":{"content":"<p>sorting order by timestamp, either ascending (ASC) or descending (DESC). defaults to DESC if unspecified.</p>\n","type":"text/plain"},"key":"order","value":"desc"}],"variable":[{"id":"c57ad5a0-3779-47d9-b083-054e86d28a5f","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"42da478d-7b75-4cc6-ba51-c3737364f472","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/block/headers?offset=0&limit=20&order=desc","host":["https://studios-api.stacs.io/chain/node-a"],"path":["block","headers"],"query":[{"key":"offset","value":"0"},{"key":"limit","value":"20"},{"key":"order","value":"desc"}],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"offsetParam\": 0,\n  \"limitParam\": 20,\n  \"total\": 1,\n  \"data\": [\n    {\n      \"blockHeight\": 52232027,\n      \"blockTimestamp\": \"1953-06-01T04:25:22.229Z\",\n      \"numOfTx\": 282,\n      \"blockSize\": 12\n    },\n    {\n      \"blockHeight\": 30435767,\n      \"blockTimestamp\": \"2009-08-16T23:14:14.592Z\",\n      \"numOfTx\": 398,\n      \"blockSize\": 12\n    }\n  ]\n}"},{"id":"1144594d-15a3-482b-9572-bd31fb8110c2","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/block/headers?offset=0&limit=20&order=desc","host":["https://studios-api.stacs.io/chain/node-a"],"path":["block","headers"],"query":[{"key":"offset","value":"0"},{"key":"limit","value":"20"},{"key":"order","value":"desc"}],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"173fe8d9-821b-449b-9e95-9e696fc20434","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/block/headers?offset=0&limit=20&order=desc","host":["https://studios-api.stacs.io/chain/node-a"],"path":["block","headers"],"query":[{"key":"offset","value":"0"},{"key":"limit","value":"20"},{"key":"order","value":"desc"}],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9001c6e8-1d2c-4d08-9891-f4a2188f708a"},{"name":"/transactions/headers - get all transaction headers","id":"c9fdc42b-b1e4-4cf1-8b76-89695f054b14","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://studios-api.stacs.io/chain/node-a/transactions/headers?offset=0&limit=20&order=desc","description":"<p>retrieves all transaction headers</p>\n","urlObject":{"path":["transactions","headers"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[{"description":{"content":"<p>Number of items to skip before returning the results.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"description":{"content":"<p>Maximum number of items to return.</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"description":{"content":"<p>sorting order by timestamp, either ascending (ASC) or descending (DESC). defaults to DESC if unspecified.</p>\n","type":"text/plain"},"key":"order","value":"desc"}],"variable":[{"id":"7ba8c7b1-14d5-4745-a9f5-fadb4f265231","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"557ac9d1-1b0a-4b8d-8e29-2053f9669501","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions/headers?offset=0&limit=20&order=desc","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions","headers"],"query":[{"key":"offset","value":"0"},{"key":"limit","value":"20"},{"key":"order","value":"desc"}],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"offsetParam\": 0,\n  \"limitParam\": 20,\n  \"total\": 1,\n  \"data\": [\n    {\n      \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n      \"txTimestamp\": \"1968-11-21T08:59:41.057Z\"\n    },\n    {\n      \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n      \"txTimestamp\": \"2005-05-09T13:30:07.416Z\"\n    }\n  ]\n}"},{"id":"dfb556bb-6096-4280-873f-0dd094a9c506","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions/headers?offset=0&limit=20&order=desc","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions","headers"],"query":[{"key":"offset","value":"0"},{"key":"limit","value":"20"},{"key":"order","value":"desc"}],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"708b286e-252a-4447-98c4-d64b9d6dbfa7","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions/headers?offset=0&limit=20&order=desc","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions","headers"],"query":[{"key":"offset","value":"0"},{"key":"limit","value":"20"},{"key":"order","value":"desc"}],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c9fdc42b-b1e4-4cf1-8b76-89695f054b14"}],"id":"7fb00ba3-f8e7-4ecb-883a-496fa1dd6b3f","description":"<p>Transactions are hashed into a block on the STACS Blockchain. API calls to block-level information is provided here. </p>\n","_postman_id":"7fb00ba3-f8e7-4ecb-883a-496fa1dd6b3f","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Transaction","item":[{"name":"/transactions - get details of a transaction by txId","id":"3f8bc6bc-d22a-4beb-9640-4d828db78fc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1984-04-17T10:15:07.468Z\",\n    \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/transactions","description":"<p>Retrieves details of a single transaction based on txId.\nFor APIs that return a txId in their response, this endpoint can be called in a polling fashion to confirm the state of the transaction and block on the blockchain.</p>\n<p><em>The callback setup will return messages following the same data format specified in this endpoint.</em> </p>\n","urlObject":{"path":["transactions"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"3914aec5-35e9-4c40-ab0f-c79b477cc28d","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"83e1e22d-f3de-414a-8925-b1273c0f56b3","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1984-04-17T10:15:07.468Z\",\n    \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"coreTx\": {\n      \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"submitterSignature\": \"00316eb1dbabf1f7cbaeb24a53629f9f7f167d281da77172df3b5f143dd07f402609228562fbd8b1732b814e84946e3ee1d97e497e918e9667326582c67297bdd2\",\n      \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n      \"scaId\": \"SampleSCA\",\n      \"type\": \"ADD_CONTRACT\",\n      \"customPayload\": {},\n      \"additionalInfo\": {},\n      \"version\": \"5.0.0\"\n    },\n    \"txReceipt\": {\n      \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n      \"result\": false,\n      \"errorCode\": \"\",\n      \"errorMessage\": \"CONTRACT_SYSTEM_EXCEPTION\",\n      \"receiptData\": {\n        \"result\": {}\n      },\n      \"version\": \"5.0.0\"\n    }\n  },\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"blockHeight\": 53424139,\n  \"blockTimestamp\": \"1957-03-07T14:27:13.221Z\"\n}"},{"id":"5b52e416-aba2-4939-be72-b317cc91d4bf","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1984-04-17T10:15:07.468Z\",\n    \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"daf80274-6177-4196-a4fd-0e4a194fbade","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1984-04-17T10:15:07.468Z\",\n    \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3f8bc6bc-d22a-4beb-9640-4d828db78fc8"},{"name":"/transactions/wallet- get transactions of a wallet address","id":"5ab460db-3990-4617-8a44-bf9c3d368f1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/transactions/wallet","description":"<p>retrieves all transactions and their details based on a specified wallet address</p>\n","urlObject":{"path":["transactions","wallet"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"5d0e21a5-5b8d-48c3-8965-920c59eb1a9e","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"7a2dd830-1091-4197-a2b9-bc5ce8319b35","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions/wallet","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions","wallet"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"coreTx\": {\n        \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n        \"submitterSignature\": \"00316eb1dbabf1f7cbaeb24a53629f9f7f167d281da77172df3b5f143dd07f402609228562fbd8b1732b814e84946e3ee1d97e497e918e9667326582c67297bdd2\",\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"scaId\": \"SampleSCA\",\n        \"type\": \"ADD_CONTRACT\",\n        \"customPayload\": {},\n        \"additionalInfo\": {},\n        \"version\": \"5.0.0\"\n      },\n      \"txReceipt\": {\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"result\": false,\n        \"errorCode\": \"150464\",\n        \"errorMessage\": \"CONTRACT_SYSTEM_EXCEPTION\",\n        \"receiptData\": {\n          \"result\": {}\n        },\n        \"version\": \"5.0.0\"\n      },\n      \"blockHeight\": {\n        \"blockHeight\": 25022411,\n        \"blockTimestamp\": \"1977-02-21T22:42:16.570Z\"\n      }\n    },\n    {\n      \"coreTx\": {\n        \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n        \"submitterSignature\": \"00316eb1dbabf1f7cbaeb24a53629f9f7f167d281da77172df3b5f143dd07f402609228562fbd8b1732b814e84946e3ee1d97e497e918e9667326582c67297bdd2\",\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"scaId\": \"SampleSCA\",\n        \"type\": \"ADD_CONTRACT\",\n        \"customPayload\": {},\n        \"additionalInfo\": {},\n        \"version\": \"5.0.0\"\n      },\n      \"txReceipt\": {\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"result\": false,\n        \"errorCode\": \"\",\n        \"errorMessage\": \"CONTRACT_SYSTEM_EXCEPTION\",\n        \"receiptData\": {\n          \"result\": {}\n        },\n        \"version\": \"5.0.0\"\n      },\n      \"blockHeight\": {\n        \"blockHeight\": 48017025,\n        \"blockTimestamp\": \"1970-10-02T02:25:46.484Z\"\n      }\n    }\n  ],\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"offsetParam\": 0,\n  \"limitParam\": 20,\n  \"total\": 1\n}"},{"id":"09b3fe50-950a-42ac-b54c-b3858b11b512","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions/wallet","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions","wallet"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"8db7ed48-800f-42cf-ac5a-ba13f40977ee","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions/wallet","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions","wallet"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5ab460db-3990-4617-8a44-bf9c3d368f1b"},{"name":"/transactions/contract- get transactions of a contract address","id":"cf1c20b1-bf26-4561-854a-053e6ee04bbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"2012-06-17T09:50:33.433Z\",\n    \"contractAddress\": \"b302466b8ab9341ed6f9a4f6be166df9a8331g69\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/transactions/contract","description":"<p>retrieves all transactions and their details belonging to a contract address</p>\n","urlObject":{"path":["transactions","contract"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"b93255e0-eaa0-42f0-acd8-0d1b25a59c41","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"bea81a7b-f086-4449-9f0a-0dc71e159844","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"2012-06-17T09:50:33.433Z\",\n    \"contractAddress\": \"b302466b8ab9341ed6f9a4f6be166df9a8331g69\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions/contract","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions","contract"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"coreTx\": {\n        \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n        \"submitterSignature\": \"00316eb1dbabf1f7cbaeb24a53629f9f7f167d281da77172df3b5f143dd07f402609228562fbd8b1732b814e84946e3ee1d97e497e918e9667326582c67297bdd2\",\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"scaId\": \"SampleSCA\",\n        \"type\": \"ADD_CONTRACT\",\n        \"customPayload\": {},\n        \"additionalInfo\": {},\n        \"version\": \"5.0.0\"\n      },\n      \"txReceipt\": {\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"result\": false,\n        \"errorCode\": \"150464\",\n        \"errorMessage\": \"CONTRACT_SYSTEM_EXCEPTION\",\n        \"receiptData\": {\n          \"result\": {}\n        },\n        \"version\": \"5.0.0\"\n      },\n      \"blockHeight\": {\n        \"blockHeight\": 97209710,\n        \"blockTimestamp\": \"1950-11-07T22:56:24.295Z\"\n      }\n    },\n    {\n      \"coreTx\": {\n        \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n        \"submitterSignature\": \"00316eb1dbabf1f7cbaeb24a53629f9f7f167d281da77172df3b5f143dd07f402609228562fbd8b1732b814e84946e3ee1d97e497e918e9667326582c67297bdd2\",\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"scaId\": \"SampleSCA\",\n        \"type\": \"ADD_CONTRACT\",\n        \"customPayload\": {},\n        \"additionalInfo\": {},\n        \"version\": \"5.0.0\"\n      },\n      \"txReceipt\": {\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"result\": true,\n        \"errorCode\": \"\",\n        \"errorMessage\": \"CONTRACT_SYSTEM_EXCEPTION\",\n        \"receiptData\": {\n          \"result\": {}\n        },\n        \"version\": \"5.0.0\"\n      },\n      \"blockHeight\": {\n        \"blockHeight\": 7467062,\n        \"blockTimestamp\": \"2011-04-20T06:57:34.477Z\"\n      }\n    }\n  ],\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"offsetParam\": 0,\n  \"limitParam\": 20,\n  \"total\": 1\n}"},{"id":"f635f047-bb7c-4692-87f1-c2c97110249e","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"2012-06-17T09:50:33.433Z\",\n    \"contractAddress\": \"b302466b8ab9341ed6f9a4f6be166df9a8331g69\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions/contract","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions","contract"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"56818c80-549b-4197-bebd-c1ed0bf960d3","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"2012-06-17T09:50:33.433Z\",\n    \"contractAddress\": \"b302466b8ab9341ed6f9a4f6be166df9a8331g69\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/transactions/contract","host":["https://studios-api.stacs.io/chain/node-a"],"path":["transactions","contract"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"cf1c20b1-bf26-4561-854a-053e6ee04bbe"}],"id":"57ff14db-6ed3-4d43-8ba9-4bf090b4d0ae","description":"<p>Smart Contract actions and node functions such as Wallet Profile Identity are recorded and hashed on the STACS Blockchain as a Transaction. \nAPI calls involving Transaction-level information is provided here.</p>\n","_postman_id":"57ff14db-6ed3-4d43-8ba9-4bf090b4d0ae","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Node and Network","item":[{"name":"/node/status - get status of the node","id":"174e5d9b-bf83-447b-b8aa-bb374c5089d1","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://studios-api.stacs.io/chain/node-a/node/status","description":"<p>get the status of the blockchain node </p>\n","urlObject":{"path":["node","status"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"965bf447-487c-4667-9847-78de2acad5bc","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"ac2ca18b-4127-456a-a5f3-188771064c6c","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/node/status","host":["https://studios-api.stacs.io/chain/node-a"],"path":["node","status"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"data\": {\n    \"domainId\": \"Domain-A\",\n    \"nodeName\": \"Node-A\",\n    \"blockHeight\": 48793954,\n    \"consensusHeight\": 64100246,\n    \"raftMaster\": true,\n    \"nodeState\": \"Running\",\n    \"rs\": true,\n    \"rsStatus\": \"labore dolore tempor\",\n    \"caAuth\": true,\n    \"joinedConsensus\": false,\n    \"nodeJoinStatus\": \"END\"\n  }\n}"},{"id":"fef09f0e-d8bd-4797-b1f9-a6c10ed37a65","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/node/status","host":["https://studios-api.stacs.io/chain/node-a"],"path":["node","status"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d3d2ef22-27d4-4c8a-b197-0f0f14dca5fc","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/node/status","host":["https://studios-api.stacs.io/chain/node-a"],"path":["node","status"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"174e5d9b-bf83-447b-b8aa-bb374c5089d1"},{"name":"/node/gatekeeper - get state of all nodes in the network","id":"4377d9f9-9467-4756-87ce-40ccf13f5592","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://studios-api.stacs.io/chain/node-a/node/gatekeeper","description":"<p>get the state of all nodes and their domains (organizations) from within the permissioned network. </p>\n","urlObject":{"path":["node","gatekeeper"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"b2bd46de-d084-40b5-afef-0e0fdb0c7914","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"3417b37f-09d9-4b6c-9307-d822f186c3a7","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/node/gatekeeper","host":["https://studios-api.stacs.io/chain/node-a"],"path":["node","gatekeeper"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"data\": [\n    {\n      \"domainId\": \"Domain-A\",\n      \"nodeName\": \"Node-A\",\n      \"blockHeight\": 86714444,\n      \"consensusHeight\": 52580789,\n      \"raftMaster\": true,\n      \"nodeState\": \"Running\"\n    },\n    {\n      \"domainId\": \"Domain-A\",\n      \"nodeName\": \"Node-A\",\n      \"blockHeight\": 65274066,\n      \"consensusHeight\": 82381748,\n      \"raftMaster\": false,\n      \"nodeState\": \"Offline\"\n    }\n  ]\n}"},{"id":"bf1f3779-7965-40f5-bf97-e65f6629b3ed","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/node/gatekeeper","host":["https://studios-api.stacs.io/chain/node-a"],"path":["node","gatekeeper"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"8e5d8382-dffa-4ddb-9e4c-4d893405c27d","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/node/gatekeeper","host":["https://studios-api.stacs.io/chain/node-a"],"path":["node","gatekeeper"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4377d9f9-9467-4756-87ce-40ccf13f5592"}],"id":"6423fc6b-5a1c-4a8d-822b-0a5369aaa109","description":"<p>Generic node and permissioned network details can be obtained through API calls listed here.</p>\n","_postman_id":"6423fc6b-5a1c-4a8d-822b-0a5369aaa109","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Smart Contract","item":[{"name":"/smartcontracts/contracts - get contracts used by wallet address","id":"4cbb2098-9364-483b-87d2-287863193374","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts","description":"<p>retrieves all contracts and their details based on a specified wallet address</p>\n","urlObject":{"path":["smartcontracts","contracts"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"c648a48a-0f53-42da-977b-33c01a055d84","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"807c7b97-e65a-4ae1-b7a1-cf4467db788f","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","contracts"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"contract\": {\n        \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n        \"submitterSignature\": \"00316eb1dbabf1f7cbaeb24a53629f9f7f167d281da77172df3b5f143dd07f402609228562fbd8b1732b814e84946e3ee1d97e497e918e9667326582c67297bdd2\",\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"scaId\": \"SampleSCA\",\n        \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\"\n      }\n    },\n    {\n      \"contract\": {\n        \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n        \"submitterSignature\": \"00316eb1dbabf1f7cbaeb24a53629f9f7f167d281da77172df3b5f143dd07f402609228562fbd8b1732b814e84946e3ee1d97e497e918e9667326582c67297bdd2\",\n        \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n        \"scaId\": \"SampleSCA\",\n        \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\"\n      }\n    }\n  ],\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"offsetParam\": 0,\n  \"limitParam\": 20,\n  \"total\": 1\n}"},{"id":"3efafc9f-38d1-4d86-add1-ebbe043faf49","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","contracts"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"87795001-6360-4339-9f64-dacfa5633d76","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","contracts"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4cbb2098-9364-483b-87d2-287863193374"},{"name":"/smartcontracts/contracts/{templateId} - get details of a smart contract template","id":"fa314bb2-99ed-499d-8108-2b18dfc64f47","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts/:templateId","description":"<p>gets all invocable functions within the smart contract template, can be used to create new Smart Contract Access.</p>\n","urlObject":{"path":["smartcontracts","contracts",":templateId"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"8790b4cc-74b3-4e13-a8bf-48a7065d88f3","description":{"content":"<p>(Required) templateId of the smart contract to be deployed</p>\n","type":"text/plain"},"type":"any","value":"m","key":"templateId"},{"id":"5ee6b85e-0422-4a4f-9fd1-0f4fe543edb9","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"b927fb0a-93aa-457f-bb83-3d43482a5b79","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts/:templateId","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","contracts",":templateId"],"variable":[{"key":"templateId","value":"m","description":"(Required) templateId of the smart contract to be deployed"},{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"data\": [\n    {\n      \"functionMethod\": \"(bool) transfer(address,uint256)\",\n      \"rawFunction\": \"transfer(address recipient, uint256 amount)\"\n    },\n    {\n      \"functionMethod\": \"(bool) transfer(address,uint256)\",\n      \"rawFunction\": \"transfer(address recipient, uint256 amount)\"\n    }\n  ]\n}"},{"id":"c773fa5d-d724-497c-8f5e-39a248ba62b2","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts/:templateId","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","contracts",":templateId"],"variable":[{"key":"templateId","value":"m","description":"(Required) templateId of the smart contract to be deployed"},{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"cf66791a-1bdc-44ae-814c-414c00003d3f","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts/:templateId","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","contracts",":templateId"],"variable":[{"key":"templateId","value":"m","description":"(Required) templateId of the smart contract to be deployed"},{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fa314bb2-99ed-499d-8108-2b18dfc64f47"},{"name":"/smartcontracts/templates - get smart contract templates","id":"0f315c36-9eda-4e30-86bd-170094a8422e","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://studios-api.stacs.io/chain/node-a/smartcontracts/templates?offset=0&limit=20","description":"<p>retrieves all smart contract templates stored locally on the specified node. Smart Contract Solidity code is uploaded to the node and made available as templates for use via this API.</p>\n","urlObject":{"path":["smartcontracts","templates"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[{"description":{"content":"<p>Number of items to skip before returning the results.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"description":{"content":"<p>Maximum number of items to return.</p>\n","type":"text/plain"},"key":"limit","value":"20"}],"variable":[{"id":"8819a706-56ef-488f-a6de-f300cc86afe4","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"67614cd9-861a-40bb-ab8a-d130643c32fd","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/templates?offset=0&limit=20","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","templates"],"query":[{"key":"offset","value":"0"},{"key":"limit","value":"20"}],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"offsetParam\": 0,\n  \"limitParam\": 20,\n  \"total\": 1,\n  \"data\": [\n    {\n      \"templateId\": \"erc20.sol\"\n    },\n    {\n      \"templateId\": \"erc20.sol\"\n    }\n  ]\n}"},{"id":"13434db4-8b9a-4f0c-b4c2-70604117ef29","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/templates?offset=0&limit=20","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","templates"],"query":[{"key":"offset","value":"0"},{"key":"limit","value":"20"}],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"3335e851-664d-4934-9b18-aa2dada90fbf","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/templates?offset=0&limit=20","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","templates"],"query":[{"key":"offset","value":"0"},{"key":"limit","value":"20"}],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0f315c36-9eda-4e30-86bd-170094a8422e"},{"name":"/smartcontracts/create - create smart contract on chain","id":"6f264526-c789-4704-aa4a-c2e93a89f606","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"{{clientSecret}}"},{"key":"clientId","value":"{{clientId}}"},{"key":"accessTokenUrl","value":"{{accessTokenUrl}}"},{"key":"authUrl","value":"{{authUrl}}"},{"key":"redirect_uri","value":"{{callbackUrl}}"},{"key":"tokenName","value":"{{tokenName}}"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"txData\": {\n        \"scaId\": \"SystemBD\",\n        \"submitterAddress\": \"7f3a17765e8c0c6d52ff5f0fd9cfbb72110923eb\",\n        \"templateId\": \"ERC1400\",\n        \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n        \"contractParameters\": [\n            \"stacs2\",\n            \"STACS2\",\n            \"1\",\n            [\"0x7f3a17765e8c0c6d52ff5f0fd9cfbb72110923eb\"]\n        ],\n        \"contractSymbol\": \"ERC202107271112414112213\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\",\n        \"additionalData\": \"\"\n    },\n    \"txSignature\": \"00959b823c91c74b17677a42d3c6d09918c625d15a42a55a7265e61e80bcb6b80253bb5576976f4968071268556509e8c5d026c96b67cc82fb10d21dcebb75c3a7\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","description":"<p>Create smart contract instance and deploys onto the chain, includes minting a brand new token and deploying a contract on the blockchain.</p>\n<p>To confirm the transaction state on the chain, either subscribe for a callback message that will be sent asynchronously or utilize the <code>/transactions</code> endpoint.</p>\n","urlObject":{"path":["smartcontracts","create"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"cca94827-7b1a-4f46-95f0-92089294a148","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"dc0e329b-53db-4d37-a4cb-cbcbf2d04895","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","create"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n  \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n}"},{"id":"b1dd3041-9352-4002-a3a2-9eb7a6a86771","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","create"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"84f7880b-84f7-4f8b-868f-2b0563e5cce6","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","create"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6f264526-c789-4704-aa4a-c2e93a89f606"},{"name":"/smartcontracts/create - create smart contract on chain Copy","id":"ec5a3acf-a204-4f82-b26a-eb04ba8b7b7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","description":"<p>Create smart contract instance and deploys onto the chain, includes minting a brand new token and deploying a contract on the blockchain.</p>\n<p>To confirm the transaction state on the chain, either subscribe for a callback message that will be sent asynchronously or utilize the <code>/transactions</code> endpoint.</p>\n","urlObject":{"path":["smartcontracts","create"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"cca94827-7b1a-4f46-95f0-92089294a148","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"1cab64fc-9fde-490a-8368-9c1ec1d339ed","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","create"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n  \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n}"},{"id":"6bcc4a7a-22a7-4c50-a68e-caf6da911c22","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","create"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"87485fbd-ecaf-4191-a2bd-a3471011fc9e","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","create"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ec5a3acf-a204-4f82-b26a-eb04ba8b7b7d"},{"name":"/smartcontracts/create - create smart contract on chain Copy 2","id":"f5c6410b-7bdb-4dcb-baa8-25e23bd29a0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","description":"<p>Create smart contract instance and deploys onto the chain, includes minting a brand new token and deploying a contract on the blockchain.</p>\n<p>To confirm the transaction state on the chain, either subscribe for a callback message that will be sent asynchronously or utilize the <code>/transactions</code> endpoint.</p>\n","urlObject":{"path":["smartcontracts","create"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"cca94827-7b1a-4f46-95f0-92089294a148","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"85d54dd6-5b0c-4e5e-a80e-550461ff1d2d","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","create"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\",\n  \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n}"},{"id":"efe48b68-2b12-4a9f-bad1-748d7ff77315","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","create"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c85e9434-434b-4c2f-99da-821231e8c43e","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"templateId\": \"erc1400\",\n    \"contractConstructor\": \"ERC1400(string,string,uint256,address[])\",\n    \"contractParameters\": [\n      \"STG12\",\n      \"STG12\",\n      \"10000000000000\",\n      \"[a298466b8ab9341ed6f9a4f6be166df9a8330a72]\"\n    ],\n    \"contractSymbol\": \"STG12\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\",\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/create","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","create"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f5c6410b-7bdb-4dcb-baa8-25e23bd29a0f"},{"name":"/smartcontracts/invoke - invoke smart contract functions","id":"c532e0df-2c30-4db9-9bcc-30ebcf68f2a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"functionMethod\": \"(bool) transfer(address,uint256)\",\n    \"functionParameters\": [\n      \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"1000\"\n    ],\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/smartcontracts/invoke","description":"<p>Invoke specific functions that changes state of a smart contract based on contract address.</p>\n<p>The STACS blockchain enables smart contract code to conduct validation checks against Wallet Profile Identities recorded on the chain.\nValidation check will require custom code within the smart contract to be executed. </p>\n<p>Validation checks are specified in the API call using the validateConditions attribute which specifies the index position of the validation input argument within the functionParameters field.</p>\n<p><strong>Validation Check Example:</strong></p>\n<p>The smart contract input parameter should take in EL expressions that enable conditional checks against the Wallet Profile Identity. </p>\n<p>The following is an example of just such a conditional check:<br /><code>eq(country:[Singapore]) AND ( lt(rating:[3]) OR eq(type:[accredited]) ) </code>                 </p>\n<p>The above validation check would be successful for the following Wallet Profile Identities:\n<code>{country:Singapore,rating:2,type:accredited}</code><br /><code>{country:Singapore,rating:2,type:retail}</code><br /><code>{country:Singapore,rating:5,type:accredited}</code>   </p>\n<p>To confirm the transaction state on the chain, either subscribe for a callback message that will be sent asynchronously or utilize the <code>/transactions</code> endpoint.</p>\n","urlObject":{"path":["smartcontracts","invoke"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"9e019c0a-78d2-44f6-8ac6-c294709c4d4a","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"caa6dd5b-e677-45ee-924a-c2505ad88de6","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"functionMethod\": \"(bool) transfer(address,uint256)\",\n    \"functionParameters\": [\n      \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"1000\"\n    ],\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/invoke","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","invoke"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n}"},{"id":"2cc2a51b-da4f-47e4-b9b9-641a4f8e2d05","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"functionMethod\": \"(bool) transfer(address,uint256)\",\n    \"functionParameters\": [\n      \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"1000\"\n    ],\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/invoke","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","invoke"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a08c8aae-730a-46c0-ac94-36c40ea3a9cc","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"functionMethod\": \"(bool) transfer(address,uint256)\",\n    \"functionParameters\": [\n      \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"1000\"\n    ],\n    \"additionalData\": {}\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/invoke","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","invoke"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c532e0df-2c30-4db9-9bcc-30ebcf68f2a2"},{"name":"/smartcontracts/query - execute smart contract query function","id":"1f07a1a3-876c-48c1-a76b-c0f1590c491d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"functionMethod\": \"(uint256)balanceOf(address)\",\n    \"functionParameters\": [\n      \"de548c99b7e48069cd564315660213a46bbfa251\"\n    ]\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/smartcontracts/query","description":"<p>invoke specific query (read-only) function of a smart contract based on contract address</p>\n","urlObject":{"path":["smartcontracts","query"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"2bd2d839-e107-4a2f-86ac-44f7d819be19","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"51b02e82-b9fb-4f6b-b702-6a43f5fac2ad","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"functionMethod\": \"(uint256)balanceOf(address)\",\n    \"functionParameters\": [\n      \"de548c99b7e48069cd564315660213a46bbfa251\"\n    ]\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/query","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","query"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"data\": {\n    \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"queryResult\": [\n      \"9999300000000\"\n    ]\n  }\n}"},{"id":"d9456d1a-057d-4f25-9cfb-a663101117f0","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"functionMethod\": \"(uint256)balanceOf(address)\",\n    \"functionParameters\": [\n      \"de548c99b7e48069cd564315660213a46bbfa251\"\n    ]\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/query","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","query"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e1eef5c0-dc38-4066-9407-094ae6b524af","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"functionMethod\": \"(uint256)balanceOf(address)\",\n    \"functionParameters\": [\n      \"de548c99b7e48069cd564315660213a46bbfa251\"\n    ]\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/query","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","query"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"1f07a1a3-876c-48c1-a76b-c0f1590c491d"},{"name":"/smartcontracts/batchQuery - execute smart contract query function for multiple contracts","id":"d376cd07-dd48-484a-af6c-f6e99805b563","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": [\n      \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"b399466b8ab9341ed6f9a4f6be166df9a8330c25\"\n    ],\n    \"functionMethod\": \"(uint256)balanceOf(address)\",\n    \"functionParameters\": [\n      \"de548c99b7e48069cd564315660213a46bbfa251\"\n    ]\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts/batchQuery","description":"<p>invoke a specific query (read-only) function that exists on multiple smart contracts instances. Main use case is to find the balance of a wallet address for all tokens held.</p>\n","urlObject":{"path":["smartcontracts","contracts","batchQuery"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"5b05172c-3ebc-4749-ba70-6f6041e2f30c","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"12c544eb-5d36-4fe4-976b-6a510dd4d331","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": [\n      \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"b399466b8ab9341ed6f9a4f6be166df9a8330c25\"\n    ],\n    \"functionMethod\": \"(uint256)balanceOf(address)\",\n    \"functionParameters\": [\n      \"de548c99b7e48069cd564315660213a46bbfa251\"\n    ]\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts/batchQuery","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","contracts","batchQuery"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"data\": [\n    {\n      \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"queryResult\": [\n        \"9999300000000\"\n      ]\n    },\n    {\n      \"contractAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"queryResult\": [\n        \"9999300000000\"\n      ]\n    }\n  ]\n}"},{"id":"92066b9b-f4ba-4998-92f9-bab6fa48a21a","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": [\n      \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"b399466b8ab9341ed6f9a4f6be166df9a8330c25\"\n    ],\n    \"functionMethod\": \"(uint256)balanceOf(address)\",\n    \"functionParameters\": [\n      \"de548c99b7e48069cd564315660213a46bbfa251\"\n    ]\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts/batchQuery","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","contracts","batchQuery"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"212c2125-7003-4648-84ae-98fcdb62d607","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"contractAddress\": [\n      \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n      \"b399466b8ab9341ed6f9a4f6be166df9a8330c25\"\n    ],\n    \"functionMethod\": \"(uint256)balanceOf(address)\",\n    \"functionParameters\": [\n      \"de548c99b7e48069cd564315660213a46bbfa251\"\n    ]\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/contracts/batchQuery","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","contracts","batchQuery"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d376cd07-dd48-484a-af6c-f6e99805b563"},{"name":"/smartcontracts/valid/{contractSymbol} - check if contract symbol is unique","id":"67329168-471a-4239-b1ea-33e94aae799d","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://studios-api.stacs.io/chain/node-a/smartcontracts/valid/:contractSymbol","description":"<p>returns true if contract symbol was previously used and recorded on the chain</p>\n","urlObject":{"path":["smartcontracts","valid",":contractSymbol"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"173ac525-9fe6-434c-900e-b44212acd152","description":{"content":"<p>(Required) contract symbol on the blockchain</p>\n","type":"text/plain"},"type":"any","value":"m","key":"contractSymbol"},{"id":"2ceb83e6-891a-403e-98fc-8502faefa167","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"6d7a2e57-7d1b-4af1-82b2-1eb36dc48be4","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/valid/:contractSymbol","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","valid",":contractSymbol"],"variable":[{"key":"contractSymbol","value":"m","description":"(Required) contract symbol on the blockchain"},{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"false"},{"id":"2c747295-5933-473b-8b1c-0f89fdb6fd39","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/valid/:contractSymbol","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","valid",":contractSymbol"],"variable":[{"key":"contractSymbol","value":"m","description":"(Required) contract symbol on the blockchain"},{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"02432cd5-b7b4-4f3f-925b-6f6ef7fe8af5","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://studios-api.stacs.io/chain/node-a/smartcontracts/valid/:contractSymbol","host":["https://studios-api.stacs.io/chain/node-a"],"path":["smartcontracts","valid",":contractSymbol"],"variable":[{"key":"contractSymbol","value":"m","description":"(Required) contract symbol on the blockchain"},{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"67329168-471a-4239-b1ea-33e94aae799d"}],"id":"3266c7bf-8448-46f4-a750-b70ba091a194","description":"<p>Solidity Smart Contracts run within the EVM of all nodes within the STACS Blockchain network. </p>\n<p>This section describes the generic APIs that interface with any Smart Contract. \nDeployment of smart contracts onto the chain will require Smart Contract Access (SCA) to be first defined to enforce network access control and security. </p>\n<p>Specific example usage of APIs here can apply to Smart Contract interfaces such as ERC standards.</p>\n","_postman_id":"3266c7bf-8448-46f4-a750-b70ba091a194","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Node On-Chain Functions","item":[],"id":"685878b3-0eff-4fd4-a0e8-9b24f3f473b5","description":"<p>Multiple Enhanced on-chain features have been built directly into the STACS Blockchain nodes. </p>\n<p>This take advantage of the raw processing power of the node to offload generic processing work that typically rely on a smart contract at the EVM back to the node. \nThese features append information to the underlying blockchain ledger for future usage by Smart Contracts or by the network.</p>\n<p> Smart Contracts can utilize the following on-chain functions such as the versatile Data Feed, SWIFT Messages for later affirmation, and Wallet Profile Identity which enables nodes to ensure compliance and pre-checks can be enforced at the node level.</p>\n<p>Smart Contract Access (SCA) and Wallet Permission Tags are on-chain functions that provide Access Control and Management of the network.</p>\n","_postman_id":"685878b3-0eff-4fd4-a0e8-9b24f3f473b5","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Smart Contract Access (SCA)","item":[{"name":"/nodefunction/contractAccess - specify access control and permission for contract functions","id":"7dadd255-2224-48e8-92ff-17cf5a5aff9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaCode\": \"APACAccess\",\n    \"description\": \"contract access for erc20 for APAC region\",\n    \"permission\": \"SamplePermissionTag\",\n    \"functions\": [\n      {\n        \"functionMethod\": \"(bool) transfer(address,uint256)\",\n        \"name\": \"transfer\",\n        \"description\": \"Contract\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\",\n        \"permission\": \"SamplePermissionTag\"\n      },\n      {\n        \"functionMethod\": \"(bool) transfer(address,uint256)\",\n        \"name\": \"transfer\",\n        \"description\": \"Contract\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\",\n        \"permission\": \"SamplePermissionTag\"\n      }\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/nodefunction/contractAccess","description":"<p>Granular access control and permission setting for smart contracts defined at the function level. Whitelist user groups (Permission) and set governance for each function in your smart contract.</p>\n<p>To confirm the transaction state on the chain, either subscribe for a callback message that will be sent asynchronously or utilize the <code>/transactions</code> endpoint.</p>\n","urlObject":{"path":["nodefunction","contractAccess"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"8a8d8bfe-a637-4a58-a5d3-31778051b54b","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"280d4850-745f-47b9-9025-ed736eea792b","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaCode\": \"APACAccess\",\n    \"description\": \"contract access for erc20 for APAC region\",\n    \"permission\": \"SamplePermissionTag\",\n    \"functions\": [\n      {\n        \"functionMethod\": \"(bool) transfer(address,uint256)\",\n        \"name\": \"transfer\",\n        \"description\": \"Contract\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\",\n        \"permission\": \"SamplePermissionTag\"\n      },\n      {\n        \"functionMethod\": \"(bool) transfer(address,uint256)\",\n        \"name\": \"transfer\",\n        \"description\": \"Contract\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\",\n        \"permission\": \"SamplePermissionTag\"\n      }\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/contractAccess","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","contractAccess"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n}"},{"id":"db890aba-bc6b-44ec-a118-aabe608cd219","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaCode\": \"APACAccess\",\n    \"description\": \"contract access for erc20 for APAC region\",\n    \"permission\": \"SamplePermissionTag\",\n    \"functions\": [\n      {\n        \"functionMethod\": \"(bool) transfer(address,uint256)\",\n        \"name\": \"transfer\",\n        \"description\": \"Contract\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\",\n        \"permission\": \"SamplePermissionTag\"\n      },\n      {\n        \"functionMethod\": \"(bool) transfer(address,uint256)\",\n        \"name\": \"transfer\",\n        \"description\": \"Contract\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\",\n        \"permission\": \"SamplePermissionTag\"\n      }\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/contractAccess","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","contractAccess"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"af557991-64c3-4446-811f-3c41028c713b","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"scaCode\": \"APACAccess\",\n    \"description\": \"contract access for erc20 for APAC region\",\n    \"permission\": \"SamplePermissionTag\",\n    \"functions\": [\n      {\n        \"functionMethod\": \"(bool) transfer(address,uint256)\",\n        \"name\": \"transfer\",\n        \"description\": \"Contract\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\",\n        \"permission\": \"SamplePermissionTag\"\n      },\n      {\n        \"functionMethod\": \"(bool) transfer(address,uint256)\",\n        \"name\": \"transfer\",\n        \"description\": \"Contract\",\n        \"policyId\": \"DEFAULT_SYNC_POLICY\",\n        \"permission\": \"SamplePermissionTag\"\n      }\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"policyId\": \"DEFAULT_SYNC_POLICY\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/contractAccess","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","contractAccess"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7dadd255-2224-48e8-92ff-17cf5a5aff9c"},{"name":"/nodefunction/contractAccess/details - get Contract Access by submitter","id":"f77f4fc9-b427-4da2-b05e-f75ba0babfc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/nodefunction/contractAccess/details","description":"<p>get all Contract Access created by the submitter</p>\n","urlObject":{"path":["nodefunction","contractAccess","details"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"635621af-f14f-49ea-926f-04bf12313df6","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"66045452-1185-40d0-af9a-62c11362ed6d","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/contractAccess/details","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","contractAccess","details"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"offsetParam\": 0,\n  \"limitParam\": 20,\n  \"total\": 1,\n  \"data\": [\n    {\n      \"scaCode\": \"APACAccess\",\n      \"description\": \"contract access for erc20 for APAC region\",\n      \"permission\": \"SamplePermissionTag\",\n      \"functions\": [\n        {\n          \"functionMethod\": \"(bool) transfer(address,uint256)\",\n          \"name\": \"transfer\",\n          \"description\": \"Contract\",\n          \"policyId\": \"DEFAULT_SYNC_POLICY\",\n          \"permission\": \"SamplePermissionTag\"\n        },\n        {\n          \"functionMethod\": \"(bool) transfer(address,uint256)\",\n          \"name\": \"transfer\",\n          \"description\": \"Contract\",\n          \"policyId\": \"DEFAULT_SYNC_POLICY\",\n          \"permission\": \"SamplePermissionTag\"\n        }\n      ],\n      \"blockHeight\": 96187611,\n      \"blockTimestamp\": \"1961-02-10T05:14:00.905Z\",\n      \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n    },\n    {\n      \"scaCode\": \"APACAccess\",\n      \"description\": \"contract access for erc20 for APAC region\",\n      \"permission\": \"SamplePermissionTag\",\n      \"functions\": [\n        {\n          \"functionMethod\": \"(bool) transfer(address,uint256)\",\n          \"name\": \"transfer\",\n          \"description\": \"Contract\",\n          \"policyId\": \"DEFAULT_SYNC_POLICY\",\n          \"permission\": \"SamplePermissionTag\"\n        },\n        {\n          \"functionMethod\": \"(bool) transfer(address,uint256)\",\n          \"name\": \"transfer\",\n          \"description\": \"Contract\",\n          \"policyId\": \"DEFAULT_SYNC_POLICY\",\n          \"permission\": \"SamplePermissionTag\"\n        }\n      ],\n      \"blockHeight\": 29090782,\n      \"blockTimestamp\": \"1951-09-22T22:59:18.517Z\",\n      \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n    }\n  ]\n}"},{"id":"5137392c-13eb-4256-8c64-2e62d2100b93","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/contractAccess/details","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","contractAccess","details"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"05fb1932-333b-45ec-9ff3-7218d32a00c8","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"1990-05-11T13:40:35.882Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"offsetParam\": 0,\n    \"limitParam\": 20,\n    \"orderParam\": \"DESC\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/contractAccess/details","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","contractAccess","details"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f77f4fc9-b427-4da2-b05e-f75ba0babfc2"}],"id":"0d362d78-54ac-4713-a5c1-3eb611a86a97","description":"<p>Smart Contract Access (SCA) is a granular Access Control Management feature that is required before deployment of any Smart Contract in the permissioned network. </p>\n<p>For each publicly invocable function within the Smart Contract, groups of wallet addresses that are allowed to trigger the function has to be defined using Wallet Permission Tags. </p>\n<p>If a different Network Governance Policy is required, that can be specified at the function level as well. </p>\n<p>A single SCA is a template that can be reused for deployment of the same smart contract code template.</p>\n","_postman_id":"0d362d78-54ac-4713-a5c1-3eb611a86a97","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Wallet Permission Tag","item":[{"name":"/nodefunction/permission - create a new Permission tag","id":"7db68632-55b6-4719-a948-ad7fbf20abc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"permissionGroupId\": \"APAC_INSTITUTIONAL\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission","description":"<p>Permission is a tag that can be mapped to multiple wallet addresses (users) It is used in Contract Access to determine if those wallet addresses are eligbile for specific smart contract functions, i.e. transfer of tokens for a whitelisted set of users.</p>\n<p>To confirm the transaction state on the chain, either subscribe for a callback message that will be sent asynchronously or utilize the <code>/transactions</code> endpoint.</p>\n","urlObject":{"path":["nodefunction","permission"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"30e2f83d-8b5b-4561-ad42-ec4c6adfcdf5","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"bd0bee82-fe27-4c9d-9c52-e87ef5628649","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"permissionGroupId\": \"APAC_INSTITUTIONAL\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n}"},{"id":"93cba210-1611-4914-8c3b-67af9d8b6401","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"permissionGroupId\": \"APAC_INSTITUTIONAL\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"6c967fe1-b574-4179-aa3b-05aef1dfcc8d","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"permissionGroupId\": \"APAC_INSTITUTIONAL\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7db68632-55b6-4719-a948-ad7fbf20abc5"},{"name":"/nodefunction/permission/walletAddress/add - add tag permissions to a walletAddress","id":"4b2b064c-2991-4e32-a195-072834e14ce9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"permissionTags\": [\n      \"APAC_INSTITUTIONAL\",\n      \"APAC_INSTITUTIONAL\"\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress/add","description":"<p>Add multiple permission tags to a single wallet addresses.</p>\n<p>To confirm the transaction state on the chain, either subscribe for a callback message that will be sent asynchronously or utilize the <code>/transactions</code> endpoint.</p>\n","urlObject":{"path":["nodefunction","permission","walletAddress","add"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"f8ca8cbe-a365-41c5-a226-389b2bf66653","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"391abfae-4cdf-47d0-9c1b-c78511a27687","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"permissionTags\": [\n      \"APAC_INSTITUTIONAL\",\n      \"APAC_INSTITUTIONAL\"\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress/add","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission","walletAddress","add"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n}"},{"id":"9e4c47d8-372f-4160-b1ac-4dba243ae7dc","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"permissionTags\": [\n      \"APAC_INSTITUTIONAL\",\n      \"APAC_INSTITUTIONAL\"\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress/add","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission","walletAddress","add"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"491ab7a9-3e8d-4f2b-8b4e-ce2f82ead80a","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"permissionTags\": [\n      \"APAC_INSTITUTIONAL\",\n      \"APAC_INSTITUTIONAL\"\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress/add","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission","walletAddress","add"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4b2b064c-2991-4e32-a195-072834e14ce9"},{"name":"/nodefunction/permission/walletAddress/remove - untag permissions from a walletAddress","id":"2a1eed39-058f-46bf-8a16-98b21eae99e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"permissionTags\": [\n      \"APAC_INSTITUTIONAL\",\n      \"APAC_INSTITUTIONAL\"\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress/remove","description":"<p>Remove multiple permission tags of a single wallet addresses.</p>\n<p>To confirm the transaction state on the chain, either subscribe for a callback message that will be sent asynchronously or utilize the <code>/transactions</code> endpoint.</p>\n","urlObject":{"path":["nodefunction","permission","walletAddress","remove"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"a229da44-f844-4152-bdf9-b4d0fe8ffea2","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"9f056739-2041-4b32-af65-b7d48d88dc8a","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"permissionTags\": [\n      \"APAC_INSTITUTIONAL\",\n      \"APAC_INSTITUTIONAL\"\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress/remove","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission","walletAddress","remove"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n}"},{"id":"336b10ff-f8de-4c36-a7c6-d747b5cd7e09","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"permissionTags\": [\n      \"APAC_INSTITUTIONAL\",\n      \"APAC_INSTITUTIONAL\"\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress/remove","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission","walletAddress","remove"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"1d371a1b-6080-427a-8ea7-0c42acd682b2","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"permissionTags\": [\n      \"APAC_INSTITUTIONAL\",\n      \"APAC_INSTITUTIONAL\"\n    ],\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress/remove","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission","walletAddress","remove"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2a1eed39-058f-46bf-8a16-98b21eae99e7"},{"name":"/nodefunction/permission/walletAddress - get latest permission tags of a wallet address","id":"5458ec6e-bd74-4669-be5a-cd47b504c85a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"2004-01-25T03:08:59.432Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress","description":"<p>get the latest permission tags of a wallet address</p>\n","urlObject":{"path":["nodefunction","permission","walletAddress"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"f45dd012-f48c-4955-bb5c-da4b58c610a9","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"02244fc4-f80b-4643-a137-7d8bea9066f5","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"2004-01-25T03:08:59.432Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission","walletAddress"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n  \"permissionTags\": [\n    \"APAC_INSTITUTIONAL\",\n    \"APAC_INSTITUTIONAL\"\n  ]\n}"},{"id":"e54e5ac4-185a-4bcb-b5e2-3ca1ef11e53a","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"2004-01-25T03:08:59.432Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission","walletAddress"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"eb75c225-27f0-4695-aaad-7d3da7f30965","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"submitterTimestamp\": \"2004-01-25T03:08:59.432Z\",\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/permission/walletAddress","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","permission","walletAddress"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5458ec6e-bd74-4669-be5a-cd47b504c85a"}],"id":"68f686ba-bc04-4813-889d-de5a23c6748a","description":"<p>Permission tags enable grouping of wallet profiles to be authorized for specific actions such as transfer of tokens as required in SCA. </p>\n<p>Wallet Permission Tags are highly versatile and can be applied in any number of scenarios such as geographic restrictions, investor accredition level, investor risk levels and many others.</p>\n","_postman_id":"68f686ba-bc04-4813-889d-de5a23c6748a","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Wallet Profile Identity","item":[{"name":"/nodefunction/identity - create an Identity on the chain","id":"3126c3a8-b09b-4e04-ab14-65c466cf5743","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"identityType\": \"user\",\n    \"profile\": \"{country:Singapore,rating:5,type:accredited}\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/nodefunction/identity","description":"<p>Create an Identity on the chain for a single wallet address with information for smart contracts to evaluate if a function should execute successfully, i.e. transfer of tokens.</p>\n<p>The profile attribute defined in the Request body can be used for validation checks at the smart contact function level during invocation, which is with the POST smartcontracts/invoke API endpoint.</p>\n<p>This attribute should be defined with the following format in order to utilize the validation check feature:<br /><code>{key1:value1,key2:value2,key3:value3}</code></p>\n<p>For example, the following could be key-value pairs used for the Identity:<br /><code>{country:Singapore,rating:5,type:accredited}</code></p>\n<p>To confirm the transaction state on the chain, either subscribe for a callback message that will be sent asynchronously or utilize the <code>/transactions</code> endpoint.</p>\n","urlObject":{"path":["nodefunction","identity"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"26fe580f-a94a-4bd3-b3cf-a3f1a0e7674a","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"a861b976-0378-43c3-848e-bdf4c7985d23","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"identityType\": \"user\",\n    \"profile\": \"{country:Singapore,rating:5,type:accredited}\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/identity","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","identity"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n}"},{"id":"9c08f25d-10db-4216-86fb-04dbca94ff49","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"identityType\": \"user\",\n    \"profile\": \"{country:Singapore,rating:5,type:accredited}\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/identity","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","identity"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"53261ed8-32c8-4f99-b510-63f02c5db536","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"walletAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\",\n    \"identityType\": \"user\",\n    \"profile\": \"{country:Singapore,rating:5,type:accredited}\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/identity","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","identity"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3126c3a8-b09b-4e04-ab14-65c466cf5743"}],"id":"d1e41cdf-f082-4316-b706-c713a1d6beb4","description":"<p>Wallet Profile Identity enables the flexible construction of a wallet profile that is recorded onto the blockchain ledger that can be used by smart contracts for verifying a wallet's permission for critical functions such as the transfer of tokens. </p>\n<p>The Wallet Profile is simply the JSON payload which is a free-form field that is recorded onto the chain. </p>\n<p>Smart Contracts can invoke node-level functions to validate if the Wallet Profile adheres to rules set within the Smart Contract.</p>\n","_postman_id":"d1e41cdf-f082-4316-b706-c713a1d6beb4","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}},{"name":"Data Feed","item":[{"name":"/nodefunction/datafeed - put data on the chain","id":"ea218610-a809-4a1f-a3b2-786ed2db47ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"dataPayload\": \"any data to be recorded on the chain\",\n    \"payloadVersion\": \"1.2\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":"https://studios-api.stacs.io/chain/node-a/nodefunction/datafeed","description":"<p>Put any free form data on the blockchain, JSON format is encouraged for easier parsing when retrieving this data feed transaction.</p>\n<p>To confirm the transaction state on the chain, either subscribe for a callback message that will be sent asynchronously or utilize the <code>/transactions</code> endpoint.</p>\n","urlObject":{"path":["nodefunction","datafeed"],"host":["https://studios-api.stacs.io/chain/node-a"],"query":[],"variable":[{"id":"4a459111-187a-4835-bee5-3f5e06cc5dbf","description":{"content":"<p> (This can only be one of node-a,node-b)</p>\n","type":"text/plain"},"type":"any","value":"node-a","key":"node"}]}},"response":[{"id":"e82087ae-c27d-434c-a43b-4be6e9c0c67b","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"dataPayload\": \"any data to be recorded on the chain\",\n    \"payloadVersion\": \"1.2\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/datafeed","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","datafeed"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"000000\",\n  \"statusMessage\": \"Success\",\n  \"txId\": \"000001787d889b5fcd610266208411895b8b3d19\"\n}"},{"id":"77caacb7-e1c2-421b-8528-951efeb592ce","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"dataPayload\": \"any data to be recorded on the chain\",\n    \"payloadVersion\": \"1.2\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/datafeed","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","datafeed"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ba813b40-f961-4bba-b8a8-4964e21bd523","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"txData\": {\n    \"dataPayload\": \"any data to be recorded on the chain\",\n    \"payloadVersion\": \"1.2\",\n    \"scaId\": \"SampleSCA\",\n    \"submitterAddress\": \"a298466b8ab9341ed6f9a4f6be166df9a8330a72\"\n  },\n  \"txSignature\": \"00c2494600d72bbc7dd3f71dc1710308e561d4cce2de579f3046399d0046f4832f503894a2271bdfc49e2e318f5bb3ee98cdfbfc730bcb5ce9051c50ffba5a940d\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://studios-api.stacs.io/chain/node-a/nodefunction/datafeed","host":["https://studios-api.stacs.io/chain/node-a"],"path":["nodefunction","datafeed"],"variable":[{"key":"node","value":"node-a","description":" (This can only be one of node-a,node-b)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ea218610-a809-4a1f-a3b2-786ed2db47ba"}],"id":"e36d378f-e234-43f2-9593-557bf7b6d1dd","description":"<p>The Data Feed is a simple yet versatile API message to the blockchain that appends a data set that can be cross-referenced and stored by Smart Contracts.</p>\n","_postman_id":"e36d378f-e234-43f2-9593-557bf7b6d1dd","auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","id":"c30e327e-9359-4d39-8ad3-121a9a10bbf9","name":"STACS Platform APIs","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[]}},"variable":[{"id":"79d3487c-c2d2-48aa-84f6-4333ca74b650","key":"node","value":"node-a","type":"any","description":" (This can only be one of node-a,node-b)"},{"id":"7d00b303-8688-4624-8301-ef70debc5c90","key":"baseUrl","value":"https://studios-api.stacs.io/chain/node-a","type":"string"}]}