openapi: 3.0.3 info: title: Relysia Blockchain API description: Relysia makes blockchain adoption frictionless and easy. version: 2.4.8 servers: - url: https://api.relysia.com tags: - name: admin - description: Blockchain transaction related APIs. name: Transactions externalDocs: description: Our Documentation url: https://docs.relysia.com/payments/transactions - description: Useful blockchain tools. name: Utility externalDocs: description: Our documentation url: https://docs.relysia.com/utility - description: Blockchain wallet management related APIs. name: Wallets externalDocs: description: 'Our Documentation:' url: https://docs.relysia.com/wallets - description: BSV alias related APIs name: paymail - description: Token and Smart Contract related APIs. name: Smart Contracts externalDocs: description: Our documentation url: https://docs.relysia.com/token - description: User Authentication and Registration. name: Authentication externalDocs: description: find more info about auth Api url: https://docs.relysia.com/getting-started/setup - description: 'Danger Zone: Delete Entries from the DB.' name: Delete - name: quota - description: Push Notifications. name: Notifications - description: User identity related APIs. name: Identity externalDocs: description: find more info about user Api. url: https://docs.relysia.com/getting-started/setup paths: /: get: tags: - Utility operationId: Utility_getData responses: '200': description: Default Response /v1/issue: post: tags: - Smart Contracts summary: Mint a Token. operationId: SmartContracts_mintToken security: - authToken: [] - serviceID: [] description: >- Mint a token with given specifications (can be both token or NFT). More on docs.relysia.com. parameters: - schema: type: string default: STAS in: header name: protocol required: false - schema: type: boolean default: 'false' in: header name: reminting required: false - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/SmartContractsMintTokenRequest' examples: example1: value: description: A supermarket bonus point. name: Store Bonus Points protocolId: STAS symbol: SBP image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg tokenSupply: 3 decimals: 0 satsPerToken: 1 properties: legal: terms: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. licenceId: stastoken.com issuer: organisation: Vaionex Corp. legalForm: Limited governingLaw: US issuerCountry: US jurisdiction: US email: info@vaionex.com meta: schemaId: STAS1.0 website: vaionex.com legal: terms: Your token terms and description. media: - URI: string type: string altURI: string splitable: true data: {} example2: value: description: A supermarket bonus point. name: Store Bonus Points protocolId: STAS-20 symbol: SBP image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg tokenSupply: 3 decimals: 0 satsPerToken: 1 properties: legal: terms: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. licenceId: stastoken.com issuer: organisation: Vaionex Corp. legalForm: Limited governingLaw: US issuerCountry: US jurisdiction: US email: info@vaionex.com meta: schemaId: STAS1.0 website: vaionex.com legal: terms: Your token terms and description. media: - URI: string type: string altURI: string splitable: true data: data1: - data1 - data2 data2: - data1 - data2 required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/SmartContractsMintTokenResponse' example: statusCode: 200 data: status: success msg: Token created successfully. tokenId: cb75d56ad85630475ca4af078dcbf37828970d8d-HELLO12344 tokenObj: description: A supermarket bonus point. userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 symbol: HELLO12344 name: Store Bonus Points image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg totalSupply: 3 satsPerToken: 1 decimals: 0 properties: legal: terms: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. licenceId: stastoken.com issuer: organisation: Vaionex Corp. legalForm: Limited governingLaw: US issuerCountry: US jurisdiction: US email: info@vaionex.com meta: schemaId: STAS1.0 website: vaionex.com legal: terms: Your token terms and description. media: - URI: string type: string altURI: string splittable: true protocolId: STAS contractTxid: >- ec376960b7cf25ae846338253e403082fe5f4bc76d06ad547bf03403ee4403b5 issueTxid: >- e3dcb8dfee84a7a510b1b073d7b1b773ac61749370e51a6dbe38d8171213d36f contractAddress: 1KYoLAjrtNGULBHvPy1fT6T5xwqtcFQ4yA contractPublickey: >- 02e8f852e5015f8f12c228992a84b3b70c6789630b9ebef70529b802061db7a42f splitable: true '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/SmartContractsMintToken400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/token/{id}: get: tags: - Smart Contracts summary: Get STAS token details. operationId: SmartContracts_getTokenDetails description: Insert your STAS tokenId to receive information about it. parameters: - schema: type: string in: path name: id required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/SmartContractsGetTokenDetailsResponse' example: statusCode: 200 data: description: A supermarket bonus point. status: success msg: Token details fetched successfully token_id: 8a9e7ec666f0610ff3f0540ed55f07162e9dd7a8 symbol: SBPgdsfgdfsgds name: Store Bonus Points schema_id: STAS1.0 protocol: STAS-789 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg total_supply: 3 sats_per_token: 1 splitable: false properties: legal: terms: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. licenceId: stastoken.com issuer: organisation: Vaionex Corp. legal_form: Limited governing_law: US issuer_country: US jurisdiction: US email: info@vaionex.com meta: legal: '{"terms":"Your token terms and description."}' media: '[{"URI":"string","type":"string","altURI":"string"}]' schemaId: STAS1.0 website: vaionex.com contract_txs: - >- d1f376ffb62f30efdd1336ec379eb462ab1068dd67a55789ab1c445cf35c540d issuance_txs: - >- 7f06cdece4c08192e8872be802f120b85f0610e6f8e448b85c301e89ccc5bfe1 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/SmartContractsGetTokenDetails400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/URI: get: tags: - Utility summary: Resolve address and paymail alias information. operationId: Utility_resolveAddressInfo description: >- The URI endpoint helps developers to resolve addresses, paymails and invoices and puts them into a standardized response format. parameters: - schema: type: string in: header name: uri required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/UtilityResolveAddressInfoResponse' examples: example1: value: statusCode: 200 data: status: success msg: Operation completed successfully data: uri: payto:91@dev.relysia.com?amount=1 type: paymail mainProtocol: paymail outputs: - script: 76a9141a608132952ba364d19d6ef0c09e074fb3fcfedf88ac satoshis: 1 inputs: [] memo: Send to 91@dev.relysia.com isBSV: true peer: >- https://dev.relysia.com/api/bsvalias/receive-transaction/91@dev.relysia.com peerData: >- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJ2ZXJzaW9uIjoxLCJkZXJpdmF0aW9uUm9vdFBhdGgiOiJtLzUiLCJkZXJpdmF0aW9uUm9vdEluZGV4IjozOTE1LCJjb3VudCI6MX0.vgN6mSoxuVzSmdwXA_hJtvS_s6xyFdRVedsFAx4mt5K2fsI0Ps2pw4OCXWy6msUbAKYGOEeAqs9BoyJCOlgyng peerProtocol: paymail example2: value: statusCode: 200 data: status: success msg: Operation completed successfully data: uri: >- bitcoin:13ofTSnVngWV8VgvqpYZE4YuaWuARBkBp3?amount=0.00000001 type: bip21 mainProtocol: bip21 outputs: - script: 76a9141ec37cb9f5ab9ae49be75e8d45c02d1f2fd1c5a288ac satoshis: 1 inputs: [] memo: Payment to Address isBSV: false peer: null peerData: null peerProtocol: null '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/UtilityResolveAddressInfo400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/signUp: post: tags: - Authentication summary: User Registration. operationId: Authentication_createUserToken security: - serviceID: [] description: >- Creates a new user and returns the auth token required for API interactions. requestBody: content: application/json: schema: $ref: '#/components/schemas/AuthenticationCreateUserTokenRequest' examples: example1: value: email: satoshiasdsa@gmail.com password: 4m4z1ngT3ch example2: value: email: satoshiasdsa@gmail.com password: 4m4z1ngT3ch photo: Base64 encoded image example3: value: email: satoshiasdsa@gmail.com password: 4m4z1ngT3ch displayName: Satoshi Nakamoto example4: value: email: satoshiasdsa@gmail.com password: 4m4z1ngT3ch photo: Base64 encoded image displayName: Satoshi Nakamoto required: true responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/AuthenticationCreateUserTokenResponse' example: statusCode: 200 data: status: success msg: User created successfully. token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 userId: 5f1b0b3b1c9d440000f3e9b0 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AuthenticationCreateUserToken400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/auth: post: tags: - Authentication summary: Login Endpoint. operationId: Authentication_userLogin security: - serviceID: [] description: Login with an existing user account. requestBody: content: application/json: schema: $ref: '#/components/schemas/AuthenticationUserLoginRequest' example: email: satoshiasdsa@gmail.com password: 4m4z1ngT3ch required: true responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/AuthenticationUserLoginResponse' example: statusCode: 200 data: status: success msg: Login successful token: >- eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZXJ2aWNlSWQiOiIxMjM0NTY3ODkwIiwiaWF0IjoxNTE2M '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AuthenticationUserLogin400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/password/change: post: tags: - Authentication summary: Change password Endpoint operationId: Authentication_changeUserPassword security: - authToken: [] - serviceID: [] description: Change password endpoint for existing users to change their password. requestBody: content: application/json: schema: $ref: '#/components/schemas/AuthenticationChangeUserPasswordRequest' example: newPassword: 4m4z1ngT3ch required: true responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/AuthenticationChangeUserPasswordResponse' example: statusCode: 200 data: status: success msg: Password changed successfully. token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 userId: 5e8b2c9b0f1c1a1b1c1d1e1f '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/AuthenticationChangeUserPassword400Response example: statusCode: 400 data: status: error msg: Err msg /v1/user: get: tags: - Identity summary: Profile details. operationId: Identity_getProfileDetails security: - authToken: [] - serviceID: [] description: Call the /User endpoint to receive all account specific information. parameters: - schema: type: string in: header name: oauth required: false responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/IdentityGetProfileDetailsResponse' examples: example1: value: statusCode: 200 data: status: success msg: User details fetched successfully userDetails: userId: 5f7f1b9b9b9b9b9b9b9b9b9b passwordHash: $2b$1 passwordUpdatedAt: 1602222222 validSince: '2020-10-10T10:10:10.000Z' lastLoginAt: '2020-10-10T10:10:10.000Z' createdAt: '2020-10-10T10:10:10.000Z' lastRefreshAt: '2020-10-10T10:10:10.000Z' photo: https://example.com/photo.jpg displayName: John Doe phoneNumber: +1-202-555-0104 example2: value: statusCode: 200 data: status: success msg: User details fetched successfully userDetails: userId: 5f7f1b9b9b9b9b9b9b9b9b9b passwordHash: $2b$1 passwordUpdatedAt: 1602222222 validSince: '2020-10-10T10:10:10.000Z' lastLoginAt: '2020-10-10T10:10:10.000Z' createdAt: '2020-10-10T10:10:10.000Z' lastRefreshAt: '2020-10-10T10:10:10.000Z' photo: null displayName: null phoneNumber: null '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/IdentityGetProfileDetails400Response' example: statusCode: 400 data: status: error msg: Err msg delete: tags: - Delete summary: delete user account operationId: Delete_userAccount security: - authToken: [] - serviceID: [] description: >- you can delete user related whole data like wallets, paymail, account etc. responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/DeleteUserAccountResponse' example: statusCode: 200 data: status: success msg: account deleted successfully ! '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/DeleteUserAccount400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/send: post: tags: - Transactions summary: Transfer coins to an address. operationId: Transactions_createTransactionToAddress security: - authToken: [] - serviceID: [] description: >- Use the /send endpoint to create transactions to peers. The /send endpoint is agnostic to sending either Tokens or BSV. parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: >- #/components/schemas/TransactionsCreateTransactionToAddressRequest examples: example1: value: dataArray: - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 0.000005 example2: value: dataArray: - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk example3: value: dataArray: - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 0.000005 - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 0.000005 notes: test example4: value: dataArray: - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 5 - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 3 notes: test - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 3 notes: test data: - test1 - test2 example5: value: bundle: false dataArray: - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 1.e-7 - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 1.e-7 required: true responses: '200': description: Successful response content: application/json: schema: $ref: >- #/components/schemas/TransactionsCreateTransactionToAddressResponse examples: example1: value: statusCode: 200 data: status: success msg: Transaction(s) created successfully. txIds: - >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 errors: [] example2: value: statusCode: 200 data: status: success msg: Transaction(s) created successfully. txIds: - >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 - >- 80e5b09f1613a0f82c94216e84db747b80b631be8618eb97f3ea4ab440ea223f errors: [] example3: value: statusCode: 200 data: status: success msg: Transaction(s) created successfully. txIds: - >- 18d3c8cef40ba055e8151c9377d4c5f144dd1fe44f83f07079e2d0046dc79bc9 errors: [] '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/TransactionsCreateTransactionToAddress400Response example: statusCode: 400 data: status: error msg: Err msg /v1/rawtx: post: tags: - Transactions summary: Build and return a rawTx operationId: Transactions_createRawTx security: - authToken: [] - serviceID: [] description: >- Use the /rawTx endpoint containing a single input and output. Transactions can be held and the utxo that is used will be blocked from the user access. parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateRawTxRequest' examples: example1: value: dataArray: - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 0.000005 example2: value: dataArray: - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk example3: value: dataArray: - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 0.000005 - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 0.000005 notes: test data: - test1 - test2 example4: value: dataArray: - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 5 - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 3 notes: test - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 3 notes: test data: - test1 - test2 required: true responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateRawTxResponse' examples: example1: value: statusCode: 200 data: status: success msg: Operation completed successfully rawTxs: - >- 0100000002e36d2003986bc84d1dec875ed686960e3794334c2e53bd8ee0d7897e4bf3f521000000006a4730440220063953703f06f9557691dba7b0424b9a1ca6dba2ec35bae7dd41e7b15fd38f1d0220439c01459709def5c824ded74102f4170ab3cee9ba7ab9f3b92dc80d7fcecf74412103c63be73d975c3f6274539704e27b2cb811bcc80dc11e95157cef3df8a5b3ac36ffffffffe36d2003986bc84d1dec875ed686960e3794334c2e53bd8ee0d7897e4bf3f521010000006b483045022100e5e0b6e4a61b7bad5c69a5b83032d6a48bb5976d582d52c881db2910ad79bb58022040a10e7dd9cde95c3756c63f33d6b5c119f35dcb4cedd29cc4424bf01e3548ed4121020824bb65d1cc92de2a37410e4279211a0d53788140a528b17f7ada7f4ad8a9a9ffffffff0101000000000000001976a91447431db9649fd75c28834cb152f17cc8ea7fa11f88ac00000000 example2: value: statusCode: 200 data: status: success msg: Operation completed successfully rawTxs: - rawtx: >- 010000000227e26846dea42dd3aec67b801205b500cfbef214e630ea3ecbc7f2d24ce362e800000000fdc5075114fa6e04492aa0ce9eaa5aea00f1e6ac76ea8b5eba54148d30f8237c83b899e51f41a27e1317a735749f6d002002a733b75ebe47ee5600f38034e5a3019935405751ebc63db24c5d9fde623cec004d0907010000004f278468deaeedfb0010da3278cbbb88c2c496bbfffab8749d1fd85c039ff4c7752adad0a7b9ceca853768aebb6965eca126a62965f698a0c1bc43d83db632ad27e26846dea42dd3aec67b801205b500cfbef214e630ea3ecbc7f2d24ce362e800000000fd6a0676a9148da5aaef86362ed2487f5a01380886480617487c88ac6976aa607f5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7c5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01007e818b21414136d08c5ed2bf3ba048afe6dcaebafeffffffffffffffffffffffffffffff007d976e7c5296a06394677768827601249301307c7e23022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798027e7c7e7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01417e21038ff83d8cf12121491609c4939dc11c4aa35503508fe432dc5a5c1905608b9218ad547f7701207f01207f7701247f517f7801007e8102fd00a063546752687f7801007e817f727e7b01177f777b557a766471567a577a786354807e7e676d68aa880067765158a569765187645294567a5379587a7e7e78637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6867567a6876aa587a7d54807e577a597a5a7a786354807e6f7e7eaa727c7e676d6e7eaa7c687b7eaa587a7d877663516752687c72879b69537a647500687c7b547f77517f7853a0916901247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77788c6301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f777852946301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77686877517f7c52797d8b9f7c53a09b91697c76638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6876638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6863587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f7768587f517f7801007e817602fc00a06302fd00a063546752687f7801007e81727e7b7b687f75537f7c0376a9148801147f775379645579887567726881766968789263556753687a76026c057f7701147f8263517f7c766301007e817f7c6775006877686b537992635379528763547a6b547a6b677c6b567a6b537a7c717c71716868547a587f7c81547a557964936755795187637c686b687c547f7701207f75748c7a7669765880748c7a76567a876457790376a9147e7c7e557967041976a9147c7e0288ac687e7e5579636c766976748c7a9d58807e6c0376a9147e748c7a7e6c7e7e676c766b8263828c007c80517e846864745aa0637c748c7a76697d937b7b58807e56790376a9147e748c7a7e55797e7e6868686c567a5187637500678263828c007c80517e846868647459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e687459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e68687c537a9d547963557958807e041976a91455797e0288ac7e7e68aa87726d77776a1400b91626e0a4b97f624bc1f0d8fa3a3ef35ac6640100064b30513447384cc87c20565354207c2062343836613566623363386239616437366161363137393830306539666265373339313562363839383761636664383432326136326663346265616134356263207c2068747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f392f39352f546573745f696d6167652e6a7067207c2037207c2031207c205465737420546f6b656e202d2047656e657261746564206175746f6d61746963616c6c7920666f726d207465737473207c2030207c0100000000000000ffffffff01770f392bdddc76123f01a331b066d69d51ec56592574c1b7a8041999ea65be0000000041000000473044022026db83cccbd78b22d4c93080f916a00a5901eac67f675d553d5036869632d63e02205736dbc31e972c84bbc2e391db430022158f7e3b263d9c479589ce9e347edcd54121031a574b129d4dd0c9e0eae917bf06711d22219a2281debcc6c9bb5a6e87bb7c3fffffffff02a733b75ebe47ee5600f38034e5a3019935405751ebc63db24c5d9fde623cec000000006b483045022100bb0e41f70df285e205a8285dcb718ce7fd9539c93414e9a149ac6c427a043abb0220012213d0ba9e8905d2f39886b24b8457b5e06c2bc2c37dad0dd806c4107af7be4121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff020100000000000000fd6a0676a914fa6e04492aa0ce9eaa5aea00f1e6ac76ea8b5eba88ac6976aa607f5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7c5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01007e818b21414136d08c5ed2bf3ba048afe6dcaebafeffffffffffffffffffffffffffffff007d976e7c5296a06394677768827601249301307c7e23022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798027e7c7e7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01417e21038ff83d8cf12121491609c4939dc11c4aa35503508fe432dc5a5c1905608b9218ad547f7701207f01207f7701247f517f7801007e8102fd00a063546752687f7801007e817f727e7b01177f777b557a766471567a577a786354807e7e676d68aa880067765158a569765187645294567a5379587a7e7e78637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6867567a6876aa587a7d54807e577a597a5a7a786354807e6f7e7eaa727c7e676d6e7eaa7c687b7eaa587a7d877663516752687c72879b69537a647500687c7b547f77517f7853a0916901247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77788c6301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f777852946301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77686877517f7c52797d8b9f7c53a09b91697c76638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6876638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6863587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f7768587f517f7801007e817602fc00a06302fd00a063546752687f7801007e81727e7b7b687f75537f7c0376a9148801147f775379645579887567726881766968789263556753687a76026c057f7701147f8263517f7c766301007e817f7c6775006877686b537992635379528763547a6b547a6b677c6b567a6b537a7c717c71716868547a587f7c81547a557964936755795187637c686b687c547f7701207f75748c7a7669765880748c7a76567a876457790376a9147e7c7e557967041976a9147c7e0288ac687e7e5579636c766976748c7a9d58807e6c0376a9147e748c7a7e6c7e7e676c766b8263828c007c80517e846864745aa0637c748c7a76697d937b7b58807e56790376a9147e748c7a7e55797e7e6868686c567a5187637500678263828c007c80517e846868647459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e687459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e68687c537a9d547963557958807e041976a91455797e0288ac7e7e68aa87726d77776a1400b91626e0a4b97f624bc1f0d8fa3a3ef35ac6640100064b30513447384cc87c20565354207c2062343836613566623363386239616437366161363137393830306539666265373339313562363839383761636664383432326136326663346265616134356263207c2068747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f392f39352f546573745f696d6167652e6a7067207c2037207c2031207c205465737420546f6b656e202d2047656e657261746564206175746f6d61746963616c6c7920666f726d207465737473207c2030207c04000000000000001976a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac00000000 example3: value: statusCode: 200 data: status: success msg: Operation completed successfully rawTxs: - >- 0100000002e36d2003986bc84d1dec875ed686960e3794334c2e53bd8ee0d7897e4bf3f521000000006a4730440220063953703f06f9557691dba7b0424b9a1ca6dba2ec35bae7dd41e7b15fd38f1d0220439c01459709def5c824ded74102f4170ab3cee9ba7ab9f3b92dc80d7fcecf74412103c63be73d975c3f6274539704e27b2cb811bcc80dc11e95157cef3df8a5b3ac36ffffffffe36d2003986bc84d1dec875ed686960e3794334c2e53bd8ee0d7897e4bf3f521010000006b483045022100e5e0b6e4a61b7bad5c69a5b83032d6a48bb5976d582d52c881db2910ad79bb58022040a10e7dd9cde95c3756c63f33d6b5c119f35dcb4cedd29cc4424bf01e3548ed4121020824bb65d1cc92de2a37410e4279211a0d53788140a528b17f7ada7f4ad8a9a9ffffffff0101000000000000001976a91447431db9649fd75c28834cb152f17cc8ea7fa11f88ac00000000 - >- 0100000002050495956b562d31679124288101008e85f844787d9e5e62cc738f3b7ab4893a000000006a47304402201f8d1cb5d28d446cee5aad22f606a5fe743d69ecc9a4e1f692550e5ac0a8edf002202aa6e86a8c4cffad21b3af615a88467b0246ab9664350035885e7c0715c0d991412103c63be73d975c3f6274539704e27b2cb811bcc80dc11e95157cef3df8a5b3ac36ffffffff050495956b562d31679124288101008e85f844787d9e5e62cc738f3b7ab4893a010000006b483045022100a3b373d96ce85974d4f75dc160fbf1a2d8e08861a167e22a171c7a2de4f534a4022063ba605fff149e350b5b3806e6c5ed025d29e6d93f4fade7744b447f7fa3eea64121020824bb65d1cc92de2a37410e4279211a0d53788140a528b17f7ada7f4ad8a9a9ffffffff0101000000000000001976a91477cb578d9fab608a794871e6c994c6ff2e55a70788ac00000000 example4: value: statusCode: 200 data: status: success msg: Operation completed successfully rawTxs: - rawtx: >- 010000000227e26846dea42dd3aec67b801205b500cfbef214e630ea3ecbc7f2d24ce362e800000000fdc5075114fa6e04492aa0ce9eaa5aea00f1e6ac76ea8b5eba54148d30f8237c83b899e51f41a27e1317a735749f6d002002a733b75ebe47ee5600f38034e5a3019935405751ebc63db24c5d9fde623cec004d0907010000004f278468deaeedfb0010da3278cbbb88c2c496bbfffab8749d1fd85c039ff4c7752adad0a7b9ceca853768aebb6965eca126a62965f698a0c1bc43d83db632ad27e26846dea42dd3aec67b801205b500cfbef214e630ea3ecbc7f2d24ce362e800000000fd6a0676a9148da5aaef86362ed2487f5a01380886480617487c88ac6976aa607f5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7c5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01007e818b21414136d08c5ed2bf3ba048afe6dcaebafeffffffffffffffffffffffffffffff007d976e7c5296a06394677768827601249301307c7e23022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798027e7c7e7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01417e21038ff83d8cf12121491609c4939dc11c4aa35503508fe432dc5a5c1905608b9218ad547f7701207f01207f7701247f517f7801007e8102fd00a063546752687f7801007e817f727e7b01177f777b557a766471567a577a786354807e7e676d68aa880067765158a569765187645294567a5379587a7e7e78637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6867567a6876aa587a7d54807e577a597a5a7a786354807e6f7e7eaa727c7e676d6e7eaa7c687b7eaa587a7d877663516752687c72879b69537a647500687c7b547f77517f7853a0916901247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77788c6301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f777852946301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77686877517f7c52797d8b9f7c53a09b91697c76638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6876638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6863587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f7768587f517f7801007e817602fc00a06302fd00a063546752687f7801007e81727e7b7b687f75537f7c0376a9148801147f775379645579887567726881766968789263556753687a76026c057f7701147f8263517f7c766301007e817f7c6775006877686b537992635379528763547a6b547a6b677c6b567a6b537a7c717c71716868547a587f7c81547a557964936755795187637c686b687c547f7701207f75748c7a7669765880748c7a76567a876457790376a9147e7c7e557967041976a9147c7e0288ac687e7e5579636c766976748c7a9d58807e6c0376a9147e748c7a7e6c7e7e676c766b8263828c007c80517e846864745aa0637c748c7a76697d937b7b58807e56790376a9147e748c7a7e55797e7e6868686c567a5187637500678263828c007c80517e846868647459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e687459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e68687c537a9d547963557958807e041976a91455797e0288ac7e7e68aa87726d77776a1400b91626e0a4b97f624bc1f0d8fa3a3ef35ac6640100064b30513447384cc87c20565354207c2062343836613566623363386239616437366161363137393830306539666265373339313562363839383761636664383432326136326663346265616134356263207c2068747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f392f39352f546573745f696d6167652e6a7067207c2037207c2031207c205465737420546f6b656e202d2047656e657261746564206175746f6d61746963616c6c7920666f726d207465737473207c2030207c0100000000000000ffffffff01770f392bdddc76123f01a331b066d69d51ec56592574c1b7a8041999ea65be0000000041000000473044022026db83cccbd78b22d4c93080f916a00a5901eac67f675d553d5036869632d63e02205736dbc31e972c84bbc2e391db430022158f7e3b263d9c479589ce9e347edcd54121031a574b129d4dd0c9e0eae917bf06711d22219a2281debcc6c9bb5a6e87bb7c3fffffffff02a733b75ebe47ee5600f38034e5a3019935405751ebc63db24c5d9fde623cec000000006b483045022100bb0e41f70df285e205a8285dcb718ce7fd9539c93414e9a149ac6c427a043abb0220012213d0ba9e8905d2f39886b24b8457b5e06c2bc2c37dad0dd806c4107af7be4121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff020100000000000000fd6a0676a914fa6e04492aa0ce9eaa5aea00f1e6ac76ea8b5eba88ac6976aa607f5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7c5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01007e818b21414136d08c5ed2bf3ba048afe6dcaebafeffffffffffffffffffffffffffffff007d976e7c5296a06394677768827601249301307c7e23022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798027e7c7e7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01417e21038ff83d8cf12121491609c4939dc11c4aa35503508fe432dc5a5c1905608b9218ad547f7701207f01207f7701247f517f7801007e8102fd00a063546752687f7801007e817f727e7b01177f777b557a766471567a577a786354807e7e676d68aa880067765158a569765187645294567a5379587a7e7e78637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6867567a6876aa587a7d54807e577a597a5a7a786354807e6f7e7eaa727c7e676d6e7eaa7c687b7eaa587a7d877663516752687c72879b69537a647500687c7b547f77517f7853a0916901247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77788c6301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f777852946301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77686877517f7c52797d8b9f7c53a09b91697c76638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6876638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6863587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f7768587f517f7801007e817602fc00a06302fd00a063546752687f7801007e81727e7b7b687f75537f7c0376a9148801147f775379645579887567726881766968789263556753687a76026c057f7701147f8263517f7c766301007e817f7c6775006877686b537992635379528763547a6b547a6b677c6b567a6b537a7c717c71716868547a587f7c81547a557964936755795187637c686b687c547f7701207f75748c7a7669765880748c7a76567a876457790376a9147e7c7e557967041976a9147c7e0288ac687e7e5579636c766976748c7a9d58807e6c0376a9147e748c7a7e6c7e7e676c766b8263828c007c80517e846864745aa0637c748c7a76697d937b7b58807e56790376a9147e748c7a7e55797e7e6868686c567a5187637500678263828c007c80517e846868647459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e687459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e68687c537a9d547963557958807e041976a91455797e0288ac7e7e68aa87726d77776a1400b91626e0a4b97f624bc1f0d8fa3a3ef35ac6640100064b30513447384cc87c20565354207c2062343836613566623363386239616437366161363137393830306539666265373339313562363839383761636664383432326136326663346265616134356263207c2068747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f392f39352f546573745f696d6167652e6a7067207c2037207c2031207c205465737420546f6b656e202d2047656e657261746564206175746f6d61746963616c6c7920666f726d207465737473207c2030207c04000000000000001976a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac00000000 - rawtx: >- 010000000227e26846dea42dd3aec67b801205b500cfbef214e630ea3ecbc7f2d24ce362e800000000fdc5075114fa6e04492aa0ce9eaa5aea00f1e6ac76ea8b5eba54148d30f8237c83b899e51f41a27e1317a735749f6d002002a733b75ebe47ee5600f38034e5a3019935405751ebc63db24c5d9fde623cec004d0907010000004f278468deaeedfb0010da3278cbbb88c2c496bbfffab8749d1fd85c039ff4c7752adad0a7b9ceca853768aebb6965eca126a62965f698a0c1bc43d83db632ad27e26846dea42dd3aec67b801205b500cfbef214e630ea3ecbc7f2d24ce362e800000000fd6a0676a9148da5aaef86362ed2487f5a01380886480617487c88ac6976aa607f5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7c5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01007e818b21414136d08c5ed2bf3ba048afe6dcaebafeffffffffffffffffffffffffffffff007d976e7c5296a06394677768827601249301307c7e23022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798027e7c7e7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01417e21038ff83d8cf12121491609c4939dc11c4aa35503508fe432dc5a5c1905608b9218ad547f7701207f01207f7701247f517f7801007e8102fd00a063546752687f7801007e817f727e7b01177f777b557a766471567a577a786354807e7e676d68aa880067765158a569765187645294567a5379587a7e7e78637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6867567a6876aa587a7d54807e577a597a5a7a786354807e6f7e7eaa727c7e676d6e7eaa7c687b7eaa587a7d877663516752687c72879b69537a647500687c7b547f77517f7853a0916901247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77788c6301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f777852946301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77686877517f7c52797d8b9f7c53a09b91697c76638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6876638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6863587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f7768587f517f7801007e817602fc00a06302fd00a063546752687f7801007e81727e7b7b687f75537f7c0376a9148801147f775379645579887567726881766968789263556753687a76026c057f7701147f8263517f7c766301007e817f7c6775006877686b537992635379528763547a6b547a6b677c6b567a6b537a7c717c71716868547a587f7c81547a557964936755795187637c686b687c547f7701207f75748c7a7669765880748c7a76567a876457790376a9147e7c7e557967041976a9147c7e0288ac687e7e5579636c766976748c7a9d58807e6c0376a9147e748c7a7e6c7e7e676c766b8263828c007c80517e846864745aa0637c748c7a76697d937b7b58807e56790376a9147e748c7a7e55797e7e6868686c567a5187637500678263828c007c80517e846868647459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e687459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e68687c537a9d547963557958807e041976a91455797e0288ac7e7e68aa87726d77776a1400b91626e0a4b97f624bc1f0d8fa3a3ef35ac6640100064b30513447384cc87c20565354207c2062343836613566623363386239616437366161363137393830306539666265373339313562363839383761636664383432326136326663346265616134356263207c2068747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f392f39352f546573745f696d6167652e6a7067207c2037207c2031207c205465737420546f6b656e202d2047656e657261746564206175746f6d61746963616c6c7920666f726d207465737473207c2030207c0100000000000000ffffffff01770f392bdddc76123f01a331b066d69d51ec56592574c1b7a8041999ea65be0000000041000000473044022026db83cccbd78b22d4c93080f916a00a5901eac67f675d553d5036869632d63e02205736dbc31e972c84bbc2e391db430022158f7e3b263d9c479589ce9e347edcd54121031a574b129d4dd0c9e0eae917bf06711d22219a2281debcc6c9bb5a6e87bb7c3fffffffff02a733b75ebe47ee5600f38034e5a3019935405751ebc63db24c5d9fde623cec000000006b483045022100bb0e41f70df285e205a8285dcb718ce7fd9539c93414e9a149ac6c427a043abb0220012213d0ba9e8905d2f39886b24b8457b5e06c2bc2c37dad0dd806c4107af7be4121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff020100000000000000fd6a0676a914fa6e04492aa0ce9eaa5aea00f1e6ac76ea8b5eba88ac6976aa607f5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7c5f7f7c5e7f7c5d7f7c5c7f7c5b7f7c5a7f7c597f7c587f7c577f7c567f7c557f7c547f7c537f7c527f7c517f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01007e818b21414136d08c5ed2bf3ba048afe6dcaebafeffffffffffffffffffffffffffffff007d976e7c5296a06394677768827601249301307c7e23022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798027e7c7e7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c8276638c687f7c7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e01417e21038ff83d8cf12121491609c4939dc11c4aa35503508fe432dc5a5c1905608b9218ad547f7701207f01207f7701247f517f7801007e8102fd00a063546752687f7801007e817f727e7b01177f777b557a766471567a577a786354807e7e676d68aa880067765158a569765187645294567a5379587a7e7e78637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6878637c8c7c53797e577a7e6867567a6876aa587a7d54807e577a597a5a7a786354807e6f7e7eaa727c7e676d6e7eaa7c687b7eaa587a7d877663516752687c72879b69537a647500687c7b547f77517f7853a0916901247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77788c6301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f777852946301247f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e816854937f77686877517f7c52797d8b9f7c53a09b91697c76638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6876638c7c587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f777c6863587f77517f7c01007e817602fc00a06302fd00a063546752687f7c01007e81687f7768587f517f7801007e817602fc00a06302fd00a063546752687f7801007e81727e7b7b687f75537f7c0376a9148801147f775379645579887567726881766968789263556753687a76026c057f7701147f8263517f7c766301007e817f7c6775006877686b537992635379528763547a6b547a6b677c6b567a6b537a7c717c71716868547a587f7c81547a557964936755795187637c686b687c547f7701207f75748c7a7669765880748c7a76567a876457790376a9147e7c7e557967041976a9147c7e0288ac687e7e5579636c766976748c7a9d58807e6c0376a9147e748c7a7e6c7e7e676c766b8263828c007c80517e846864745aa0637c748c7a76697d937b7b58807e56790376a9147e748c7a7e55797e7e6868686c567a5187637500678263828c007c80517e846868647459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e687459a0637c748c7a76697d937b7b58807e55790376a9147e748c7a7e55797e7e68687c537a9d547963557958807e041976a91455797e0288ac7e7e68aa87726d77776a1400b91626e0a4b97f624bc1f0d8fa3a3ef35ac6640100064b30513447384cc87c20565354207c2062343836613566623363386239616437366161363137393830306539666265373339313562363839383761636664383432326136326663346265616134356263207c2068747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f392f39352f546573745f696d6167652e6a7067207c2037207c2031207c205465737420546f6b656e202d2047656e657261746564206175746f6d61746963616c6c7920666f726d207465737473207c2030207c04000000000000001976a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac00000000 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateRawTx400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/migrateToken: post: tags: - admin summary: Migrate token operationId: Admin_migrateTokenRequest security: - authToken: [] - serviceID: [] parameters: - schema: type: string in: header name: walletID required: false responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminMigrateTokenRequestResponse' example: statusCode: 200 data: status: success msg: migration started successfully '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminMigrateTokenRequest400Response' example: statusCode: 400 data: status: error msg: Err msg deprecated: true /v1/tokenMetrics: get: tags: - Utility summary: sync token from blockchain operationId: Utility_syncTokenFromBlockchain security: - authToken: [] - serviceID: [] parameters: - schema: type: string in: header name: walletID required: false - schema: type: boolean default: false in: header name: force required: false responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/UtilitySyncTokenFromBlockchainResponse' example: statusCode: 200 data: status: success msg: migration started successfully '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/UtilitySyncTokenFromBlockchain400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/drop: post: tags: - Transactions summary: Withdraws coins from PrivateKeys. operationId: Transactions_withdrawFromPrivateKey security: - serviceID: [] description: >- The drop endpoints allows users to transfer coins (BSV or Token) from a PrivateKey. parameters: - schema: type: string in: header name: secretKey required: false - schema: type: string in: header name: privateKey required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsWithdrawFromPrivateKeyRequest' examples: example1: value: dataArray: - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 0.000005 example2: value: dataArray: - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk example3: value: dataArray: - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 0.000005 - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 0.000005 notes: test data: - test1 - test2 example4: value: dataArray: - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 5 - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 3 notes: test - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 3 notes: test data: - test1 - test2 required: true responses: '200': description: Successful response content: application/json: schema: $ref: >- #/components/schemas/TransactionsWithdrawFromPrivateKeyResponse examples: example1: value: statusCode: 200 data: status: success msg: Transaction(s) created successfully. txIds: - >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 errors: [] example2: value: statusCode: 200 data: status: success msg: Transaction(s) created successfully. txIds: - >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 - >- 80e5b09f1613a0f82c94216e84db747b80b631be8618eb97f3ea4ab440ea223f errors: [] example3: value: statusCode: 200 data: status: success msg: Transaction(s) created successfully. txIds: - >- 18d3c8cef40ba055e8151c9377d4c5f144dd1fe44f83f07079e2d0046dc79bc9 errors: [] '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/TransactionsWithdrawFromPrivateKey400Response example: statusCode: 400 data: status: error msg: Err msg /v1/sweep: post: tags: - Transactions summary: Transfers all assets from PrivateKey to the User. operationId: Transactions_transferAssetsFromPrivateKey security: - authToken: [] - serviceID: [] description: >- The sweep endpoints allows users to transfer all coins (BSV and Tokens) from a PrivateKey. parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: >- #/components/schemas/TransactionsTransferAssetsFromPrivateKeyRequest example: privateKey: string required: true responses: '200': description: Successful response content: application/json: schema: $ref: >- #/components/schemas/TransactionsTransferAssetsFromPrivateKeyResponse examples: example1: value: statusCode: 200 data: status: success msg: Transaction(s) created successfully. txIds: - >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 errors: [] example2: value: statusCode: 200 data: status: success msg: Transaction(s) created successfully. txIds: - >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 - >- 80e5b09f1613a0f82c94216e84db747b80b631be8618eb97f3ea4ab440ea223f errors: [] example3: value: statusCode: 200 data: status: success msg: Transaction(s) created successfully. txIds: - >- 18d3c8cef40ba055e8151c9377d4c5f144dd1fe44f83f07079e2d0046dc79bc9 errors: [] '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/TransactionsTransferAssetsFromPrivateKey400Response example: statusCode: 400 data: status: error msg: Err msg /v1/offer: post: tags: - Transactions summary: Create an Atomic Swap operationId: Transactions_createAtomicSwap security: - authToken: [] - serviceID: [] description: >- This endpoint allows user to create a swap offer. For token to BSV swap use tokenId, amount(number of tokens) and sn(optional serial number if NFT) and wantedAmount in BSV value (decimal). For token to token swap use wantedAmount(wanted number of tokens), wantedTokenId and wantedSn(optional serial number if NFT), can also instead use wantedScript using a token script hex value instead of wantedTokenId and wantedSn parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateAtomicSwapRequest' examples: example1: value: dataArray: - tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG amount: 1 wantedAmount: 1 wantedTokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-YJO example2: value: dataArray: - tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG sn: 85 amount: 1 wantedAmount: 1 wantedTokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-YJO wantedSn: 45 example3: value: dataArray: - tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG amount: 1 wantedAmount: 2.5e-7 example4: value: dataArray: - tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG sn: 85 amount: 1 wantedAmount: 2.5e-7 example5: value: dataArray: - amount: 2.5e-7 wantedAmount: 1 wantedTokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-YJO example6: value: dataArray: - amount: 2.5e-7 wantedAmount: 1 wantedTokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-YJO wantedSn: 60 example7: value: dataArray: - amount: 2.5e-7 wantedAmount: 1 wantedTokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-YJO - tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG amount: 1 wantedAmount: 2.5e-7 - tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG amount: 1 wantedAmount: 1 wantedTokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-YJO example8: value: dataArray: - amount: 2.5e-7 wantedAmount: 1 wantedTokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-YJO wantedSn: 60 - tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG sn: 85 amount: 1 wantedAmount: 2.5e-7 - tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG sn: 85 amount: 1 wantedAmount: 1 wantedTokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-YJO wantedSn: 45 required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateAtomicSwapResponse' examples: example1: value: statusCode: 200 data: status: success msg: Offer created successfully contents: - >- 010000000184c5740d26e45e7d3574f51bc57346bdec86478669c4a4c90252acaa7a69353d000000006b483045022100876446ffa4fb4dbe362f00adca8d13c5010e5ef5dbfc3f261849fe267352bb2202201b367635c117cd1ce002033a12e115a56be5fa8f59cdaa2ed15f8ed683d23f6dc3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 example2: value: statusCode: 200 data: status: success msg: Offer created successfully contents: - >- 0100000001c5a3b200dce3761303df00166b7f424987ba7bce0ca2806ccfd6c0492fd43b98000000006a47304402201a289a73ca3c3e3dd183193c9c52fd1cbd1607d31769879b56da5eadd00071810220296232d51d8591406848eb4a7ee7dd246403de69237afbab687f0bc84e6354cbc3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 - >- 0100000001b0619eea04bf5f1f765097cbbe2fad314dc6cedebedfe45e97bd30e261008820000000006a473044022075b1b3d916dc32bd7b4dd13e1681e5cb68944331a515ea5d169eb665f032617b022050d287f19c63d0b99a78af62ba580c4574b43373db134b9fc9cb157b9156d882c3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateAtomicSwap400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/swap: post: tags: - Transactions summary: Accepting atomic swap offers. operationId: Transactions_acceptSwapOffer security: - authToken: [] - serviceID: [] description: >- This endpoint allows users to accept swap offers by passing respective hex value values. parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsAcceptSwapOfferRequest' examples: example1: value: dataArray: - swapHex: >- 010000000184c5740d26e45e7d3574f51bc57346bdec86478669c4a4c90252acaa7a69353d000000006b483045022100876446ffa4fb4dbe362f00adca8d13c5010e5ef5dbfc3f261849fe267352bb2202201b367635c117cd1ce002033a12e115a56be5fa8f59cdaa2ed15f8ed683d23f6dc3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 example2: value: dataArray: - swapHex: >- 0100000001c5a3b200dce3761303df00166b7f424987ba7bce0ca2806ccfd6c0492fd43b98000000006a47304402201a289a73ca3c3e3dd183193c9c52fd1cbd1607d31769879b56da5eadd00071810220296232d51d8591406848eb4a7ee7dd246403de69237afbab687f0bc84e6354cbc3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 - swapHex: >- 0100000001b0619eea04bf5f1f765097cbbe2fad314dc6cedebedfe45e97bd30e261008820000000006a473044022075b1b3d916dc32bd7b4dd13e1681e5cb68944331a515ea5d169eb665f032617b022050d287f19c63d0b99a78af62ba580c4574b43373db134b9fc9cb157b9156d882c3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/TransactionsAcceptSwapOfferResponse' examples: example1: value: statusCode: 200 data: status: success msg: Swap offer accepted successfully. txIds: - >- 2e74b8df67efebbd64e90994417f2c42b4eddd1c58327bb0d548453b2409bbe0 errors: [] example2: value: statusCode: 200 data: status: success msg: Swap offer accepted successfully. txIds: - >- 0d1fa874f233e1a46ad3a74217e5eb656eed8f2c2dafe889e1566851e7deae3c - >- 81ab5a4ac721ab9eb4539cf173e248d5bb6e9226263d8361a175d38a983587ba errors: [] example3: value: statusCode: 200 data: status: success msg: Swap offer accepted successfully. txIds: - >- 2e74b8df67efebbd64e90994417f2c42b4eddd1c58327bb0d548453b2409bbe0 errors: - 'Tx Number 1 : unsupported script type' - 'Tx Number 2 : unsupported token type' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/TransactionsAcceptSwapOffer400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/exchangeOffer: post: tags: - Transactions summary: Creates swap offer for exchange - returns swap ID operationId: Transactions_createSwapOffer security: - authToken: [] - serviceID: [] description: >- This endpoint allows user to create a swap offer object that can be used for the exchange endpoint. The amount value is the value in satoshis wanted in exchange for the token. Payment field is to add in extra outputs if requested with amount in satoshis and to for address string. NOTE : maximum of 2 extra outputs allowed parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateSwapOfferRequest' examples: example1: value: dataArray: - tokenId: >- 900d39ffb5cd0728a59c76c79ab6939af19c3c0d-sToken51br5a656s5126j amount: 1.e-8 type: BSV example2: value: dataArray: - tokenId: >- 900d39ffb5cd0728a59c76c79ab6939af19c3c0d-sToken51br5a656s5126j sn: 5 amount: 1.e-8 type: BSV payment: - to: 1CZRgtb2G7ykqyfBqFXf9AutRaWKY2fN4x amount: 1.e-8 - to: 1CZRgtb2G7ykqyfBqFXf9AutRaWKY2we4x amount: 1.e-8 required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateSwapOfferResponse' examples: example1: value: statusCode: 200 data: status: success msg: Swap offer created successfully contents: - swapId: 0be1541d-c44d-4209-a5d0-f197ec587e7b swapOfferHex: >- 0100000001e7440cf4384e060ae765557c9889a2df9547bb89c9e319c687d0845ed653e4d4000000006b48304502210086cee5783fe831dcd647ff9d2b516562573afcc80df0d3c7004f0978916a9139022058a0e27ac520e207f289cdfbd342083651b6ef77b0fcf7b8c6109386fbd6544fc3210209d882c772f19ef511c81fb161abaf98c561767b29c92f424b0b2fa16e147eb4ffffffff0100e1f505000000001976a9140bb9eb13c821d10af1f5fbf01c04577305c24d3788ac00000000 tokenSatoshis: 1 tokenContractTxid: >- 4d68e9178f7eb1fc8bd4a0ac9a9f034e8f4c61010eaa286ba6344827e0b5d1cd payment: null prevTxid: >- d4e453d65e84d087c619e3c989bb4795dfa289987c5565e70a064e38f40c44e7 tokenId: 8226da9a724b0581928ee508df0174ed7b233a81-IR_MAN tokenOwnerAddress: 12519wQZvqjuqxggUco872zKs66L9x438C totalOutputSatoshis: 100000000 makerPublicKeyHash: 0bb9eb13c821d10af1f5fbf01c04577305c24d37 example2: value: statusCode: 200 data: status: success msg: Swap offer created successfully contents: - swapId: 7ef4c018-1ba8-493d-9738-649994e24a86 swapOfferHex: >- 0100000001e7440cf4384e060ae765557c9889a2df9547bb89c9e319c687d0845ed653e4d4000000006b48304502210086cee5783fe831dcd647ff9d2b516562573afcc80df0d3c7004f0978916a9139022058a0e27ac520e207f289cdfbd342083651b6ef77b0fcf7b8c6109386fbd6544fc3210209d882c772f19ef511c81fb161abaf98c561767b29c92f424b0b2fa16e147eb4ffffffff0100e1f505000000001976a9140bb9eb13c821d10af1f5fbf01c04577305c24d3788ac00000000 tokenSatoshis: 1 tokenContractTxid: >- 4d68e9178f7eb1fc8bd4a0ac9a9f034e8f4c61010eaa286ba6344827e0b5d1cd payment: null prevTxid: >- d4e453d65e84d087c619e3c989bb4795dfa289987c5565e70a064e38f40c44e7 tokenId: 8226da9a724b0581928ee508df0174ed7b233a81-IR_MAN tokenOwnerAddress: 12519wQZvqjuqxggUco872zKs66L9x438C totalOutputSatoshis: 100000000 makerPublicKeyHash: 0bb9eb13c821d10af1f5fbf01c04577305c24d37 - swapId: 45c108dc-28da-4544-b938-fa966ff8151b swapOfferHex: >- 0100000001e7440cf4384e060ae765557c9889a2df9547bb89c9e319c687d0845ed653e4d4000000006b483045022100ccd4f2025ec90b337fcb66c03ebae80d9057d8da36c554df3db93be3068430b90220710d6eda3911c94c36652fcb82085d7511354df3ad8f0dda3e9ac023deee9a29c3210209d882c772f19ef511c81fb161abaf98c561767b29c92f424b0b2fa16e147eb4ffffffff0100a3e111000000001976a9140bb9eb13c821d10af1f5fbf01c04577305c24d3788ac00000000 tokenSatoshis: 1 tokenContractTxid: >- 4d68e9178f7eb1fc8bd4a0ac9a9f034e8f4c61010eaa286ba6344827e0b5d1cd payment: null prevTxid: >- d4e453d65e84d087c619e3c989bb4795dfa289987c5565e70a064e38f40c44e7 tokenId: 8226da9a724b0581928ee508df0174ed7b233a81-IR_MAN tokenOwnerAddress: 12519wQZvqjuqxggUco872zKs66L9x438C totalOutputSatoshis: 300000000 makerPublicKeyHash: 0bb9eb13c821d10af1f5fbf01c04577305c24d37 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateSwapOffer400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/exchangeSwap: post: tags: - Transactions summary: Atomic Swap operationId: Transactions_acceptSwapOffer security: - authToken: [] - serviceID: [] description: This endpoint allows users to accept a swap offers via swap ID parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsAcceptSwapOfferRequest1' examples: example1: value: dataArray: - swapId: 0a82d337-28ad-43d6-b16d-6cc60c3018f0 example2: value: dataArray: - swapId: 57d28adb-5c6b-4b3e-8572-87daa794f265 - swapId: 43daaaf6-878c-46c0-a3fc-b34709e96c48 - swapId: 2631b389-4231-4e35-a7c8-ee5f6c3c1c36 required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/TransactionsAcceptSwapOffer200Response' examples: example1: value: statusCode: 200 data: status: success msg: Swap offer accepted successfully txIds: - >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 example2: value: statusCode: 200 data: status: success msg: Swap offer accepted successfully txIds: - >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 - >- 80e5b09f1613a0f82c94216e84db747b80b631be8618eb97f3ea4ab440ea223f '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/TransactionsAcceptSwapOffer400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/inspect: post: tags: - Transactions summary: Inspect an atomic swap offer. operationId: Transactions_inspectAtomicSwapOffer security: - authToken: [] - serviceID: [] description: >- This endpoint allows users to inspect an atomic swap hex to verify the validity of the offer. requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsInspectAtomicSwapOfferRequest' examples: example1: value: dataArray: - swapHex: >- 010000000184c5740d26e45e7d3574f51bc57346bdec86478669c4a4c90252acaa7a69353d000000006b483045022100876446ffa4fb4dbe362f00adca8d13c5010e5ef5dbfc3f261849fe267352bb2202201b367635c117cd1ce002033a12e115a56be5fa8f59cdaa2ed15f8ed683d23f6dc3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 example2: value: dataArray: - swapHex: >- 0100000001c5a3b200dce3761303df00166b7f424987ba7bce0ca2806ccfd6c0492fd43b98000000006a47304402201a289a73ca3c3e3dd183193c9c52fd1cbd1607d31769879b56da5eadd00071810220296232d51d8591406848eb4a7ee7dd246403de69237afbab687f0bc84e6354cbc3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 - swapHex: >- 0100000001b0619eea04bf5f1f765097cbbe2fad314dc6cedebedfe45e97bd30e261008820000000006a473044022075b1b3d916dc32bd7b4dd13e1681e5cb68944331a515ea5d169eb665f032617b022050d287f19c63d0b99a78af62ba580c4574b43373db134b9fc9cb157b9156d882c3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 required: true responses: '200': description: Default Response content: application/json: schema: $ref: >- #/components/schemas/TransactionsInspectAtomicSwapOfferResponse examples: example1: value: statusCode: 200 data: status: success msg: Offer details fetched successfully offerDetails: - tokenOwnerAddress: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW tokenCreatorAddress: 1BuEAp4mjJdeDGcpw6XdvtA9fWmHNF2mMX tokenSatoshis: 1 wantedSatoshis: 25 tokenImage: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg serialNumber: 85 splittbale: false contractTxid: >- e24cd3c552d71c2dd8513cdeac81a6d2ca48a055f73cbc58d118a33f037c9ca1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2 symbol: WDG tokenSupply: 123 verified: true tokenName: White Dragon tokenDescription: White Dragon example2: value: statusCode: 200 data: status: success msg: Offer details fetched successfully offerDetails: - tokenOwnerAddress: 12fKJzMbsMW6HxAsCMsrL4jrxC2p8umDGf tokenCreatorAddress: 1BuEAp4mjJdeDGcpw6XdvtA9fWmHNF2mMX tokenSatoshis: 1 wantedSatoshis: 100000000 tokenImage: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg serialNumber: 0 splittbale: true contractTxid: >- a29f4948fd8c17d2e9be8e21f7312dcbcafe2f65b0eb4f0bf4d261a3e3a13c8c tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2 symbol: SBPTEST12345 tokenSupply: 5 verified: true tokenName: Store Bonus Points tokenDescription: Store Bonus Points - tokenOwnerAddress: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW tokenCreatorAddress: 1BuEAp4mjJdeDGcpw6XdvtA9fWmHNF2mMX tokenSatoshis: 1 wantedSatoshis: 25 tokenImage: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg serialNumber: 85 splittbale: false contractTxid: >- e24cd3c552d71c2dd8513cdeac81a6d2ca48a055f73cbc58d118a33f037c9ca1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2 symbol: WDG tokenSupply: 123 verified: true tokenName: White Dragon tokenDescription: White Dragon '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/TransactionsInspectAtomicSwapOffer400Response example: statusCode: 400 data: status: error msg: Err msg /v1/redeem: post: tags: - Smart Contracts summary: Smart contract Redemption. operationId: SmartContracts_redeemTokens security: - authToken: [] - serviceID: [] description: >- This endpoint lets user redeem tokens and thus dissolving the smart contract for satoshis. parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/SmartContractsRedeemTokensRequest' examples: example1: value: dataArray: - amount: 1 tokenId: 8a9e7ec666f0610ff3f0540ed55f07162e9dd7a8-SBP sn: 0 example2: value: dataArray: - amount: 1 tokenId: 8a9e7ec666f0610ff3f0540ed55f07162e9dd7a8-SBP sn: 0 - amount: 1 tokenId: 8a9e7ec666f0610ff3f0540ed55f07162e9dd7a8-SBP_TEST required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/SmartContractsRedeemTokensResponse' examples: example1: value: statusCode: 200 data: status: success msg: Redemption successful. txIds: - >- 7f06cdece4c08192e8872be802f120b85f0610e6f8e448b85c301e89ccc5bfe1 errors: [] example2: value: statusCode: 200 data: status: success msg: Redemption successful. txIds: - >- 7f06cdece4c08192e8872be802f120b85f0610e6f8e448b85c301e89ccc5bfe1 - >- d1f376ffb62f30efdd1336ec379eb462ab1068dd67a55789ab1c445cf35c540d errors: [] example3: value: statusCode: 200 data: status: success msg: Redemption successful. txIds: - >- d1f376ffb62f30efdd1336ec379eb462ab1068dd67a55789ab1c445cf35c540d errors: - Error message 1 - Error message 2 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/SmartContractsRedeemTokens400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/createWallet: get: tags: - Wallets summary: Create a wallet. operationId: Wallets_createHDWalletOfChoice security: - authToken: [] - serviceID: [] description: >- Create a HD wallet of choice in your user account. You can select between standard, secure, escrow and shared wallets (see docs.relysia.com). parameters: - schema: type: string in: header name: walletTitle required: true - schema: type: string in: header name: mnemonicPhrase required: false - schema: type: string in: header name: paymail required: false - schema: type: boolean in: header name: paymailActivate required: false - schema: type: string in: header name: type required: false - schema: type: string nullable: true in: header name: walletLogo required: false responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/WalletsCreateHdWalletOfChoiceResponse' example: statusCode: 200 data: status: success msg: Wallet created successfully. walletID: 5f7b1b1b-5f7b-1b1b-5f7b-1b1b5f7b1b1b paymail: 14735@dev.relysia.com '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/WalletsCreateHdWalletOfChoice400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/metrics: get: tags: - Utility summary: Get the latest wallet UTXO state. operationId: Utility_getLatestUtxoState security: - authToken: [] - serviceID: [] description: >- UTXOs are the base unit of transactions in the Bitcoin network. The metrics endpoint first updates the last UTXO state, and then shows a detailled output of each UTXO in the wallet. parameters: - schema: type: string in: header name: walletID required: false responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/UtilityGetLatestUtxoStateResponse' example: statusCode: 200 data: status: success msg: UTXO state updated successfully data: balance: 6078 userUtxos: - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914ee31f7eae549febdffc53a995bdee8ff0ba2300688ac tx_pos: 0 address: 1NiTgXKyS4oS3fyzHp6PryeBvc6FMJDW12 path: m/44'/0'/0'/0/0 tx_hash: >- 43f7f41c0ff873f3b576894fc3c7626a187258cd838f36062f54bc3b14fe3620 value: 25 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914ee31f7eae549febdffc53a995bdee8ff0ba2300688ac tx_pos: 1 address: 1NiTgXKyS4oS3fyzHp6PryeBvc6FMJDW12 path: m/44'/0'/0'/0/0 tx_hash: >- 43f7f41c0ff873f3b576894fc3c7626a187258cd838f36062f54bc3b14fe3620 value: 481 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914d703dafb29efd43caad53e9f1bcb924e6546694e88ac tx_pos: 1 address: 1Lbtu82Jm9poEdgKB3HsTDWS9YSC91Hpny path: m/44'/0'/0'/0/1 tx_hash: >- 76d79ad05cfeb4068535377cdff0113a084b084e936b7751c39895587be41d3d value: 4933 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a91498de3990604e4fe330f65e6b0125243eb909d1dd88ac tx_pos: 0 address: 1EwHvcWDjWcBGBXJLae8k4dsaVo8QKsqCP path: m/44'/0'/0'/0/4 tx_hash: >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 value: 1 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a91447431db9649fd75c28834cb152f17cc8ea7fa11f88ac tx_pos: 1 address: 17VoNvtJjD19ctL5Ue3GJzzskbtXeNL4Nt path: m/44'/0'/0'/0/8 tx_hash: >- 8a7e73066f07eacab9cbe9edd45d1857f589ef0c8bd725e5010962cfb9198e4e value: 404 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a91477cb578d9fab608a794871e6c994c6ff2e55a70788ac tx_pos: 1 address: 1BvR1H8Bu1rRYwDWEVLoZJa37R3z19qzrK path: m/44'/0'/0'/0/10 tx_hash: >- 0849c24ecb4a30c60c1bb1ec5f557d60642bb6c6d2eeb5a30ee7c9f92c88572f value: 174 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a91477cb578d9fab608a794871e6c994c6ff2e55a70788ac tx_pos: 1 address: 1BvR1H8Bu1rRYwDWEVLoZJa37R3z19qzrK path: m/44'/0'/0'/0/10 tx_hash: >- cf9b899bfba8d6f8a4302e747a78635cc1328a76826ac7d7d31347bb39ba486d value: 49 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914aff862161039bc97895c6f515e629c6ece4943b188ac tx_pos: 0 address: 1H3SoXyeKv4mNNForRaPV8Fkzwdu55yx2b path: m/44'/0'/0'/0/14 tx_hash: >- 4ee029b35a30bafbcab3a08661dc286d3c5ce9f98a1734d1163c86aabe68c7d8 value: 1 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914aff862161039bc97895c6f515e629c6ece4943b188ac tx_pos: 0 address: 1H3SoXyeKv4mNNForRaPV8Fkzwdu55yx2b path: m/44'/0'/0'/0/14 tx_hash: >- f123456b9d6ee63c93b2a5afa264298efc6f0bb8cd400d5aa03d037eb1c9ae56 value: 2 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914aff862161039bc97895c6f515e629c6ece4943b188ac tx_pos: 1 address: 1H3SoXyeKv4mNNForRaPV8Fkzwdu55yx2b path: m/44'/0'/0'/0/14 tx_hash: >- 80e5b09f1613a0f82c94216e84db747b80b631be8618eb97f3ea4ab440ea223f value: 1 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914e54a77f2eaffb502d4af119436e9b7982707f07288ac tx_pos: 1 address: 1MuNx6Vm2oE4oU9iDRLr7ebAiv196DQBzh path: m/44'/0'/0'/0/17 tx_hash: >- 9ecbb4771c9e91e1f6a162d5dd3e808e57e43eedebb499f1096cb8d6813951b5 value: 4 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914e54a77f2eaffb502d4af119436e9b7982707f07288ac tx_pos: 1 address: 1MuNx6Vm2oE4oU9iDRLr7ebAiv196DQBzh path: m/44'/0'/0'/0/17 tx_hash: >- fb6c046fa87d963b2e35beb06e1c21b443cbf7b7f684fd4f733fa68f6ecde672 value: 3 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/UtilityGetLatestUtxoState400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/address: get: tags: - Wallets summary: Get your wallet address and paymail. operationId: Wallets_getAddressAndPaymail security: - authToken: [] - serviceID: [] description: >- Receive a single address and the paymail alias to receive Coins or Token. parameters: - schema: type: string in: header name: walletID required: false responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/WalletsGetAddressAndPaymailResponse' examples: example1: value: statusCode: 200 data: status: success msg: Wallet address and paymail fetched successfully. address: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 paymail: 91@relysia.com example2: value: statusCode: 200 data: status: success msg: Wallet address and paymail fetched successfully. address: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 paymail: null '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/WalletsGetAddressAndPaymail400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/allAddresses: get: tags: - Wallets summary: Get all wallet addresses. operationId: Wallets_getAllAddresses security: - authToken: [] - serviceID: [] description: >- Get a list of all wallet addresses that are currently available in your wallet. parameters: - schema: type: string in: header name: walletID required: false responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/WalletsGetAllAddressesResponse' example: statusCode: 200 data: status: success msg: Wallet addresses fetched successfully. addressess: - 1PLXza2i1JXyg6CuA5FW5RzkUiocpDFNV8 - 1EcxwhQ4Y9ffda9zXvQfHaM8u7PafbvZLg - 1LNbg5RocpuM7e7fschE6r8miwXh5jCjkA - 1BfzNso8KAALAVKPrANrKudM6ZWzHShpZh - 1PwzERwgengSyzBNBKEU6V2xB1jgTryovr - 132jVsneQ8vWBaGkKbKaQLkyiigCPDhawk - 13tGhavRUTn2vvz2tQgAGwG1oe9FdAxoNE - 115A1j8KQmQX7HC3MNwsnwJvc6ZF6c4wYc - 1LFNbbFP7VwSf2ajt1rytcE2yvHainoHy3 - 1MxntVMUmbkuFiZXd8ecYSbvMWyw2awKmq - 1HZy99hEouZuY9Z3dUznvmtacWzhrJguGd - 1E9g8uaWq7GUvMbGkHn26ejVsZAWAEFvC1 - 176TzKDhqk3NMx14tiDr8jWGRvMWLttptg - 13GApJKQdzpfjMV5FWpDwGEbc1vGAD6rri - 1K94K5FcBDDrgxEpKTckDycSW315PQUr6a - 1KLHk7od5A9sQEVoaMtyUujyERnzZWt4sy - 1NSRLTGcueGWjAg1Y32QjPjG9hXp5Qwhwu - 12QLLJKe4R9FaxnzrVBdQ5a2vPmheqHsbh - 1Gek19BzGF4urFD2sfdmPWKDGpdMSGicsS - 1D4gnUXis2s5WH4atopeXRyFjoie4Gxirn '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/WalletsGetAllAddresses400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/balance: get: tags: - Wallets summary: Get your wallet balance. operationId: Wallets_getBalance security: - authToken: [] - serviceID: [] description: Returns both coin and token balances. parameters: - schema: type: string in: header name: walletID required: false - schema: type: string in: header name: type required: false - schema: type: string in: header name: currency required: false - schema: type: string in: header name: nextPageToken required: false - schema: type: string in: header name: compact required: false responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/WalletsGetBalanceResponse' examples: example1: value: statusCode: 200 data: status: success msg: Operation Completed Successfully totalBalance: currency: USD balance: 0.00003367160796545307 coins: - protocol: BSV balance: 0 - Id: 6441fe87c0dc6dd1babbe28f protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 103 - Id: 6441fe87c0dc6dd1babbe290 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 102 - Id: 6441fe87c0dc6dd1babbe291 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 101 - Id: 6441fe87c0dc6dd1babbe292 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 100 - Id: 6441fe87c0dc6dd1babbe293 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 99 - Id: 6441fe87c0dc6dd1babbe294 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 98 - Id: 6441fe87c0dc6dd1babbe295 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 97 - Id: 6441fe87c0dc6dd1babbe296 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 96 - Id: 6441fe87c0dc6dd1babbe297 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 95 - Id: 6441fe87c0dc6dd1babbe298 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 94 - Id: 6441fe87c0dc6dd1babbe299 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 93 - Id: 6441fe87c0dc6dd1babbe29a protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 92 - Id: 6441fe87c0dc6dd1babbe29b protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 91 - Id: 6441fe87c0dc6dd1babbe29c protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 90 - Id: 6441fe87c0dc6dd1babbe29d protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 89 - Id: 6441fe87c0dc6dd1babbe29e protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 88 - Id: 6441fe87c0dc6dd1babbe29f protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 87 - Id: 6441fe87c0dc6dd1babbe2a0 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 86 - Id: 6441fe87c0dc6dd1babbe2a1 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 85 meta: nextPageToken: 19 example2: value: statusCode: 200 data: status: success msg: Operation Completed Successfully totalBalance: currency: USD balance: 0.000033666372935816003 coins: - protocol: BSV balance: 0 - Id: 6441fe87c0dc6dd1babbe28f protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 103 supply: 123 decimals: 0 sn: - 38 - 7 - Id: 6441fe87c0dc6dd1babbe27a protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-YJO splittable: false splitable: false verified: true name: Yujiro address: 12519wQZvqjuqxggUco872zKs66L9x438C satsPerToken: 1 symbol: YJO redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://static.wikia.nocookie.net/baki/images/a/a6/Yujiro_profile.png/revision/latest/scale-to-width-down/280?cb=20220726223446 amount: 2 supply: 5 decimals: 0 sn: - 2 - 1 - Id: 6441fe87c0dc6dd1babbe27b protocol: STAS tokenId: 8226da9a724b0581928ee508df0174ed7b233a81-IR_MAN splittable: false splitable: false verified: true name: Ironman address: 12519wQZvqjuqxggUco872zKs66L9x438C satsPerToken: 1 symbol: IR_MAN redeemAddr: 8226da9a724b0581928ee508df0174ed7b233a81 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 2 supply: 3 decimals: 0 sn: - 2 - 1 - Id: 6441fe87c0dc6dd1babbe27c protocol: STAS tokenId: 8226da9a724b0581928ee508df0174ed7b233a81-W_WOMAN splittable: false splitable: false verified: true name: Store Bonus Points address: 12T7men1z1FU9sruoFgFx2D7JCJRgZtxrA satsPerToken: 1 symbol: W_WOMAN redeemAddr: 8226da9a724b0581928ee508df0174ed7b233a81 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 5 decimals: 0 sn: - 5 - Id: 6441fe87c0dc6dd1babbe27d protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-nba-new-123 splittable: false splitable: false verified: true name: Store Bonus Points address: 12T7men1z1FU9sruoFgFx2D7JCJRgZtxrA satsPerToken: 1 symbol: nba-new-123 redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 10 supply: 3 decimals: 0 sn: - 3 - 1 - 2 - Id: 6441fe87c0dc6dd1babbe280 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk splittable: false splitable: false verified: true name: Store Bonus Points address: 12T7men1z1FU9sruoFgFx2D7JCJRgZtxrA satsPerToken: 1 symbol: Mordor-bulk redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 6 supply: 2000 decimals: 0 sn: - 1832 - 719 - 327 - 1465 - 536 - 1590 - Id: 6441fe87c0dc6dd1babbe282 protocol: STAS tokenId: >- 7791e1839f705e2813ec744a15fd10d355ff99b2-SBPTEST12345 splittable: true splitable: true verified: true name: Store Bonus Points address: 12fKJzMbsMW6HxAsCMsrL4jrxC2p8umDGf satsPerToken: 1 symbol: SBPTEST12345 redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 2 supply: 5 decimals: 0 sn: - 0 - Id: 6441fe87c0dc6dd1babbe287 protocol: STAS tokenId: 8226da9a724b0581928ee508df0174ed7b233a81-BT_MAN splittable: false splitable: false verified: true name: Batman address: 16Jg2sYouH8jGFRyUyEnoNZ1gyj9mKECMd satsPerToken: 1 symbol: BT_MAN redeemAddr: 8226da9a724b0581928ee508df0174ed7b233a81 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 5 decimals: 0 sn: - 5 - Id: 6441fe87c0dc6dd1babbe289 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-KEN splittable: false splitable: false verified: true name: Kensen address: 1892sYWjiHzkn6sD12q9Xn7s4ZHjZCmxEh satsPerToken: 1 symbol: KEN redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 10 decimals: 0 sn: - 1 - Id: 6441fe87c0dc6dd1babbe28a protocol: STAS tokenId: >- 7791e1839f705e2813ec744a15fd10d355ff99b2-Party-Monster splittable: false splitable: false verified: true name: Party plans address: 1AF5yUb1kCmGhCwLUsaTweGJKmkTB6fFTx satsPerToken: 1 symbol: Party-Monster redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://images.unsplash.com/photo-1663668566893-7a4887f9a41d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw0MHx8fGVufDB8fHx8&auto=format&fit=crop&w=500&q=60 amount: 3 supply: 3 decimals: 0 sn: - 3 - 2 - 1 - Id: 6441fe87c0dc6dd1babbe28b protocol: STAS tokenId: 8226da9a724b0581928ee508df0174ed7b233a81-THE_AVGRS splittable: true splitable: true verified: true name: The Avengers address: 1E4We5K6zFh7msq6r2ZrNuyK56X2gqTzGp satsPerToken: 1 symbol: THE_AVGRS redeemAddr: 8226da9a724b0581928ee508df0174ed7b233a81 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 10 decimals: 0 sn: - 0 - Id: 6441fe87c0dc6dd1babbe28e protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-nbc-new-123 splittable: false splitable: false verified: true name: Store Bonus Points address: 1LS54Yo1xLGkyCgcGZo6RLj5QgkqEchvUr satsPerToken: 1 symbol: nbc-new-123 redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 6 supply: 3 decimals: 0 sn: - 3 - 1 - 2 - Id: 6441fe87c0dc6dd1babbe2e3 protocol: STAS tokenId: >- 7791e1839f705e2813ec744a15fd10d355ff99b2-fight-new-123 splittable: false splitable: false verified: true name: Store Bonus Points address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: fight-new-123 redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 5 supply: 3 decimals: 0 sn: - 1 - 3 - 2 - Id: 6441fe87c0dc6dd1babbe2e4 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-fightfight splittable: true splitable: true verified: true name: Fight Club address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: fightfight redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://images.unsplash.com/photo-1552072092-7f9b8d63efcb?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8ZmlnaHR8ZW58MHx8MHx8&auto=format&fit=crop&w=500&q=60 amount: 4 supply: 10 decimals: 0 sn: - 0 - Id: 6441fe87c0dc6dd1babbe2e5 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-RGT splittable: false splitable: false verified: true name: Right address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: RGT redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 9 supply: 5 decimals: 0 sn: - 5 - 2 - 3 - 1 - 4 - Id: 6441fe87c0dc6dd1babbe2e8 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-SBP splittable: true splitable: true verified: true name: Store Bonus Points address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: SBP redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 3 supply: 3 decimals: 0 sn: - 0 - Id: 6441fe87c0dc6dd1babbe2e9 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-fightfight2 splittable: false splitable: false verified: true name: Fight Club address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: fightfight2 redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://images.unsplash.com/photo-1552072092-7f9b8d63efcb?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8ZmlnaHR8ZW58MHx8MHx8&auto=format&fit=crop&w=500&q=60 amount: 5 supply: 5 decimals: 0 sn: - 8 - 5 - 6 - 7 - 4 - Id: 6441fe87c0dc6dd1babbe2ee protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-fightfight1 splittable: true splitable: true verified: true name: Fight Club address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: fightfight1 redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://images.unsplash.com/photo-1552072092-7f9b8d63efcb?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8ZmlnaHR8ZW58MHx8MHx8&auto=format&fit=crop&w=500&q=60 amount: 5 supply: 5 decimals: 0 sn: - 0 - Id: 6441fe87c0dc6dd1babbe2ef protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-BAA splittable: true splitable: true verified: true name: Black Adam address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: BAA redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 6 supply: 7 decimals: 0 sn: - 0 meta: nextPageToken: 19 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/WalletsGetBalance400Response' example: statusCode: 400 data: status: error msg: Err msg deprecated: true /v1/leaderboard: get: tags: - Wallets summary: Get token ownership details operationId: Wallets_getTokenOwnershipDetails security: - authToken: [] - serviceID: [] description: Returns all user data who have this particular token. parameters: - schema: type: number in: query name: nextPageToken required: false - schema: type: string in: header name: tokenId required: true responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/WalletsGetTokenOwnershipDetailsResponse' example: statusCode: 200 data: status: success msg: Leaderboard fetched successfully. leaderboard: - paymail: 91@relysia.com totalAmount: 100 uid: 5f7b1b1b1b1b1b1b1b1b1b1b rank: 1 displayName: John Doe - paymail: 92@relysia.com totalAmount: 50 uid: 5f7b1b1b1b1b1b1b1b1b1b1b rank: 2 - totalAmount: 25 uid: 5f7b1b1b1b1b1b1b1b1b1b1b rank: 3 nextPageToken: 2 '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/WalletsGetTokenOwnershipDetails400Response example: statusCode: 400 data: status: error msg: Err msg /v1/history: get: tags: - Wallets summary: Get your transaction history. operationId: Wallets_getTransactionHistory security: - authToken: [] - serviceID: [] description: >- The transaction history endpoint returns all past transactions, both BSV and Tokens. parameters: - schema: type: string in: query name: nextPageToken required: false - schema: type: string in: query name: tokenId required: false - schema: type: string in: header name: walletID required: false - schema: type: string in: header name: type required: false - schema: type: string enum: - 1.0.0 - 1.1.0 default: 1.0.0 in: header name: version required: false responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/WalletsGetTransactionHistoryResponse' examples: example1: value: statusCode: 200 data: status: success msg: Transaction history fetched successfully. histories: - to: 1BfzNso8KAALAVKPrANrKudM6ZWzHShpZh txId: >- c48287508391ff0b57ec528cb12ae87762af94f6c242cb4acdeed63382e5515e from: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 timestamp: '2023-04-26 03:18:37' balance_change: 3 docId: >- 0efca5f5dadcdacd0ff3a418a92c27efc6f8387b29e8647bb9ac7eea9284b13c type: debit protocol: STAS-789 - to: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 txId: >- c48287508391ff0b57ec528cb12ae87762af94f6c242cb4acdeed63382e5515d from: 1BfzNso8KAALAVKPrANrKudM6ZWzHShpZh timestamp: '2023-04-26 03:18:37' balance_change: 1 docId: >- 0efca5f5dadcdacd0ff3a418a92c27efc6f8387b29e8647bb9ac7eea9284b13c notes: test type: debit protocol: STAS-789 nextPageTokenId: '1' example2: value: statusCode: 200 data: status: success msg: Transaction history fetched successfully. histories: - to: - amount: 1 image: https://www.gstatic.com/webp/gallery/1.jpg protocol: STAS-789 tokenId: >- 0efca5f5dadcdacd0ff3a418a92c27efc6f8387b29e8647bb9ac7eea9284b13d sn: 1 to: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 name: test decimals: 2 txId: >- c48287508391ff0b57ec528cb12ae87762af94f6c242cb4acdeed63382e5515d from: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 timestamp: '2023-04-24 04:12:20' totalAmount: 1 type: debit - to: - amount: 1 image: https://www.gstatic.com/webp/gallery/1.jpg protocol: STAS-789 tokenId: >- 0efca5f5dadcdacd0ff3a418a92c27efc6f8387b29e8647bb9ac7eea9284b13c sn: 1 to: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 name: test decimals: 2 - amount: 1 image: https://www.gstatic.com/webp/gallery/1.jpg protocol: STAS-789 tokenId: >- 0efca5f5dadcdacd0ff3a418a92c27efc6f8387b29e8647bb9ac7eea9284b13c sn: 2 to: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 name: test decimals: 2 txId: >- c48287508391ff0b57ec528cb12ae87762af94f6c242cb4acdeed63382e5515e from: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 timestamp: '2023-04-26 03:18:37' totalAmount: 2 notes: test type: credit meta: nextPageToken: '1' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/WalletsGetTransactionHistory400Response' example: statusCode: 400 data: status: error msg: Err msg deprecated: true /v1/wallets: get: tags: - Wallets summary: List of available user wallets. operationId: Wallets_listAvailableUserWallets security: - authToken: [] - serviceID: [] description: >- The endpoint provides the user with a list of all active wallets on their account. Depending on your service requirements, you might have one or multiple wallets. parameters: - schema: type: string in: header name: oauth required: false responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/WalletsListAvailableUserWalletsResponse' example: statusCode: 200 data: status: success msg: Wallets fetched successfully. wallets: - walletID: f1a4b3c2-1a2b-3a4b-5a6b-7a8b9c0d1e2f walletTitle: My first wallet walletLogo: https://www.example.com/wallet-logo.png - walletID: f1a4b3c2-1a2b-3a4b-5a6b-7a8b9c0d1e2f walletTitle: My second wallet walletLogo: null '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/WalletsListAvailableUserWallets400Response example: statusCode: 400 data: status: error msg: Err msg delete: tags: - Delete summary: to delete all wallet, this api will delete all wallets at once operationId: Delete_allWallets security: - authToken: [] - serviceID: [] responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/DeleteAllWalletsResponse' example: statusCode: 200 data: status: success msg: all wallets deleted successfully ! '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/DeleteAllWallets400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/mnemonic: get: tags: - Wallets summary: Get your mnemonic phrase. operationId: Wallets_getMnemonicPhrase security: - authToken: [] - serviceID: [] description: >- The mnemonic phrase secures your wallet keys. Each mnemonic acts as seed of a HDPrivatekey that itself contains hundrets of PrivateKeys. parameters: - schema: type: string in: header name: walletID required: false responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/WalletsGetMnemonicPhraseResponse' example: statusCode: 200 data: status: success msg: Mnemonic phrase fetched successfully. mnemonic: >- abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/WalletsGetMnemonicPhrase400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/pay: post: tags: - Transactions summary: Pay an invoice request. operationId: Transactions_resolveInvoiceRequest security: - authToken: [] - serviceID: [] description: >- The endpoint enables users to pay their invoices that were earlier resolved and put into a standardized format by the /URI endpoint. parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsResolveInvoiceRequestRequest' examples: example1: value: uri: payto:91@dev.relysia.com?amount=1 type: paymail mainProtocol: paymail outputs: - script: 76a9141a608132952ba364d19d6ef0c09e074fb3fcfedf88ac satoshis: 1 inputs: [] memo: Send to 91@dev.relysia.com isBSV: true peer: >- https://dev.relysia.com/api/bsvalias/receive-transaction/91@dev.relysia.com peerData: >- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJ2ZXJzaW9uIjoxLCJkZXJpdmF0aW9uUm9vdFBhdGgiOiJtLzUiLCJkZXJpdmF0aW9uUm9vdEluZGV4IjozOTE1LCJjb3VudCI6MX0.vgN6mSoxuVzSmdwXA_hJtvS_s6xyFdRVedsFAx4mt5K2fsI0Ps2pw4OCXWy6msUbAKYGOEeAqs9BoyJCOlgyng peerProtocol: paymail example2: value: uri: bitcoin:13ofTSnVngWV8VgvqpYZE4YuaWuARBkBp3?amount=0.00000001 type: bip21 mainProtocol: bip21 outputs: - script: 76a9141ec37cb9f5ab9ae49be75e8d45c02d1f2fd1c5a288ac satoshis: 1 inputs: [] memo: Payment to Address isBSV: false peer: null peerData: null peerProtocol: null required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/TransactionsResolveInvoiceRequestResponse' example: statusCode: 200 data: status: success msg: Transaction sent successfully txid: >- 80e5b09f1613a0f82c94216e84db747b80b631be8618eb97f3ea4ab440ea223f '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/TransactionsResolveInvoiceRequest400Response example: statusCode: 400 data: status: error msg: Err msg /v1/initBeta: get: tags: - admin summary: Setup your Fee Manager. operationId: Admin_setupFeeManager security: - authToken: [] - serviceID: [] description: >- Creates a new Fee Manager that can cover the transaction fees of your users. parameters: - schema: type: string in: header name: mnemonic required: false responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminSetupFeeManagerResponse' example: statusCode: 200 data: status: success msg: Fee manager init successfully '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminSetupFeeManager400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/feeMetricsBeta: get: tags: - admin summary: Get all feeManager UTXOs. operationId: Admin_getUtxoSet security: - authToken: [] - serviceID: [] description: The endpoint returns all UTXOs and refreshes the UTXO set. responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminGetUtxoSetResponse' example: statusCode: 200 data: status: success msg: Operation successful totalBalance: balance: 720682757 dustBalance: 6310 availableUtxos: - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 2 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- f7f1718aac0dee0a91c33de796b0c940784309960c0a74c8ada51ee6951a0a26 value: 61184 createdAt: 1686904968568 state: available - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 3 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- d655d5c1bb914ab161e5239b46686c78707e2af29afae4e5d465fe4dd4b6374a value: 68558 createdAt: 1686904968568 state: available - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 1 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- 8248be407c10660e28be50cdf9072caf51f6b6d6ec3783a4c089588e13647a4e value: 51509 createdAt: 1686904968568 state: available - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 2 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- 53b03f45905f4dd6167712de289d2f309399a3887c33257442c0d986a1d49874 value: 55094 createdAt: 1686904968568 state: available '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminGetUtxoSet400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/feeAddressBeta: get: tags: - admin summary: Get all Fee Manager addresses. operationId: Admin_getFeeManagerAddresses security: - authToken: [] - serviceID: [] description: >- Returns a list of feeManager addresses. The feeManager is used to fund transactions. responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminGetFeeManagerAddressesResponse' example: statusCode: 200 data: status: success msg: Operation Completed successfully addresses: - 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminGetFeeManagerAddresses400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/feeUtxoState: get: tags: - admin summary: Get current state of fee manager UTXOs operationId: Admin_getFeeUtxoState security: - authToken: [] - serviceID: [] description: The endpoint returns all UTXOs that are stored in Redis DB responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminGetFeeUtxoStateResponse' example: statusCode: 200 data: status: success msg: Operation Completed successfully totalBalance: availableBalance: 720682457 dustBalance: 0 failedBalance: 0 allUtxos: availableUtxos: - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 1 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- 84fc7aef9b03283615d570dfc3a3177593048187ceecf993e37272e589b0b9f9 value: 23419 createdAt: 1687007038684 state: available - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 1 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- d7209a4a36db9e058af7df3ea93d5857a122de71111f2896515d2274589b0d99 value: 88292 createdAt: 1687007038684 state: available - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 1 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- 0eca2699cfc73c0d53bc805c36d0cba7fc0860d1282541eeceb95afc817170aa value: 157810 createdAt: 1687007038684 state: available - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 2 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- 20043ea66d4196ba094d4a64c53cfe3391ca0534800c03c23718a46daaaa4787 value: 61163 createdAt: 1687007038684 state: available - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 2 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- 0ebde418ce82554dc0602d8f388f7cc48dda76e86b92fbac5ac5958a8c35d2b5 value: 68537 createdAt: 1687007038684 state: available dustUtxos: - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 2 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- 09e9c0cc768635104a0bbf0d9acfc0647b0406b961bc700f4afba87a41948fcf value: 68760 createdAt: 1687007038684 state: dust - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 2 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- b2e1855268712f03af5d312bea6622d7c9dbfd00acec1108d7bf7087dec0ca65 value: 77536 createdAt: 1687007038684 state: dust failedUtxos: - script: 76a9148d30f8237c83b899e51f41a27e1317a735749f6d88ac tx_pos: 1 address: 1DsYwVfBoDX9UWMcXkofoB5dTKdJB9a93u path: m/44'/0'/0'/0/0 tx_hash: >- a73e37b74bdc1d632914a21d507adaf84bd3076e3a9edea8b096fe34418bb6fa value: 66015 createdAt: 1687007038684 state: failed '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminGetFeeUtxoState400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/currencyConversion: get: tags: - Utility summary: Converts BSV satoshis to fiat currency. operationId: Utility_convertSatoshiToFiat description: >- Add a satoshi amount and fiat pair of your choice, e.g. USD, EUR, INR to receive information of the equivalent value. parameters: - schema: type: string in: header name: satoshis required: true - schema: type: string in: header name: currency required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/UtilityConvertSatoshiToFiatResponse' examples: example1: value: statusCode: 200 data: status: success msg: Operation Completed Successfully currency: USD balance: 0.000011362378798928755 example2: value: statusCode: 200 data: status: success msg: Operation Completed Successfully currency: CAD balance: 0.02301136 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/UtilityConvertSatoshiToFiat400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/notificationToken/{userId}: put: tags: - Notifications summary: Update notification token. operationId: Notifications_updateToken security: - authToken: [] - serviceID: [] parameters: - schema: type: string in: path name: userId required: true - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/NotificationsUpdateTokenRequest' example: expoNotificationToken: ExponentPushToken[kfs4DxE5jRt3FsBCbzH61P] required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/NotificationsUpdateTokenResponse' example: statusCode: 200 data: status: success msg: Notification token updated successfully. '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/NotificationsUpdateToken400Response' example: statusCode: 400 data: status: error msg: Err msg delete: tags: - Delete summary: Remove a notification token. operationId: Delete_notificationToken security: - authToken: [] - serviceID: [] parameters: - schema: type: string in: path name: userId required: true - schema: type: string in: header name: walletID required: false responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/DeleteNotificationTokenResponse' example: statusCode: 200 data: status: success msg: successfully ExpoToken Removed from this account ! '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/DeleteNotificationToken400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/sendNotification: post: tags: - Notifications summary: Send a Notification operationId: Notifications_sendNotification security: - authToken: [] - serviceID: [] parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/NotificationsSendNotificationRequest' examples: example1: value: type: to userAddress: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 amount: 0.0001 transactionType: BSV example2: value: type: from userAddress: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 amount: 0.0001 transactionType: BSV example3: value: type: to userAddress: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 amount: 5 example4: value: type: from userAddress: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 amount: 2 required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/NotificationsSendNotificationResponse' example: statusCode: 200 data: status: success msg: Notification Sended Successfully ! '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/NotificationsSendNotification400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/invoice: post: tags: - Transactions summary: Create an invoice. operationId: Transactions_createInvoiceRequest security: - authToken: [] - serviceID: [] description: Create an invoice to receive payments for a merchant product. requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateInvoiceRequestRequest' examples: example1: value: description: paying 1$ for testing type: USD amount: 1 address: 12519wQZvqjuqxggUco872zKs66L9x438C expirationTimeInMinuts: 1 memo: paying for testing merchantData: a3621ebf-97a4-476f-a028-a7a9c55b27e8 paymentOptions: - transactions: - native: amount: 1 to: 12519wQZvqjuqxggUco872zKs66L9x438C beneficiary: name: vaionex test email: test@vaionex.com address: 19702 Newark, Delaware, USA example2: value: description: paying 1$ for testing type: USD amount: 1 address: 12519wQZvqjuqxggUco872zKs66L9x438C expirationTimeInMinuts: 1 memo: paying for testing merchantData: a3621ebf-97a4-476f-a028-a7a9c55b27e8 paymentOptions: - transactions: - stas: tokenId: 8226da9a724b0581928ee508df0174ed7b233a81-IR_MAN tokenAmount: 1 tokenRecipient: 12519wQZvqjuqxggUco872zKs66L9x438C beneficiary: name: vaionex test email: test@vaionex.com address: 19702 Newark, Delaware, USA responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/TransactionsCreateInvoiceRequestResponse' example: statusCode: 200 data: msg: Invoice created successfully. reqUrl: >- https://api.relysia.com/v1/paymentRequest/f3a7f350-2e2e-4e8b-af0d-58eb5eb3728a '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/TransactionsCreateInvoiceRequest400Response example: statusCode: 400 data: status: error msg: Err msg /v1/paymentRequest/{invoiceId}: get: tags: - Transactions summary: Create an Invoice operationId: Transactions_createInvoiceRequest description: >- Invoices allow merchants to specify the amount of BSV or Tokens they require to complete a value exchange, such as selling a Product. parameters: - schema: type: string in: path name: invoiceId required: true responses: '200': description: Default Response content: application/json: schema: $ref: >- #/components/schemas/TransactionsCreateInvoiceRequest200Response examples: example1: value: version: 2.0.0 statusCode: 200 status: success msg: Operation Completed Successfully mainProtocol: bip272 merchantData: a3621ebf-97a4-476f-a028-a7a9c55b27e8 expirationTimestamp: 1686560853 memo: paying for testing outputs: - description: paying 1$ for testing script: 76a9140bb9eb13c821d10af1f5fbf01c04577305c24d3788ac satoshis: 3971132 uri: >- pay:?r=https://api.relysia.com/v1/paymentRequest/f3a7f350-2e2e-4e8b-af0d-58eb5eb3728a creationTimestamp: 1686560793 type: bip272 network: mainnet paymentUrl: >- https://api.relysia.com/v1/paymentRequest/pay/f3a7f350-2e2e-4e8b-af0d-58eb5eb3728a example2: value: version: 2.0.0 statusCode: 200 status: success msg: Operation Completed Successfully network: mainnet uri: >- pay:?r=https://api.relysia.com/v1/paymentRequest/8f9f4c27-3782-46e2-b76f-1ef956f52c61 memo: paying for testing type: bip272 paymentUrl: >- https://api.relysia.com/v1/paymentRequest/pay/8f9f4c27-3782-46e2-b76f-1ef956f52c61 mainProtocol: bip272 creationTimestamp: 1686814941 modes: ef63d9775da5: PaymentOption_0: transactions: - outputs: stas: - tokenId: >- 00b91626e0a4b97f624bc1f0d8fa3a3ef35ac664-TIGLdA tokenAmount: 1 tokenRecipient: 1HQKnJ5FfCjcgvr6AAqNPYhY7NKuZXByMF policies: fees: standard: bytes: 1000 satoshis: 50 data: bytes: 1000 satoshis: 50 beneficiary: name: vaionex test email: test@vaionex.com paymentReference: 8f9f4c27-3782-46e2-b76f-1ef956f52c61 address: 19702 Newark, Delaware, USA expirationTimestamp: 1686816741 '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/TransactionsCreateInvoiceRequest400Response example: statusCode: 400 data: status: error msg: Err msg /v1/paymentRequest/pay/{invoiceId}: post: tags: - Transactions summary: Settle an invoice request. operationId: Transactions_settleInvoiceRequest description: The API takes invoice and settles it. parameters: - schema: type: string in: path name: invoiceId required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsSettleInvoiceRequestRequest' examples: example1: value: merchantData: bc3d8da0-f930-49e3-9acc-56725ab14a0a transaction: >- 01000000020d76e23c0d6f6acd2e9a7d4c9b6916aa9333111fac62003a75d13a10353ee563000000006a4730440220714ffb0eff55abb4840a470760f418442a3ebf7a9bb133dfdc25808f0b05f4fd0220024b562567802e7639ccff2f1e361e178d34102a9fbdbc3aa5843ef5e1dc73fe41210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0d76e23c0d6f6acd2e9a7d4c9b6916aa9333111fac62003a75d13a10353ee563010000006a47304402205ad45fd9d02b659f987cc8321f4874bfa2729425913738cbc4444ed20e453ee4022020467301d8e50bc58e37b92cc03962acc8cfd5ac70bf704de2c4dee8c8beebc84121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff010a000000000000001976a91477bff20c60e522dfaa3350c39b030a5d004e839a88ac00000000 example2: value: merchantData: ab05c66d-0397-419f-8311-9b5dfbccd6ed transaction: >- 01000000023a149de2c3a74c191727d17496171c0e97efbaff5735271ead9f883e214e9bd5000000006a473044022045fc063571fb291ea114facfcb2f38bf60f0e8797140e3e6f1380dcd66dffb940220178d4c79bb39f566c3b53c76293f0a38e5fbf0dac4f460783f0cc84ffb259bc341210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff3a149de2c3a74c191727d17496171c0e97efbaff5735271ead9f883e214e9bd5010000006a4730440220160354a13e8f0f72577a0aa393a981b922af9819ae5d04786d5ae226bb867db90220304c4a5eeb2fbc348c336b4a0a45de5bba6e271b32f3884bdf1c5fd1a48671604121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff010a000000000000001976a91477bff20c60e522dfaa3350c39b030a5d004e839a88ac00000000 refundTo: 147Pha46z8xhMHjq6Wcy9ZWgUV9okUgUeu example3: value: merchantData: ab05c66d-0397-419f-8311-9b5dfbccd6ed transaction: >- 01000000023a149de2c3a74c191727d17496171c0e97efbaff5735271ead9f883e214e9bd5000000006a473044022045fc063571fb291ea114facfcb2f38bf60f0e8797140e3e6f1380dcd66dffb940220178d4c79bb39f566c3b53c76293f0a38e5fbf0dac4f460783f0cc84ffb259bc341210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff3a149de2c3a74c191727d17496171c0e97efbaff5735271ead9f883e214e9bd5010000006a4730440220160354a13e8f0f72577a0aa393a981b922af9819ae5d04786d5ae226bb867db90220304c4a5eeb2fbc348c336b4a0a45de5bba6e271b32f3884bdf1c5fd1a48671604121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff010a000000000000001976a91477bff20c60e522dfaa3350c39b030a5d004e839a88ac00000000 memo: paying 1$ for testing example4: value: merchantData: a3621ebf-97a4-476f-a028-a7a9c55b27e8 transaction: >- 0100000002398e8fe2829b523f7337559393d97e70173d05f56d80d0dd0b90a5a35aa9d140000000006b483045022100ac04d62f743fdefd224c5f84c0c6562a15c93e6e45cc84d259ad074a1d42a8a402205ca8b3a296f8b7268e3d092a010785580dd18c8794f5911692e16e6c3c7c996a41210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff398e8fe2829b523f7337559393d97e70173d05f56d80d0dd0b90a5a35aa9d140010000006b483045022100cef2deea13b5ef5e012d225e10f1445c6421570613a2c02e87e8b6fe27b75fe602201e6c5b85dcc0062235581885a49b194777e9230b8314a18052a97e8b146ed24f4121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff01f4010000000000001976a91477bff20c60e522dfaa3350c39b030a5d004e839a88ac00000000 refundTo: 147Pha46z8xhMHjq6Wcy9ZWgUV9okUgUeu memo: paying for testing application/bitcoinsv-payment: schema: $ref: '#/components/schemas/TransactionsSettleInvoiceRequestRequest1' examples: example1: value: merchantData: bc3d8da0-f930-49e3-9acc-56725ab14a0a transaction: >- 01000000020d76e23c0d6f6acd2e9a7d4c9b6916aa9333111fac62003a75d13a10353ee563000000006a4730440220714ffb0eff55abb4840a470760f418442a3ebf7a9bb133dfdc25808f0b05f4fd0220024b562567802e7639ccff2f1e361e178d34102a9fbdbc3aa5843ef5e1dc73fe41210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0d76e23c0d6f6acd2e9a7d4c9b6916aa9333111fac62003a75d13a10353ee563010000006a47304402205ad45fd9d02b659f987cc8321f4874bfa2729425913738cbc4444ed20e453ee4022020467301d8e50bc58e37b92cc03962acc8cfd5ac70bf704de2c4dee8c8beebc84121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff010a000000000000001976a91477bff20c60e522dfaa3350c39b030a5d004e839a88ac00000000 example2: value: merchantData: ab05c66d-0397-419f-8311-9b5dfbccd6ed transaction: >- 01000000023a149de2c3a74c191727d17496171c0e97efbaff5735271ead9f883e214e9bd5000000006a473044022045fc063571fb291ea114facfcb2f38bf60f0e8797140e3e6f1380dcd66dffb940220178d4c79bb39f566c3b53c76293f0a38e5fbf0dac4f460783f0cc84ffb259bc341210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff3a149de2c3a74c191727d17496171c0e97efbaff5735271ead9f883e214e9bd5010000006a4730440220160354a13e8f0f72577a0aa393a981b922af9819ae5d04786d5ae226bb867db90220304c4a5eeb2fbc348c336b4a0a45de5bba6e271b32f3884bdf1c5fd1a48671604121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff010a000000000000001976a91477bff20c60e522dfaa3350c39b030a5d004e839a88ac00000000 refundTo: 147Pha46z8xhMHjq6Wcy9ZWgUV9okUgUeu example3: value: merchantData: ab05c66d-0397-419f-8311-9b5dfbccd6ed transaction: >- 01000000023a149de2c3a74c191727d17496171c0e97efbaff5735271ead9f883e214e9bd5000000006a473044022045fc063571fb291ea114facfcb2f38bf60f0e8797140e3e6f1380dcd66dffb940220178d4c79bb39f566c3b53c76293f0a38e5fbf0dac4f460783f0cc84ffb259bc341210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff3a149de2c3a74c191727d17496171c0e97efbaff5735271ead9f883e214e9bd5010000006a4730440220160354a13e8f0f72577a0aa393a981b922af9819ae5d04786d5ae226bb867db90220304c4a5eeb2fbc348c336b4a0a45de5bba6e271b32f3884bdf1c5fd1a48671604121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff010a000000000000001976a91477bff20c60e522dfaa3350c39b030a5d004e839a88ac00000000 memo: paying 1$ for testing example4: value: merchantData: a3621ebf-97a4-476f-a028-a7a9c55b27e8 transaction: >- 0100000002398e8fe2829b523f7337559393d97e70173d05f56d80d0dd0b90a5a35aa9d140000000006b483045022100ac04d62f743fdefd224c5f84c0c6562a15c93e6e45cc84d259ad074a1d42a8a402205ca8b3a296f8b7268e3d092a010785580dd18c8794f5911692e16e6c3c7c996a41210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff398e8fe2829b523f7337559393d97e70173d05f56d80d0dd0b90a5a35aa9d140010000006b483045022100cef2deea13b5ef5e012d225e10f1445c6421570613a2c02e87e8b6fe27b75fe602201e6c5b85dcc0062235581885a49b194777e9230b8314a18052a97e8b146ed24f4121020b90adc336dcef4d35a7fb8cd7ba0f1d321c46eebc94a3bd1ed4ef63fa4e949bffffffff01f4010000000000001976a91477bff20c60e522dfaa3350c39b030a5d004e839a88ac00000000 refundTo: 147Pha46z8xhMHjq6Wcy9ZWgUV9okUgUeu memo: paying for testing required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/TransactionsSettleInvoiceRequestResponse' example: statusCode: 200 data: status: success msg: Operation completed successfully. statusCode: 200 data: status: success msg: Payment Completed Successfully txId: >- ef8bdedd64477adcf1d297cf7fbb92c743251634841418e43f6e74db921770a3 '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/TransactionsSettleInvoiceRequest400Response example: statusCode: 400 data: status: error msg: Err msg /v1/domain/generateToken: post: tags: - admin summary: Generates a domain verification token operationId: Admin_verifyDomainOwnership security: - authToken: [] description: >- We authenticate domains to verify whether infrastructure users are actually owning the specific domain. parameters: - schema: type: string in: header name: userID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/AdminVerifyDomainOwnershipRequest' example: domain: example.com required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminVerifyDomainOwnershipResponse' example: statusCode: 200 data: status: success msg: Domain verification token generated successfully verificationCode: relysia-verification=kwlZ7D7RgL6dY7ksTgH1UWnunDP68u '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminVerifyDomainOwnership400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/domain/{userId}/verifyToken: post: tags: - admin summary: verify domain ownership operationId: Admin_verifyDomainOwnership security: - authToken: [] parameters: - schema: type: string in: path name: userId required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/AdminVerifyDomainOwnershipRequest1' example: domain: example.com required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminVerifyDomainOwnership200Response' example: statusCode: 200 data: status: success msg: Domain verified successfully statusCode: 200 domain: example.com '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminVerifyDomainOwnership400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/paymail/{paymailId}: get: tags: - paymail operationId: Paymail_getAddressInfo security: - authToken: [] - serviceID: [] parameters: - schema: type: string in: path name: paymailId required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/PaymailGetAddressInfoResponse' example: statusCode: 200 data: status: success msg: Operation completed successfully paymailDetails: walletID: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 paymailId: 91@dev.relysia.com '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/PaymailGetAddressInfo400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/paymail: put: tags: - paymail operationId: Paymail_updateAddressInfo security: - authToken: [] - serviceID: [] parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/PaymailUpdateAddressInfoRequest' example: newPaymailId: 91@dev.relysia.com required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/PaymailUpdateAddressInfoResponse' example: statusCode: 200 data: status: success msg: Operation completed successfully paymail: alpha200@dev.relysia.com '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/PaymailUpdateAddressInfo400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/wallet: delete: tags: - Delete summary: >- to delete a wallet, this api will delete your wallet and related data of that walletId operationId: Delete_walletData security: - authToken: [] - serviceID: [] parameters: - schema: type: string in: header name: walletID required: false responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/DeleteWalletDataResponse' example: statusCode: 200 data: status: success msg: wallet deleted successfully ! walletId: ec4ae905-c5ef-41bd-adfb-4db361093245 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/DeleteWalletData400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/paymail/activate: post: tags: - paymail summary: to activate and deActivate paymail operationId: Paymail_activateDeactivate security: - authToken: [] - serviceID: [] parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/PaymailActivateDeactivateRequest' required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/PaymailActivateDeactivateResponse' examples: example1: value: statusCode: 200 data: status: success msg: paymail activated now example2: value: statusCode: 200 data: status: success msg: paymail deactivated now '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/PaymailActivateDeactivate400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/reset/password: post: tags: - Authentication summary: Password Reset. operationId: Authentication_resetUserPasswordConfirmation security: - serviceID: [] description: Reset your password and send a confirmation to the registered mail. requestBody: content: application/json: schema: $ref: >- #/components/schemas/AuthenticationResetUserPasswordConfirmationRequest example: email: satoshin@gmx.com required: true responses: '200': description: Successful response content: application/json: schema: $ref: >- #/components/schemas/AuthenticationResetUserPasswordConfirmationResponse example: statusCode: 200 data: status: success msg: Password reset link sent successfully. email: satoshin@gmx.com '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/AuthenticationResetUserPasswordConfirmation400Response example: statusCode: 400 data: status: error msg: Err msg /v1/transpile: post: tags: - Utility summary: transpile solidity code to sCrypt. operationId: Utility_transpileSolidityCodeToScrypt description: Takes base64 string of solidity code and converts it to sCrypt. parameters: - schema: type: boolean default: 'false' in: header name: force required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/UtilityTranspileSolidityCodeToScryptRequest' example: sourceCode: >- Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4xMDsKCmNvbnRyYWN0IEVSQzcyMSB7CiAgICB1aW50MjU2IHByaXZhdGUgY29uc3RhbnQgX19Mb29wQ291bnRfXzAgPSAxOwogICAgc3RyaW5nIHByaXZhdGUgY29uc3RhbnQgdG9rZW5OYW1lID0gIk15IEVSQzcyMSBUb2tlbiI7CiAgICBzdHJpbmcgcHJpdmF0ZSBjb25zdGFudCB0b2tlblN5bWJvbCA9ICJNRVQiOwogICAgdWludDI1NiBwcml2YXRlIGNvbnN0YW50IHRvdGFsVG9rZW5zID0gMTAwMDAwMDsKICAgIG1hcHBpbmcoYWRkcmVzcyA9PiB1aW50MjU2KSBwcml2YXRlIGJhbGFuY2VzOwogICAgbWFwcGluZyh1aW50MjU2ID0+IGFkZHJlc3MpIHByaXZhdGUgdG9rZW5Pd25lcnM7CiAgICBtYXBwaW5nKHVpbnQyNTYgPT4gYm9vbCkgcHJpdmF0ZSB0b2tlbkV4aXN0czsKICAgIG1hcHBpbmcoYWRkcmVzcyA9PiBtYXBwaW5nKGFkZHJlc3MgPT4gdWludDI1NikpIHByaXZhdGUgYWxsb3dlZDsKICAgIG1hcHBpbmcoYWRkcmVzcyA9PiBtYXBwaW5nKHVpbnQyNTYgPT4gdWludDI1NikpIHByaXZhdGUgb3duZXJUb2tlbnM7CgogICAgbWFwcGluZyh1aW50MjU2ID0+IHN0cmluZykgdG9rZW5MaW5rczsKCiAgICBmdW5jdGlvbiBuYW1lKCkgZXh0ZXJuYWwgcmV0dXJucyAoc3RyaW5nIG1lbW9yeSkgewogICAgICAgIHJldHVybiB0b2tlbk5hbWU7CiAgICB9CgogICAgZnVuY3Rpb24gc3ltYm9sKCkgZXh0ZXJuYWwgcmV0dXJucyAoc3RyaW5nIG1lbW9yeSkgewogICAgICAgIHJldHVybiB0b2tlblN5bWJvbDsKICAgIH0KCiAgICBmdW5jdGlvbiB0b3RhbFN1cHBseSgpIGV4dGVybmFsIHJldHVybnMgKHVpbnQyNTYpIHsKICAgICAgICByZXR1cm4gdG90YWxUb2tlbnM7CiAgICB9CgogICAgZnVuY3Rpb24gYmFsYW5jZU9mKGFkZHJlc3MgX293bmVyKSBleHRlcm5hbCByZXR1cm5zICh1aW50MjU2KSB7CiAgICAgICAgcmV0dXJuIGJhbGFuY2VzW19vd25lcl07CiAgICB9CgoKICAgIGZ1bmN0aW9uIGFwcHJvdmUoYWRkcmVzcyBfdG8sIHVpbnQyNTYgX3Rva2VuSWQpIGV4dGVybmFsIHsKICAgICAgICByZXF1aXJlKHRva2VuRXhpc3RzW190b2tlbklkXSk7CiAgICAgICAgcmVxdWlyZShtc2cuc2VuZGVyID09IHRva2VuT3duZXJzW190b2tlbklkXSk7CiAgICAgICAgcmVxdWlyZShtc2cuc2VuZGVyICE9IF90byk7CiAgICAgICAgYWxsb3dlZFttc2cuc2VuZGVyXVtfdG9dID0gX3Rva2VuSWQ7CiAgICAgICAgZW1pdCBBcHByb3ZhbChtc2cuc2VuZGVyLCBfdG8sIF90b2tlbklkKTsKICAgIH0KCiAgICBmdW5jdGlvbiB0YWtlT3duZXJzaGlwKHVpbnQyNTYgX3Rva2VuSWQpIGV4dGVybmFsIHsKICAgICAgICByZXF1aXJlKHRva2VuRXhpc3RzW190b2tlbklkXSk7CiAgICAgICAgYWRkcmVzcyBvbGRPd25lciA9IHRva2VuT3duZXJzW190b2tlbklkXTsKICAgICAgICBhZGRyZXNzIG5ld093bmVyID0gbXNnLnNlbmRlcjsKICAgICAgICByZXF1aXJlKG5ld093bmVyICE9IG9sZE93bmVyKTsKICAgICAgICByZXF1aXJlKGFsbG93ZWRbb2xkT3duZXJdW25ld093bmVyXSA9PSBfdG9rZW5JZCk7CiAgICAgICAgYmFsYW5jZXNbb2xkT3duZXJdIC09IDE7CiAgICAgICAgdG9rZW5Pd25lcnNbX3Rva2VuSWRdID0gbmV3T3duZXI7CiAgICAgICAgYmFsYW5jZXNbb2xkT3duZXJdICs9IDE7CiAgICAgICAgZW1pdCBUcmFuc2ZlcihvbGRPd25lciwgbmV3T3duZXIsIF90b2tlbklkKTsKICAgIH0KCiAgICBmdW5jdGlvbiB0cmFuc2ZlcihhZGRyZXNzIF90bywgdWludDI1NiBfdG9rZW5JZCkgZXh0ZXJuYWwgewogICAgICAgIGFkZHJlc3MgY3VycmVudE93bmVyID0gbXNnLnNlbmRlcjsKICAgICAgICBhZGRyZXNzIG5ld093bmVyID0gX3RvOwogICAgICAgIHJlcXVpcmUodG9rZW5FeGlzdHNbX3Rva2VuSWRdKTsKICAgICAgICByZXF1aXJlKGN1cnJlbnRPd25lciA9PSB0b2tlbk93bmVyc1tfdG9rZW5JZF0pOwogICAgICAgIHJlcXVpcmUoY3VycmVudE93bmVyICE9IG5ld093bmVyKTsKICAgICAgICByZXF1aXJlKG5ld093bmVyICE9IGFkZHJlc3MoMCkpOwoKICAgICAgICBmb3IgKHVpbnQyNTYgaSA9IDA7IG93bmVyVG9rZW5zW2N1cnJlbnRPd25lcl1baV0gIT0gX3Rva2VuSWQ7IGkrKykgewogICAgICAgICAgICBvd25lclRva2Vuc1tjdXJyZW50T3duZXJdW2ldID0gMDsKICAgICAgICB9CgogICAgICAgIGJhbGFuY2VzW2N1cnJlbnRPd25lcl0gLT0gMTsKICAgICAgICB0b2tlbk93bmVyc1tfdG9rZW5JZF0gPSBuZXdPd25lcjsKICAgICAgICBiYWxhbmNlc1tuZXdPd25lcl0gKz0gMTsKICAgICAgICBlbWl0IFRyYW5zZmVyKGN1cnJlbnRPd25lciwgbmV3T3duZXIsIF90b2tlbklkKTsKICAgIH0KCiAgICBmdW5jdGlvbiB0b2tlbk9mT3duZXJCeUluZGV4KGFkZHJlc3MgX293bmVyLCB1aW50MjU2IF9pbmRleCkKICAgICAgICBleHRlcm5hbAogICAgICAgIHJldHVybnMgKHVpbnQyNTYgdG9rZW5JZCkKICAgIHsKICAgICAgICByZXR1cm4gb3duZXJUb2tlbnNbX293bmVyXVtfaW5kZXhdOwogICAgfQoKICAgIGZ1bmN0aW9uIHRva2VuTWV0YWRhdGEodWludDI1NiBfdG9rZW5JZCkKICAgICAgICBleHRlcm5hbAogICAgICAgIHJldHVybnMgKHN0cmluZyBtZW1vcnkgaW5mb1VybCkKICAgIHsKICAgICAgICByZXR1cm4gdG9rZW5MaW5rc1tfdG9rZW5JZF07CiAgICB9CgogICAgZXZlbnQgVHJhbnNmZXIoCiAgICAgICAgYWRkcmVzcyBpbmRleGVkIF9mcm9tLAogICAgICAgIGFkZHJlc3MgaW5kZXhlZCBfdG8sCiAgICAgICAgdWludDI1NiBfdG9rZW5JZAogICAgKTsKICAgIGV2ZW50IEFwcHJvdmFsKAogICAgICAgIGFkZHJlc3MgaW5kZXhlZCBfb3duZXIsCiAgICAgICAgYWRkcmVzcyBpbmRleGVkIF9hcHByb3ZlZCwKICAgICAgICB1aW50MjU2IF90b2tlbklkCiAgICApOwp9 required: true responses: '200': description: Default Response content: application/json: schema: $ref: >- #/components/schemas/UtilityTranspileSolidityCodeToScryptResponse example: statusCode: 200 data: status: success msg: operation completed successfully ! scrypt: |- struct MapKeyST0 { PubKeyHash key0; PubKeyHash key1; } contract ERC20 { @state public int totalSupply; @state public HashedMap balanceOf; @state public HashedMap allowance; static const bytes name = "Solidity by Example"; static const bytes symbol = "SOLBYEX"; static const int decimals = 18; public function transfer(PubKeyHash recipient, int amount, Sig sig, PubKey pubKey, bool retVal, int balanceOf_msgSender, int i0, int balanceOf_recipient, int i1, SigHashPreimage txPreimage) { PubKeyHash msgSender = hash160(pubKey); require(checkSig(sig, pubKey)); require((!this.balanceOf.has({msgSender, i0}) && balanceOf_msgSender == 0) || this.balanceOf.canGet({msgSender, i0}, balanceOf_msgSender)); balanceOf_msgSender -= amount; require((!this.balanceOf.has({recipient, i1}) && balanceOf_recipient == 0) || this.balanceOf.canGet({recipient, i1}, balanceOf_recipient)); balanceOf_recipient += amount; require(true == retVal); require(this.balanceOf.set({msgSender, i0}, balanceOf_msgSender)); require(this.balanceOf.set({recipient, i1}, balanceOf_recipient)); require(this.propagateState(txPreimage, SigHash.value(txPreimage))); } public function approve(PubKeyHash spender, int amount, Sig sig, PubKey pubKey, bool retVal, int allowance_msgSender_spender, int i0, SigHashPreimage txPreimage) { PubKeyHash msgSender = hash160(pubKey); require(checkSig(sig, pubKey)); require((!this.allowance.has({{msgSender, spender}, i0}) && allowance_msgSender_spender == 0) || this.allowance.canGet({{msgSender, spender}, i0}, allowance_msgSender_spender)); allowance_msgSender_spender = amount; require(true == retVal); require(this.allowance.set({{msgSender, spender}, i0}, allowance_msgSender_spender)); require(this.propagateState(txPreimage, SigHash.value(txPreimage))); } public function transferFrom(PubKeyHash sender, PubKeyHash recipient, int amount, Sig sig, PubKey pubKey, bool retVal, int allowance_sender_msgSender, int i0, int balanceOf_recipient, int i2, int balanceOf_sender, int i1, SigHashPreimage txPreimage) { PubKeyHash msgSender = hash160(pubKey); require(checkSig(sig, pubKey)); require((!this.allowance.has({{sender, msgSender}, i0}) && allowance_sender_msgSender == 0) || this.allowance.canGet({{sender, msgSender}, i0}, allowance_sender_msgSender)); allowance_sender_msgSender -= amount; require((!this.balanceOf.has({sender, i1}) && balanceOf_sender == 0) || this.balanceOf.canGet({sender, i1}, balanceOf_sender)); balanceOf_sender -= amount; require((!this.balanceOf.has({recipient, i2}) && balanceOf_recipient == 0) || this.balanceOf.canGet({recipient, i2}, balanceOf_recipient)); balanceOf_recipient += amount; require(true == retVal); require(this.allowance.set({{sender, msgSender}, i0}, allowance_sender_msgSender)); require(this.balanceOf.set({recipient, i2}, balanceOf_recipient)); require(this.balanceOf.set({sender, i1}, balanceOf_sender)); require(this.propagateState(txPreimage, SigHash.value(txPreimage))); } public function mint(int amount, Sig sig, PubKey pubKey, int balanceOf_msgSender, int i0, SigHashPreimage txPreimage) { PubKeyHash msgSender = hash160(pubKey); require(checkSig(sig, pubKey)); require((!this.balanceOf.has({msgSender, i0}) && balanceOf_msgSender == 0) || this.balanceOf.canGet({msgSender, i0}, balanceOf_msgSender)); balanceOf_msgSender += amount; this.totalSupply += amount; require(this.balanceOf.set({msgSender, i0}, balanceOf_msgSender)); require(this.propagateState(txPreimage, SigHash.value(txPreimage))); } public function burn(int amount, Sig sig, PubKey pubKey, int balanceOf_msgSender, int i0, SigHashPreimage txPreimage) { PubKeyHash msgSender = hash160(pubKey); require(checkSig(sig, pubKey)); require((!this.balanceOf.has({msgSender, i0}) && balanceOf_msgSender == 0) || this.balanceOf.canGet({msgSender, i0}, balanceOf_msgSender)); balanceOf_msgSender -= amount; this.totalSupply -= amount; require(this.balanceOf.set({msgSender, i0}, balanceOf_msgSender)); require(this.propagateState(txPreimage, SigHash.value(txPreimage))); } function propagateState(SigHashPreimage txPreimage, int value) : bool { require(Tx.checkPreimage(txPreimage)); bytes outputScript = this.getStateScript(); bytes output = Utils.buildOutput(outputScript, value); return hash256(output) == SigHash.hashOutputs(txPreimage); } } errorLogs: [] '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/UtilityTranspileSolidityCodeToScrypt400Response example: statusCode: 400 data: status: error msg: Err msg /v1/compile: post: tags: - Utility summary: compile sCrypt code to Bitcoin Script. operationId: Utility_compileScryptToBitcoinScript description: Takes base64 string of sCrypt code and converts it to Bitcoin Script. requestBody: content: application/json: schema: $ref: '#/components/schemas/UtilityCompileScryptToBitcoinScriptRequest' example: sourceCode: >- Y29udHJhY3QgQ291bnRlciB7DQogIEBzdGF0ZQ0KICBwdWJsaWMgaW50IGNvdW50Ow0KDQogIGZ1bmN0aW9uIGdldCgpIDogaW50IHsNCiAgICByZXR1cm4gdGhpcy5jb3VudDsNCiAgfQ0KDQogIHB1YmxpYyBmdW5jdGlvbiBpbmMoU2lnSGFzaFByZWltYWdlIHR4UHJlaW1hZ2UpIHsNCiAgICB0aGlzLmNvdW50ICs9IDE7DQogICAgcmVxdWlyZSh0aGlzLnByb3BhZ2F0ZVN0YXRlKHR4UHJlaW1hZ2UpKTsNCiAgfQ0KDQogIGZ1bmN0aW9uIHNldChpbnQgX2NvdW50KSA6IGJvb2wgew0KICAgIHRoaXMuY291bnQgPSBfY291bnQ7DQogICAgcmV0dXJuIHRydWU7DQogIH0NCg0KICBmdW5jdGlvbiBwcm9wYWdhdGVTdGF0ZShTaWdIYXNoUHJlaW1hZ2UgdHhQcmVpbWFnZSkgOiBib29sIHsNCiAgICByZXF1aXJlKFR4LmNoZWNrUHJlaW1hZ2UodHhQcmVpbWFnZSkpOw0KICAgIGJ5dGVzIG91dHB1dFNjcmlwdCA9IHRoaXMuZ2V0U3RhdGVTY3JpcHQoKTsNCiAgICBieXRlcyBvdXRwdXQgPSBVdGlscy5idWlsZE91dHB1dChvdXRwdXRTY3JpcHQsIFNpZ0hhc2gudmFsdWUodHhQcmVpbWFnZSkpOw0KICAgIHJldHVybiBoYXNoMjU2KG91dHB1dCkgPT0gU2lnSGFzaC5oYXNoT3V0cHV0cyh0eFByZWltYWdlKTsNCiAgfQ0KfQ== required: true responses: '200': description: Default Response content: application/json: schema: $ref: >- #/components/schemas/UtilityCompileScryptToBitcoinScriptResponse example: statusCode: 200 data: status: success msg: Operation completed successfully scrypt: >- OP_1 40 97dfd76851bf465e8f715593b217714858bbe9570ff3bd5e33840a34e20ff026 02ba79df5f8ae7604a9830f03c7933028186aede0675a16f025dc4f8be8eec0382 1008ce7480da41702918d1ec8e6849ba32b4d65b1e40dc669c31a1e6306b266c $count $__codePart__ OP_7 OP_PICK OP_NOP OP_0 OP_PICK 68 OP_SPLIT OP_NIP OP_NOP OP_0 OP_0 OP_2 OP_PICK OP_1 OP_SPLIT OP_DROP OP_0 OP_SPLIT OP_NIP OP_0 OP_PICK fd OP_EQUAL OP_IF OP_3 OP_PICK OP_3 OP_SPLIT OP_DROP OP_1 OP_SPLIT OP_NIP OP_NOP OP_0 OP_PICK 00 OP_CAT OP_BIN2NUM OP_1 OP_ROLL OP_DROP OP_NOP OP_3 OP_ROLL OP_DROP OP_2 OP_ROLL OP_2 OP_ROLL OP_3 OP_PICK OP_3 OP_4 OP_PICK OP_ADD OP_SPLIT OP_DROP OP_3 OP_SPLIT OP_NIP OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_ELSE OP_0 OP_PICK fe OP_EQUAL OP_IF OP_3 OP_PICK OP_5 OP_SPLIT OP_DROP OP_1 OP_SPLIT OP_NIP OP_NOP OP_0 OP_PICK 00 OP_CAT OP_BIN2NUM OP_1 OP_ROLL OP_DROP OP_NOP OP_3 OP_ROLL OP_DROP OP_2 OP_ROLL OP_2 OP_ROLL OP_3 OP_PICK OP_5 OP_4 OP_PICK OP_ADD OP_SPLIT OP_DROP OP_5 OP_SPLIT OP_NIP OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_ELSE OP_0 OP_PICK ff OP_EQUAL OP_IF OP_3 OP_PICK OP_9 OP_SPLIT OP_DROP OP_1 OP_SPLIT OP_NIP OP_NOP OP_0 OP_PICK 00 OP_CAT OP_BIN2NUM OP_1 OP_ROLL OP_DROP OP_NOP OP_3 OP_ROLL OP_DROP OP_2 OP_ROLL OP_2 OP_ROLL OP_3 OP_PICK OP_9 OP_4 OP_PICK OP_ADD OP_SPLIT OP_DROP OP_9 OP_SPLIT OP_NIP OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_ELSE OP_3 OP_PICK OP_1 OP_SPLIT OP_DROP OP_0 OP_SPLIT OP_NIP OP_NOP OP_0 OP_PICK 00 OP_CAT OP_BIN2NUM OP_1 OP_ROLL OP_DROP OP_NOP OP_3 OP_ROLL OP_DROP OP_2 OP_ROLL OP_2 OP_ROLL OP_3 OP_PICK OP_1 OP_4 OP_PICK OP_ADD OP_SPLIT OP_DROP OP_1 OP_SPLIT OP_NIP OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_ENDIF OP_ENDIF OP_ENDIF OP_1 OP_PICK OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_1 OP_ROLL OP_DROP OP_NOP OP_0 OP_PICK OP_NOP OP_0 OP_PICK OP_SIZE OP_NIP OP_1 OP_PICK OP_1 OP_PICK OP_1 OP_SUB OP_SPLIT OP_DROP OP_1 OP_PICK OP_4 OP_SUB OP_1 OP_SUB OP_SPLIT OP_NIP OP_0 OP_PICK OP_BIN2NUM OP_2 OP_PICK OP_1 OP_PICK OP_SUB OP_4 OP_SUB OP_1 OP_SUB OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_SPLIT OP_DROP OP_3 OP_ROLL OP_DROP OP_2 OP_ROLL OP_2 OP_ROLL OP_0 OP_0 OP_3 OP_PICK OP_3 OP_PICK OP_SPLIT OP_NIP OP_NOP OP_0 OP_PICK OP_3 OP_ROLL OP_DROP OP_2 OP_ROLL OP_2 OP_ROLL OP_0 OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_1 OP_ADD OP_SPLIT OP_DROP OP_1 OP_PICK OP_SPLIT OP_NIP OP_1 OP_PICK OP_DUP OP_1ADD OP_3 OP_ROLL OP_DROP OP_2 OP_ROLL OP_2 OP_ROLL OP_DROP 00 OP_1 OP_PICK OP_EQUAL OP_NOT OP_1 OP_ROLL OP_DROP OP_NOP OP_0 OP_PICK OP_NOT OP_IF OP_NOP OP_NOP OP_0 OP_3 OP_PICK OP_0 OP_1 OP_PICK OP_5 OP_PICK OP_1 OP_ADD OP_SPLIT OP_DROP OP_5 OP_PICK OP_SPLIT OP_NIP OP_BIN2NUM OP_5 OP_PICK OP_DUP OP_1ADD OP_7 OP_ROLL OP_DROP OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_DROP OP_0 OP_PICK 4c OP_LESSTHAN OP_IF OP_0 OP_PICK OP_4 OP_ROLL OP_DROP OP_3 OP_ROLL OP_3 OP_ROLL OP_3 OP_ROLL OP_2 OP_PICK OP_6 OP_PICK OP_5 OP_PICK OP_ADD OP_SPLIT OP_DROP OP_6 OP_PICK OP_SPLIT OP_NIP OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_ELSE OP_0 OP_PICK 4c OP_NUMEQUAL OP_IF OP_2 OP_PICK OP_6 OP_PICK OP_1 OP_ADD OP_SPLIT OP_DROP OP_6 OP_PICK OP_SPLIT OP_NIP OP_NOP OP_0 OP_PICK 00 OP_CAT OP_BIN2NUM OP_1 OP_ROLL OP_DROP OP_NOP OP_4 OP_ROLL OP_DROP OP_3 OP_ROLL OP_3 OP_ROLL OP_3 OP_ROLL OP_5 OP_PICK OP_1 OP_ADD OP_6 OP_ROLL OP_DROP OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_PICK OP_DROP OP_2 OP_PICK OP_6 OP_PICK OP_5 OP_PICK OP_ADD OP_SPLIT OP_DROP OP_6 OP_PICK OP_SPLIT OP_NIP OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_ELSE OP_0 OP_PICK 4d OP_NUMEQUAL OP_IF OP_2 OP_PICK OP_6 OP_PICK OP_2 OP_ADD OP_SPLIT OP_DROP OP_6 OP_PICK OP_SPLIT OP_NIP OP_NOP OP_0 OP_PICK 00 OP_CAT OP_BIN2NUM OP_1 OP_ROLL OP_DROP OP_NOP OP_4 OP_ROLL OP_DROP OP_3 OP_ROLL OP_3 OP_ROLL OP_3 OP_ROLL OP_5 OP_PICK OP_2 OP_ADD OP_6 OP_ROLL OP_DROP OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_PICK OP_DROP OP_2 OP_PICK OP_6 OP_PICK OP_5 OP_PICK OP_ADD OP_SPLIT OP_DROP OP_6 OP_PICK OP_SPLIT OP_NIP OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_ELSE OP_0 OP_PICK 4e OP_NUMEQUAL OP_IF OP_2 OP_PICK OP_6 OP_PICK OP_4 OP_ADD OP_SPLIT OP_DROP OP_6 OP_PICK OP_SPLIT OP_NIP OP_NOP OP_0 OP_PICK 00 OP_CAT OP_BIN2NUM OP_1 OP_ROLL OP_DROP OP_NOP OP_4 OP_ROLL OP_DROP OP_3 OP_ROLL OP_3 OP_ROLL OP_3 OP_ROLL OP_5 OP_PICK OP_4 OP_ADD OP_6 OP_ROLL OP_DROP OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_PICK OP_DROP OP_2 OP_PICK OP_6 OP_PICK OP_5 OP_PICK OP_ADD OP_SPLIT OP_DROP OP_6 OP_PICK OP_SPLIT OP_NIP OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_ELSE OP_0 OP_VERIFY OP_ENDIF OP_ENDIF OP_ENDIF OP_ENDIF OP_5 OP_PICK OP_4 OP_PICK OP_ADD OP_6 OP_ROLL OP_DROP OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_ROLL OP_5 OP_PICK OP_DROP OP_1 OP_PICK OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_BIN2NUM OP_NOP OP_7 OP_ROLL OP_DROP OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_ENDIF OP_6 OP_PICK OP_1 OP_ADD OP_7 OP_ROLL OP_DROP OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_ROLL OP_6 OP_PICK OP_DROP OP_12 OP_PICK OP_NOP OP_0 OP_PICK OP_NOP OP_0 OP_PICK OP_12 OP_PICK OP_12 OP_PICK 0ac407f0e4bd44bfc207355a778b046225a7068fc59ee7eda43ad905aadbffc800 6c266b30e6a1319c66dc401e5bd6b432ba49688eecd118297041da8074ce0810 OP_14 OP_PICK 13 OP_PICK 13 OP_PICK OP_OR OP_NOP OP_6 OP_PICK OP_HASH256 OP_0 OP_PICK OP_NOP OP_0 OP_PICK OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT 00 OP_CAT OP_BIN2NUM OP_1 OP_ROLL OP_DROP OP_NOP OP_7 OP_PICK OP_6 OP_PICK OP_6 OP_PICK OP_6 OP_PICK OP_6 OP_PICK OP_NOP OP_3 OP_PICK OP_6 OP_PICK OP_4 OP_PICK OP_7 OP_PICK OP_MUL OP_ADD OP_MUL 414136d08c5ed2bf3ba048afe6dcaebafeffffffffffffffffffffffffffffff00 OP_1 OP_PICK OP_1 OP_PICK OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_MOD OP_0 OP_PICK OP_0 OP_LESSTHAN OP_IF OP_0 OP_PICK OP_2 OP_PICK OP_ADD OP_ELSE OP_0 OP_PICK OP_ENDIF OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_1 OP_PICK OP_1 OP_PICK OP_2 OP_DIV OP_GREATERTHAN OP_IF OP_0 OP_PICK OP_2 OP_PICK OP_SUB OP_2 OP_ROLL OP_DROP OP_1 OP_ROLL OP_ENDIF OP_3 OP_PICK OP_SIZE OP_NIP OP_2 OP_PICK OP_SIZE OP_NIP OP_3 OP_PICK 20 OP_NUM2BIN OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_1 OP_SPLIT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT OP_SWAP OP_CAT 20 OP_2 OP_PICK OP_SUB OP_SPLIT OP_NIP OP_4 OP_3 OP_PICK OP_ADD OP_2 OP_PICK OP_ADD 30 OP_1 OP_PICK OP_CAT OP_2 OP_CAT OP_4 OP_PICK OP_CAT OP_8 OP_PICK OP_CAT OP_2 OP_CAT OP_3 OP_PICK OP_CAT OP_2 OP_PICK OP_CAT OP_7 OP_PICK OP_CAT OP_0 OP_PICK OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_0 OP_PICK OP_7 OP_PICK OP_CHECKSIG OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_1 OP_ROLL OP_DROP OP_NOP OP_VERIFY OP_NOP OP_0 OP_NOP OP_0 OP_PICK OP_IF OP_1 OP_ELSE 00 OP_ENDIF OP_1 OP_ROLL OP_DROP OP_NOP OP_8 OP_PICK OP_NOP OP_0 OP_PICK OP_0 OP_NUMEQUAL OP_IF 00 OP_ELSE OP_0 OP_PICK OP_ENDIF OP_NOP OP_0 OP_PICK OP_SIZE OP_NIP OP_0 OP_1 OP_PICK 4c OP_LESSTHAN OP_IF OP_1 OP_PICK OP_1 OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_1 OP_ADD OP_NUM2BIN OP_0 OP_PICK OP_1 OP_PICK OP_SIZE OP_NIP OP_1 OP_SUB OP_SPLIT OP_DROP OP_0 OP_SPLIT OP_NIP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_1 OP_ROLL OP_DROP OP_ELSE OP_1 OP_PICK 0001 OP_LESSTHAN OP_IF 4c OP_2 OP_PICK OP_1 OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_1 OP_ADD OP_NUM2BIN OP_0 OP_PICK OP_1 OP_PICK OP_SIZE OP_NIP OP_1 OP_SUB OP_SPLIT OP_DROP OP_0 OP_SPLIT OP_NIP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_CAT OP_1 OP_ROLL OP_DROP OP_ELSE OP_1 OP_PICK 000001 OP_LESSTHAN OP_IF 4d OP_2 OP_PICK OP_2 OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_1 OP_ADD OP_NUM2BIN OP_0 OP_PICK OP_1 OP_PICK OP_SIZE OP_NIP OP_1 OP_SUB OP_SPLIT OP_DROP OP_0 OP_SPLIT OP_NIP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_CAT OP_1 OP_ROLL OP_DROP OP_ELSE OP_1 OP_PICK 0000000001 OP_LESSTHAN OP_IF 4e OP_2 OP_PICK OP_4 OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_1 OP_ADD OP_NUM2BIN OP_0 OP_PICK OP_1 OP_PICK OP_SIZE OP_NIP OP_1 OP_SUB OP_SPLIT OP_DROP OP_0 OP_SPLIT OP_NIP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_CAT OP_1 OP_ROLL OP_DROP OP_ELSE OP_0 OP_VERIFY OP_ENDIF OP_ENDIF OP_ENDIF OP_ENDIF OP_0 OP_PICK OP_3 OP_PICK OP_CAT OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_1 OP_ROLL OP_DROP OP_NOP OP_CAT OP_7 OP_PICK OP_1 OP_PICK OP_NOP OP_0 OP_PICK OP_SIZE OP_NIP OP_4 OP_NUM2BIN OP_1 OP_PICK OP_1 OP_PICK OP_CAT OP_0 OP_1 OP_NUM2BIN OP_CAT OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_CAT OP_1 OP_ROLL OP_DROP OP_NOP OP_0 OP_PICK OP_2 OP_PICK OP_NOP OP_0 OP_PICK OP_NOP OP_0 OP_PICK OP_SIZE OP_NIP OP_1 OP_PICK OP_1 OP_PICK 2c OP_SUB OP_SPLIT OP_DROP OP_1 OP_PICK 34 OP_SUB OP_SPLIT OP_NIP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_NOP OP_0 OP_PICK 00 OP_CAT OP_BIN2NUM OP_1 OP_ROLL OP_DROP OP_NOP OP_1 OP_ROLL OP_DROP OP_NOP OP_NOP OP_0 OP_PICK OP_8 OP_NUM2BIN OP_2 OP_PICK OP_NOP OP_0 OP_PICK OP_SIZE OP_NIP OP_0 OP_1 OP_PICK fd00 OP_LESSTHAN OP_IF OP_1 OP_PICK OP_1 OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_1 OP_ADD OP_NUM2BIN OP_0 OP_PICK OP_1 OP_PICK OP_SIZE OP_NIP OP_1 OP_SUB OP_SPLIT OP_DROP OP_0 OP_SPLIT OP_NIP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_1 OP_ROLL OP_DROP OP_ELSE OP_1 OP_PICK 000001 OP_LESSTHAN OP_IF fd OP_2 OP_PICK OP_2 OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_1 OP_ADD OP_NUM2BIN OP_0 OP_PICK OP_1 OP_PICK OP_SIZE OP_NIP OP_1 OP_SUB OP_SPLIT OP_DROP OP_0 OP_SPLIT OP_NIP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_CAT OP_1 OP_ROLL OP_DROP OP_ELSE OP_1 OP_PICK 0000000001 OP_LESSTHAN OP_IF fe OP_2 OP_PICK OP_4 OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_1 OP_ADD OP_NUM2BIN OP_0 OP_PICK OP_1 OP_PICK OP_SIZE OP_NIP OP_1 OP_SUB OP_SPLIT OP_DROP OP_0 OP_SPLIT OP_NIP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_CAT OP_1 OP_ROLL OP_DROP OP_ELSE OP_1 OP_PICK 000000000000000001 OP_LESSTHAN OP_IF ff OP_2 OP_PICK OP_8 OP_NOP OP_1 OP_PICK OP_1 OP_PICK OP_1 OP_ADD OP_NUM2BIN OP_0 OP_PICK OP_1 OP_PICK OP_SIZE OP_NIP OP_1 OP_SUB OP_SPLIT OP_DROP OP_0 OP_SPLIT OP_NIP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_CAT OP_1 OP_ROLL OP_DROP OP_ENDIF OP_ENDIF OP_ENDIF OP_ENDIF OP_0 OP_PICK OP_3 OP_PICK OP_CAT OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_CAT OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_0 OP_PICK OP_HASH256 OP_3 OP_PICK OP_NOP OP_0 OP_PICK OP_SIZE OP_NIP OP_1 OP_PICK OP_1 OP_PICK OP_8 OP_SUB OP_SPLIT OP_DROP OP_1 OP_PICK 28 OP_SUB OP_SPLIT OP_NIP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_EQUAL OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_1 OP_ROLL OP_DROP OP_NOP OP_NIP OP_NIP OP_NIP OP_NIP OP_NIP OP_NIP OP_NIP OP_NIP OP_NIP OP_NIP OP_NIP OP_NIP OP_NIP '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/UtilityCompileScryptToBitcoinScript400Response example: statusCode: 400 data: status: error msg: Err msg /v1/post: post: tags: - Utility summary: Post Messages to the Blockchain. operationId: Utility_postMessagesToBlockchain security: - authToken: [] - serviceID: [] description: >- The /post endpoint broadcasts array of notes to the blockchain (in B:// protocol format). parameters: - schema: type: string in: header name: custom-token required: false - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/UtilityPostMessagesToBlockchainRequest' examples: example1: value: dataArray: - notes: - note-1 - note-2 example2: value: dataArray: - notes: - note-1 - note-2 - notes: - note-3 required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/UtilityPostMessagesToBlockchainResponse' examples: example1: value: statusCode: 200 data: status: success msg: Successfully broadcasted to the blockchain. txIds: - txId: >- a9f78d83d6e1255267b727d7d7172016924e130faf33d0f4cac55d1fe92612e4 url: >- B://a9f78d83d6e1255267b727d7d7172016924e130faf33d0f4cac55d1fe92612e4 errors: [] example2: value: statusCode: 200 data: status: success msg: Successfully broadcasted to the blockchain. txIds: - txId: >- 2e0b861f3a2b7d68c09b21237ca6659cd9176832cabaf2c9f691947434fbf463 url: >- B://2e0b861f3a2b7d68c09b21237ca6659cd9176832cabaf2c9f691947434fbf463 - txId: >- 8d7732f2d0487f97173413c105865fec68449ee9a7e5159e1c3fb223c295695a url: >- B://8d7732f2d0487f97173413c105865fec68449ee9a7e5159e1c3fb223c295695a errors: [] example3: value: statusCode: 200 data: status: success msg: Successfully broadcasted to the blockchain. txIds: - txId: >- 2e0b861f3a2b7d68c09b21237ca6659cd9176832cabaf2c9f691947434fbf463 url: >- B://2e0b861f3a2b7d68c09b21237ca6659cd9176832cabaf2c9f691947434fbf463 - txId: >- 8d7732f2d0487f97173413c105865fec68449ee9a7e5159e1c3fb223c295695a url: >- B://8d7732f2d0487f97173413c105865fec68449ee9a7e5159e1c3fb223c295695a errors: - msg: Invalid note format. index: 0 '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/UtilityPostMessagesToBlockchain400Response example: statusCode: 400 data: status: error msg: Err msg /v1/lookup: post: tags: - Utility summary: Returns balance of all assets of Private Key operationId: Utility_getAssetBalance security: - authToken: [] - serviceID: [] description: >- The lookUp endpoint will return all the balance of all assets for BSV and STAS tokens from a private key parameters: - schema: type: string in: query name: nextPageToken required: false - schema: type: string in: query name: tokenId required: false - schema: type: string in: header name: type required: false - schema: type: string in: header name: currency required: false - schema: type: boolean default: true in: header name: compact required: false - schema: type: number minimum: -1 in: header name: maxResults required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/UtilityGetAssetBalanceRequest' responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/UtilityGetAssetBalanceResponse' example: statusCode: 200 data: status: success msg: operation completed successfully totalBalance: currency: USD balance: 0.0001570996557778815 coins: - protocol: BSV balance: 0.000005 - protocol: STAS-789 tokenId: a12e6c27b08430bccd4d801271e93d76994cac22-STASYO6 splittable: false verified: true name: Store Bonus Points address: 1JpvnEDrLR1rXZrUZNkhWSJd3x9D9ib16i satsPerToken: 1 symbol: STASYO6 redeemAddr: a12e6c27b08430bccd4d801271e93d76994cac22 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 20 decimals: 0 sn: - 8 /v1/asm: post: tags: - Transactions summary: Upload custom ASM scripts in a transaction operationId: Transactions_uploadCustomAsmScripts security: - authToken: [] - serviceID: [] description: >- The asm endpoint allows custom scripts to be added as outputs in a transaction parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsUploadCustomAsmScriptsRequest' examples: example1: value: dataArray: - asm: >- OP_DUP OP_HASH160 4a548f3da5526d1e2f8b5c3584ebb9739edfbe3b OP_EQUALVERIFY OP_CHECKSIG amount: 1.e-8 example2: value: dataArray: - asm: >- OP_DUP OP_HASH160 4a548f3da5526d1e2f8b5c3584ebb9739edfbe3b OP_EQUALVERIFY OP_CHECKSIG amount: 1.e-8 - asm: >- OP_DUP OP_HASH160 4a548f3da5526d1e2f8b5c3584ebb9739edfbe3b OP_EQUALVERIFY OP_CHECKSIG amount: 1.e-7 required: true responses: '200': description: Default Response content: application/json: schema: $ref: >- #/components/schemas/TransactionsUploadCustomAsmScriptsResponse example: statusCode: 200 data: status: success msg: Transaction successfully broadcasted txid: >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/TransactionsUploadCustomAsmScripts400Response example: statusCode: 400 data: status: error msg: Err msg /v1/sign: post: tags: - Utility summary: Sign a message to an address string operationId: Utility_signMessageToAddress security: - authToken: [] - serviceID: [] description: >- The sign endpoint will create a 64bit encoded signature of a message and an address string parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/UtilitySignMessageToAddressRequest' examples: example1: value: dataArray: - derivationPath: m/44'/0'/0'/0/0 message: Hello World from path example2: value: dataArray: - address: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 message: Hello World example3: value: dataArray: - address: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 message: Hello World - derivationPath: m/44'/0'/0'/0/0 message: Hello World from path required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/UtilitySignMessageToAddressResponse' examples: example1: value: statusCode: 200 data: status: success msg: Successfully signed message data: - derivationPath: m/44'/0'/0'/0/0 address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW signature: >- H50lZfAgH47Qg5va5EIrJJ1ss76D51f6TMEHiOrbUhaHJqC13zoH2mHS9BbBttSznmQwtLQB04addED5CLkYZVU= example2: value: statusCode: 200 data: status: success msg: Successfully signed message data: - derivationPath: m/44'/0'/0'/0/0 address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW signature: >- H9m3vJiQU5q6aDuGpbAf+brX7eG70Q4X1nOoOO/uf4+MZSLh5T5Z6foBrbHzMGe1mPpII2G9Q0TSsvI5dZMxc2Y= - derivationPath: m/44'/0'/0'/0/5 address: 12fKJzMbsMW6HxAsCMsrL4jrxC2p8umDGf signature: >- INwmOzibOQZD2jYoDqgGcQcIXUngrY6usA2bIvPp0Js1TMDPwZ/Fiq6VVhrO3fqWw54LQ2yoe6ZzATstZZj+YXw= '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/UtilitySignMessageToAddress400Response' example: statusCode: 400 data: status: error msg: Err msg /v2/balance: get: tags: - Wallets summary: Get your wallet balance. operationId: Wallets_getBalances security: - authToken: [] - serviceID: [] description: Returns both coin and token balances. parameters: - schema: type: string in: query name: nextPageToken required: false - schema: type: string in: query name: tokenId required: false - schema: type: string in: query name: symbol required: false - schema: type: string in: header name: walletID required: false - schema: type: string in: header name: type required: false - schema: type: string in: header name: currency required: false - schema: type: boolean default: true in: header name: compact required: false - schema: type: number minimum: -1 in: header name: maxResults required: false responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/WalletsGetBalancesResponse' examples: example1: value: statusCode: 200 data: status: success msg: Operation Completed Successfully totalBalance: currency: USD balance: 0.000033622769602482665 coins: - protocol: BSV balance: 0 - Id: 6441fe87c0dc6dd1babbe28f protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 103 supply: 123 decimals: 0 sn: - 85 - 30 - 61 - 81 - 74 - Id: 6441fe87c0dc6dd1babbe27a protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-YJO splittable: false splitable: false verified: true name: Yujiro address: 12519wQZvqjuqxggUco872zKs66L9x438C satsPerToken: 1 symbol: YJO redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://static.wikia.nocookie.net/baki/images/a/a6/Yujiro_profile.png/revision/latest/scale-to-width-down/280?cb=20220726223446 amount: 2 supply: 5 decimals: 0 sn: - 1 - 2 - Id: 6441fe87c0dc6dd1babbe27b protocol: STAS tokenId: 8226da9a724b0581928ee508df0174ed7b233a81-IR_MAN splittable: false splitable: false verified: true name: Ironman address: 12519wQZvqjuqxggUco872zKs66L9x438C satsPerToken: 1 symbol: IR_MAN redeemAddr: 8226da9a724b0581928ee508df0174ed7b233a81 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 2 supply: 3 decimals: 0 sn: - 1 - 2 - Id: 6441fe87c0dc6dd1babbe27c protocol: STAS tokenId: 8226da9a724b0581928ee508df0174ed7b233a81-W_WOMAN splittable: false splitable: false verified: true name: Store Bonus Points address: 12T7men1z1FU9sruoFgFx2D7JCJRgZtxrA satsPerToken: 1 symbol: W_WOMAN redeemAddr: 8226da9a724b0581928ee508df0174ed7b233a81 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 5 decimals: 0 sn: - 5 - Id: 6441fe87c0dc6dd1babbe27d protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-nba-new-123 splittable: false splitable: false verified: true name: Store Bonus Points address: 12T7men1z1FU9sruoFgFx2D7JCJRgZtxrA satsPerToken: 1 symbol: nba-new-123 redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 10 supply: 3 decimals: 0 sn: - 1 - 3 - 2 meta: nextPageToken: 5 example2: value: statusCode: 200 data: status: success msg: Operation Completed Successfully totalBalance: currency: USD balance: 0.000033622769602482665 coins: - protocol: BSV balance: 0 - Id: 6441fe87c0dc6dd1babbe28f protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 103 - Id: 6441fe87c0dc6dd1babbe290 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 102 - Id: 6441fe87c0dc6dd1babbe291 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 101 - Id: 6441fe87c0dc6dd1babbe292 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 100 - Id: 6441fe87c0dc6dd1babbe293 protocol: STAS tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG splittable: false splitable: false verified: true name: White Dragon address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW satsPerToken: 1 symbol: WDG redeemAddr: 7791e1839f705e2813ec744a15fd10d355ff99b2 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg amount: 1 supply: 123 decimals: 0 sn: 99 meta: nextPageToken: 5 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/WalletsGetBalances400Response' example: statusCode: 400 data: status: error msg: Err msg /v2/history: get: tags: - Wallets summary: Get your transaction history. operationId: Wallets_getTransactionHistory security: - authToken: [] - serviceID: [] description: >- The transaction history endpoint returns all past transactions, both BSV and Tokens. parameters: - schema: type: string in: query name: nextPageToken required: false - schema: type: string in: query name: tokenId required: false - schema: type: string in: query name: protocol required: false - schema: type: string in: query name: limit required: false - schema: type: string in: header name: walletID required: false - schema: type: string in: header name: type required: false responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/WalletsGetTransactionHistory200Response' example: statusCode: 200 data: status: success msg: Transaction history fetched successfully. histories: - to: - amount: 1 image: https://www.gstatic.com/webp/gallery/1.jpg protocol: STAS-789 tokenId: >- 0efca5f5dadcdacd0ff3a418a92c27efc6f8387b29e8647bb9ac7eea9284b13d sn: 1 to: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 name: test decimals: 2 txId: >- c48287508391ff0b57ec528cb12ae87762af94f6c242cb4acdeed63382e5515d from: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 timestamp: '2023-04-24 04:12:20' totalAmount: 1 type: debit - to: - amount: 1 image: https://www.gstatic.com/webp/gallery/1.jpg protocol: STAS-789 tokenId: >- 0efca5f5dadcdacd0ff3a418a92c27efc6f8387b29e8647bb9ac7eea9284b13c sn: 1 to: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 name: test decimals: 2 - amount: 1 image: https://www.gstatic.com/webp/gallery/1.jpg protocol: STAS-789 tokenId: >- 0efca5f5dadcdacd0ff3a418a92c27efc6f8387b29e8647bb9ac7eea9284b13c sn: 2 to: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 name: test decimals: 2 txId: >- c48287508391ff0b57ec528cb12ae87762af94f6c242cb4acdeed63382e5515e from: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 timestamp: '2023-04-26 03:18:37' totalAmount: 2 notes: test type: credit meta: nextPageToken: '1' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/WalletsGetTransactionHistory400Response' example: statusCode: 400 data: status: error msg: Err msg /v2/token/{id}: get: tags: - Smart Contracts summary: Get STAS token details. operationId: SmartContracts_getTokenDetails description: Insert your STAS tokenId to receive information about it. parameters: - schema: type: string in: path name: id required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/SmartContractsGetTokenDetails200Response' example: statusCode: 200 data: description: A supermarket bonus point. status: success msg: Operation completed successfully contractTxs: - >- d1f376ffb62f30efdd1336ec379eb462ab1068dd67a55789ab1c445cf35c540d issuanceTxs: - >- 7f06cdece4c08192e8872be802f120b85f0610e6f8e448b85c301e89ccc5bfe1 utxos: 3 owners: 1 transactionsCount: 1 circulationSupply: 3 name: Store Bonus Points tokenId: 8a9e7ec666f0610ff3f0540ed55f07162e9dd7a8 symbol: SBPgdsfgdfsgds image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg totalSupply: 3 decimals: 0 satsPerToken: 1 properties: legal: terms: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. licenceId: stastoken.com issuer: organisation: Vaionex Corp. legalForm: Limited governingLaw: US issuerCountry: US jurisdiction: US email: info@vaionex.com meta: schemaId: STAS1.0 website: vaionex.com legal: terms: Your token terms and description. media: - URI: string type: string altURI: string splitable: false protocol: STAS-789 serialNumber: 0 data: - '' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/SmartContractsGetTokenDetails400Response' example: statusCode: 400 data: status: error msg: Err msg /v2/inspect: post: tags: - Transactions summary: Inspect an atomic swap offer. operationId: Transactions_inspectAtomicSwapOffer security: - authToken: [] - serviceID: [] description: >- This endpoint allows users to inspect an atomic swap hex to verify the validity of the offer. requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsInspectAtomicSwapOfferRequest1' examples: example1: value: dataArray: - swapHex: >- 010000000184c5740d26e45e7d3574f51bc57346bdec86478669c4a4c90252acaa7a69353d000000006b483045022100876446ffa4fb4dbe362f00adca8d13c5010e5ef5dbfc3f261849fe267352bb2202201b367635c117cd1ce002033a12e115a56be5fa8f59cdaa2ed15f8ed683d23f6dc3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 example2: value: dataArray: - swapHex: >- 0100000001c5a3b200dce3761303df00166b7f424987ba7bce0ca2806ccfd6c0492fd43b98000000006a47304402201a289a73ca3c3e3dd183193c9c52fd1cbd1607d31769879b56da5eadd00071810220296232d51d8591406848eb4a7ee7dd246403de69237afbab687f0bc84e6354cbc3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 - swapHex: >- 0100000001b0619eea04bf5f1f765097cbbe2fad314dc6cedebedfe45e97bd30e261008820000000006a473044022075b1b3d916dc32bd7b4dd13e1681e5cb68944331a515ea5d169eb665f032617b022050d287f19c63d0b99a78af62ba580c4574b43373db134b9fc9cb157b9156d882c3210387d82034a417c41916f212a70978c199fead7a3a2769f4d3ed0ebce8f361f835ffffffff0150c30000000000001976a914ec83f1fb2c52dbd7b2d4c70cf95150560d611b9088ac00000000 required: true responses: '200': description: Default Response content: application/json: schema: $ref: >- #/components/schemas/TransactionsInspectAtomicSwapOffer200Response examples: example1: value: statusCode: 200 data: status: success msg: Offer details fetched successfully offerDetails: - address: 12fKJzMbsMW6HxAsCMsrL4jrxC2p8umDGf protocol: STAS amount: 1 verified: true spent: false tokenId: >- 7791e1839f705e2813ec744a15fd10d355ff99b2-SBPTEST12345 sn: 0 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg tokenSymbol: SBPTEST12345 contractTxid: >- a29f4948fd8c17d2e9be8e21f7312dcbcafe2f65b0eb4f0bf4d261a3e3a13c8c name: Store Bonus Points tokenSupply: 5 redeemAddress: 7791e1839f705e2813ec744a15fd10d355ff99b2 splittable: true satsPerToken: 1 wantedProtocol: BSV wantedAmount: 1 example2: value: statusCode: 200 data: status: success msg: Offer details fetched successfully offerDetails: - address: 12fKJzMbsMW6HxAsCMsrL4jrxC2p8umDGf protocol: STAS amount: 1 verified: true spent: false tokenId: >- 7791e1839f705e2813ec744a15fd10d355ff99b2-SBPTEST12345 sn: 0 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg tokenSymbol: SBPTEST12345 contractTxid: >- a29f4948fd8c17d2e9be8e21f7312dcbcafe2f65b0eb4f0bf4d261a3e3a13c8c name: Store Bonus Points tokenSupply: 5 redeemAddress: 7791e1839f705e2813ec744a15fd10d355ff99b2 splittable: true satsPerToken: 1 wantedProtocol: BSV wantedAmount: 1 - address: 1NZaXzJHBLTqeBXn45AvkoPCkbwatizDCW protocol: STAS amount: 1 verified: true spent: false tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-WDG sn: 5 image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg tokenSymbol: WDG contractTxid: >- e24cd3c552d71c2dd8513cdeac81a6d2ca48a055f73cbc58d118a33f037c9ca1 name: White Dragon tokenSupply: 123 redeemAddress: 7791e1839f705e2813ec744a15fd10d355ff99b2 splittable: false wantedProtocol: BSV wantedAmount: 2.5e-7 '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/TransactionsInspectAtomicSwapOffer400Response example: statusCode: 400 data: status: error msg: Err msg /v2/issue: post: tags: - Smart Contracts summary: Mint a Token. operationId: SmartContracts_mintToken security: - authToken: [] - serviceID: [] description: >- Mint a token with given specifications (can be both token or NFT). More on docs.relysia.com. parameters: - schema: type: string in: header name: protocol required: false - schema: type: boolean default: 'false' in: header name: reminting required: false - schema: type: string in: header name: walletID required: false - schema: type: string default: NFT in: header name: type required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/SmartContractsMintTokenRequest1' examples: example1: value: description: A supermarket bonus point. name: Store Bonus Points symbol: SBP image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg tokenSupply: 3 decimals: 0 satsPerToken: 1 properties: legal: terms: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. licenceId: stastoken.com issuer: organisation: Vaionex Corp. legalForm: Limited governingLaw: US issuerCountry: US jurisdiction: US email: info@vaionex.com meta: schemaId: STAS1.0 website: vaionex.com legal: terms: Your token terms and description. media: - URI: string type: string altURI: string splitable: true data: {} example2: value: description: A supermarket bonus point. name: Store Bonus Points symbol: SBP image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg tokenSupply: 3 decimals: 0 satsPerToken: 1 properties: legal: terms: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. licenceId: stastoken.com issuer: organisation: Vaionex Corp. legalForm: Limited governingLaw: US issuerCountry: US jurisdiction: US email: info@vaionex.com meta: schemaId: STAS1.0 website: vaionex.com legal: terms: Your token terms and description. media: - URI: string type: string altURI: string splitable: true data: data1: - data1 - data2 data2: - data1 - data2 required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/SmartContractsMintToken200Response' example: statusCode: 200 data: status: success msg: Token created successfully. tokenId: cb75d56ad85630475ca4af078dcbf37828970d8d-HELLO12344 tokenObj: description: A supermarket bonus point. userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 symbol: HELLO12344 name: Store Bonus Points image: >- https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg totalSupply: 3 satsPerToken: 1 decimals: 0 properties: legal: terms: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. licenceId: stastoken.com issuer: organisation: Vaionex Corp. legalForm: Limited governingLaw: US issuerCountry: US jurisdiction: US email: info@vaionex.com meta: schemaId: STAS1.0 website: vaionex.com legal: terms: Your token terms and description. media: - URI: string type: string altURI: string splittable: true protocolId: STAS contractTxid: >- ec376960b7cf25ae846338253e403082fe5f4bc76d06ad547bf03403ee4403b5 issueTxid: >- e3dcb8dfee84a7a510b1b073d7b1b773ac61749370e51a6dbe38d8171213d36f contractAddress: 1KYoLAjrtNGULBHvPy1fT6T5xwqtcFQ4yA contractPublickey: >- 02e8f852e5015f8f12c228992a84b3b70c6789630b9ebef70529b802061db7a42f splitable: true '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/SmartContractsMintToken400Response' example: statusCode: 400 data: status: error msg: Err msg /v2/send: post: tags: - Transactions summary: Transfer coins to an address. operationId: Transactions_transferToAddress security: - authToken: [] - serviceID: [] description: >- Use the /send endpoint to create transactions to peers. The /send endpoint is agnostic to sending either Tokens or BSV. parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsTransferToAddressRequest' examples: example1: value: txPayloads: - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 0.000005 example2: value: txPayloads: - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk example3: value: txPayloads: - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 0.000005 - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 0.000005 notes: test example4: value: txPayloads: - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 5 - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 3 notes: test - to: 1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj amount: 1 tokenId: 7791e1839f705e2813ec744a15fd10d355ff99b2-Mordor-bulk sn: 3 notes: test data: - test1 - test2 example5: value: bundle: false txPayloads: - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 1.e-7 - to: 17n2JVhrCf1oYSMkZtZNjcf1deteUEKQsH amount: 1.e-7 required: true responses: '200': description: Operation completed successfully content: application/json: schema: $ref: '#/components/schemas/TransactionsTransferToAddressResponse' examples: example1: value: statusCode: 200 data: status: success msg: Operation completed successfully transactionCount: 1 successCount: 1 failedCount: 0 transactions: - statusCode: 200 status: success msg: Operation completed successfully txId: >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 example2: value: statusCode: 200 data: status: success msg: Operation completed successfully transactionCount: 2 successCount: 2 failedCount: 0 transactions: - statusCode: 200 status: success msg: Operation completed successfully txId: >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 - statusCode: 200 status: string msg: string txId: >- 80e5b09f1613a0f82c94216e84db747b80b631be8618eb97f3ea4ab440ea223f '207': description: Operation completed with partial success content: application/json: schema: $ref: '#/components/schemas/TransactionsTransferToAddress207Response' example: statusCode: 207 data: status: partial success msg: Operation completed with partial success transactionCount: 2 successCount: 1 failedCount: 1 transactions: - statusCode: 200 status: success msg: Operation completed successfully txId: >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 - statusCode: 500 status: error msg: Operation failed txId: >- 80e5b09f1613a0f82c94216e84db747b80b631be8618eb97f3ea4ab440ea223f '500': description: Operation failed content: application/json: schema: $ref: '#/components/schemas/TransactionsTransferToAddress500Response' example: statusCode: 500 data: status: error msg: Operation failed transactionCount: 1 successCount: 0 failedCount: 1 transactions: - statusCode: 500 status: string msg: string txId: null /v1/plan/{serviceType}/activate: post: tags: - quota operationId: Quota_activateServiceType security: - authToken: [] - serviceID: [] parameters: - schema: type: string in: path name: serviceType required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/QuotaActivateServiceTypeRequest' example: serviceId: f1a4b3c2-1a2b-3a4b-5a6b-7a8b9c0d1e2f required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/QuotaActivateServiceTypeResponse' example: statusCode: 200 data: status: success msg: Plan activated successfully data: serviceId: 48fa916b-9a71-4e8c-a6ab-e8892418da52 plan: serviceType: free cost: 0 apiCallLimit: 10000 feeManagerFundPerMonth: 0.1 unavailableApiList: /upload: 0 /v1/offer: 0 /v1/swap: 0 /v1/issue: 3 projectLimit: 0 serviceFeeManagerFillingLimit: 0 createdBy: gtgd4e5JMhT5O09F0EEBR8vW5rq1 usage: apiCallUsage: 0 unavailableApiList: /upload: 0 /v1/offer: 0 /v1/swap: 0 /v1/issue: 3 projectUsage: 0 projects: [] '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/QuotaActivateServiceType400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/plan/quota: put: tags: - quota operationId: Quota_updatePlanQuota security: - authToken: [] - serviceID: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/QuotaUpdatePlanQuotaRequest' example: serviceType: free serviceId: 5f7b1b1b-5f7b-1b1b-5f7b-1b1b5f7b1b1b required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/QuotaUpdatePlanQuotaResponse' example: statusCode: 200 data: status: success msg: Plan updated successfully '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/QuotaUpdatePlanQuota400Response' example: statusCode: 400 data: status: error msg: Err msg /v1/plan/deactivate: put: tags: - quota operationId: Quota_deactivatePlan security: - authToken: [] - serviceID: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/QuotaDeactivatePlanRequest' example: serviceId: 5f7b1b1b-5f7b-1b1b-5f7b-1b1b5f7b1b1b required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/QuotaDeactivatePlanResponse' example: statusCode: 200 data: status: success msg: Plan deactivated successfully '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/QuotaDeactivatePlan400Response' example: statusCode: 400 data: status: error msg: Err msg /admin/v1/setup: post: tags: - admin operationId: Admin_setupPost security: - authToken: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/AdminSetupPostRequest' examples: example1: value: projectName: vaionex production db_store_mode: SHARED type: FEE_MANAGER paymailDomain: example.com firebaseConfig: apiKey: AIzaSyDiAjG-example-1234566_cW authDomain: example.firebaseapp.com databaseURL: https://example.firebaseio.com projectId: example storageBucket: example.appspot.com messagingSenderId: '540114563587' appId: 1:123456872:web:d24d9c3d71a38519as45sj788526 measurementId: G-M2K6YG42T2 legal: organisation: vaionex corp. legalForm: limited governingLaw: US mailingAddress: 1234 Newark, Delaware, USA issuerCountry: US jurisdiction: US email: info@example.com primaryDatabase: FIREBASE supabaseConfig: null example2: value: projectName: vaionex production db_store_mode: SHARED type: FEE_MANAGER paymailDomain: example.com firebaseConfig: null legal: organisation: vaionex corp. legalForm: limited governingLaw: US mailingAddress: 1234 Newark, Delaware, USA issuerCountry: US jurisdiction: US email: info@example.com primaryDatabase: SUPABASE supabaseConfig: supabaseUrl: https://examples.supabase.co supabaseKey: your access key... responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminSetupPostResponse' example: statusCode: 200 data: status: success msg: Setup added successfully serviceId: 89a54d0b-6907-4e5b-9e5f-c2e72a1f5e34 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminSetupPost400Response' example: statusCode: 400 data: status: error msg: Err msg /admin/v1/setup/{serviceId}: get: tags: - admin operationId: Admin_getServiceSetup security: - authToken: [] parameters: - schema: type: string in: path name: serviceId required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminGetServiceSetupResponse' examples: example1: value: statusCode: 200 data: msg: operation completed successfully ! serviceId: d0b67a32-a314-4375-aab5-724bbba342e6 firebaseConfig: apiKey: AIzaSyDiAjG-example-1234566_cW authDomain: example.firebaseapp.com databaseURL: https://example.firebaseio.com projectId: example storageBucket: example.appspot.com messagingSenderId: '540114563587' appId: 1:123456872:web:d24d9c3d71a38519as45sj788526 measurementId: G-M2K6YG42T2 tokenConfig: organisation: vaionex corp. legalForm: limited governingLaw: US mailingAddress: 1234 Newark, Delaware, USA issuerCountry: US jurisdiction: US email: info@example.com userId: gtgd4e5JMhT5O09F0EEBR8vW5rq1 domain: relysia-dev-infrastructure.com creationDate: 1685960279 updationDate: 1685960279 type: 0 projectName: vaionex dev 2 serviceIdRef: d0b67a32-a314-4375-aab5-724bbba342e6 serviceIdStatus: 0 primaryDatabase: FIREBASE supabaseConfig: null example2: value: statusCode: 200 data: msg: operation completed successfully ! serviceId: d0b67a32-a314-4375-aab5-724bbba342e6 firebaseConfig: null tokenConfig: organisation: vaionex corp. legalForm: limited governingLaw: US mailingAddress: 1234 Newark, Delaware, USA issuerCountry: US jurisdiction: US email: info@example.com userId: gtgd4e5JMhT5O09F0EEBR8vW5rq1 domain: relysia-dev-infrastructure.com creationDate: 1685960279 updationDate: 1685960279 type: 0 projectName: vaionex dev 2 serviceIdRef: d0b67a32-a314-4375-aab5-724bbba342e6 serviceIdStatus: 0 primaryDatabase: SUPABASE supabaseConfig: supabaseUrl: https://example.supabase.co supabaseKey: eyJhbGciOiJIUzI1NiIExample '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminGetServiceSetup400Response' example: statusCode: 400 data: status: error msg: Err msg put: tags: - admin operationId: Admin_updateServiceSetup security: - authToken: [] parameters: - schema: type: string in: path name: serviceId required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/AdminUpdateServiceSetupRequest' examples: example1: value: projectName: vaionex production 1 db_store_mode: DEDICATED type: CLASSIC_MODE paymailDomain: example.com firebaseConfig: apiKey: AIzaSyDiAjG-example-1234566_cW authDomain: example.firebaseapp.com databaseURL: https://example.firebaseio.com projectId: example storageBucket: example.appspot.com messagingSenderId: '540114563587' appId: 1:123456872:web:d24d9c3d71a38519as45sj788526 measurementId: G-M2K6YG42T2 legal: organisation: vaionex corp. legalForm: limited governingLaw: US mailingAddress: 1234 Newark, Delaware, USA issuerCountry: US jurisdiction: US email: info@example.com example2: value: projectName: vaionex production 1 db_store_mode: DEDICATED type: CLASSIC_MODE paymailDomain: example.com legal: organisation: vaionex corp. legalForm: limited governingLaw: US mailingAddress: 1234 Newark, Delaware, USA issuerCountry: US jurisdiction: US email: info@example.com supabaseConfig: supabaseUrl: https://example.supabase.co supabaseKey: an api keys responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminUpdateServiceSetupResponse' example: statusCode: 200 data: status: success msg: Setup updated successfully serviceId: 53082017-fc5b-429d-87d4-cdf69b0d7b3d '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminUpdateServiceSetup400Response' example: statusCode: 400 data: status: error msg: Err msg delete: tags: - admin operationId: Admin_deleteServiceSetup security: - authToken: [] parameters: - schema: type: string in: path name: serviceId required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminDeleteServiceSetupResponse' example: statusCode: 200 data: status: success msg: operation completed successfully ! serviceId: d0b67a32-a314-4375-aab5-724bbba342e6 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminDeleteServiceSetup400Response' example: statusCode: 400 data: status: error msg: Err msg /admin/v1/setup/serviceIds: get: tags: - admin operationId: Admin_getServiceIds security: - authToken: [] responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminGetServiceIdsResponse' example: statusCode: 200 data: status: success msg: operation completed successfully ! serviceIds: - d0b67a32-a314-4375-aab5-724bbba342e6 - 53082017-fc5b-429d-87d4-cdf69b0d7b3d '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminGetServiceIds400Response' example: statusCode: 400 data: status: error msg: Err msg /admin/v1/metrics: post: tags: - admin operationId: Admin_createMetricsRecord security: - authToken: [] - serviceID: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/AdminCreateMetricsRecordRequest' example: walletId: 5f7b1b1b-5f7b-1b1b-5f7b-1b1b5f7b1b1b userId: 5f7f1b9b9b9b9b9b9b9b9b9b required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminCreateMetricsRecordResponse' example: statusCode: 200 data: status: success msg: UTXO state updated successfully data: balance: 6078 userUtxos: - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914ee31f7eae549febdffc53a995bdee8ff0ba2300688ac tx_pos: 0 address: 1NiTgXKyS4oS3fyzHp6PryeBvc6FMJDW12 path: m/44'/0'/0'/0/0 tx_hash: >- 43f7f41c0ff873f3b576894fc3c7626a187258cd838f36062f54bc3b14fe3620 value: 25 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914ee31f7eae549febdffc53a995bdee8ff0ba2300688ac tx_pos: 1 address: 1NiTgXKyS4oS3fyzHp6PryeBvc6FMJDW12 path: m/44'/0'/0'/0/0 tx_hash: >- 43f7f41c0ff873f3b576894fc3c7626a187258cd838f36062f54bc3b14fe3620 value: 481 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914d703dafb29efd43caad53e9f1bcb924e6546694e88ac tx_pos: 1 address: 1Lbtu82Jm9poEdgKB3HsTDWS9YSC91Hpny path: m/44'/0'/0'/0/1 tx_hash: >- 76d79ad05cfeb4068535377cdff0113a084b084e936b7751c39895587be41d3d value: 4933 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a91498de3990604e4fe330f65e6b0125243eb909d1dd88ac tx_pos: 0 address: 1EwHvcWDjWcBGBXJLae8k4dsaVo8QKsqCP path: m/44'/0'/0'/0/4 tx_hash: >- 93a69ce25cec69b3a096427edb9d9761ace5671debcdc1a02cb260eacf037d21 value: 1 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a91447431db9649fd75c28834cb152f17cc8ea7fa11f88ac tx_pos: 1 address: 17VoNvtJjD19ctL5Ue3GJzzskbtXeNL4Nt path: m/44'/0'/0'/0/8 tx_hash: >- 8a7e73066f07eacab9cbe9edd45d1857f589ef0c8bd725e5010962cfb9198e4e value: 404 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a91477cb578d9fab608a794871e6c994c6ff2e55a70788ac tx_pos: 1 address: 1BvR1H8Bu1rRYwDWEVLoZJa37R3z19qzrK path: m/44'/0'/0'/0/10 tx_hash: >- 0849c24ecb4a30c60c1bb1ec5f557d60642bb6c6d2eeb5a30ee7c9f92c88572f value: 174 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a91477cb578d9fab608a794871e6c994c6ff2e55a70788ac tx_pos: 1 address: 1BvR1H8Bu1rRYwDWEVLoZJa37R3z19qzrK path: m/44'/0'/0'/0/10 tx_hash: >- cf9b899bfba8d6f8a4302e747a78635cc1328a76826ac7d7d31347bb39ba486d value: 49 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914aff862161039bc97895c6f515e629c6ece4943b188ac tx_pos: 0 address: 1H3SoXyeKv4mNNForRaPV8Fkzwdu55yx2b path: m/44'/0'/0'/0/14 tx_hash: >- 4ee029b35a30bafbcab3a08661dc286d3c5ce9f98a1734d1163c86aabe68c7d8 value: 1 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914aff862161039bc97895c6f515e629c6ece4943b188ac tx_pos: 0 address: 1H3SoXyeKv4mNNForRaPV8Fkzwdu55yx2b path: m/44'/0'/0'/0/14 tx_hash: >- f123456b9d6ee63c93b2a5afa264298efc6f0bb8cd400d5aa03d037eb1c9ae56 value: 2 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914aff862161039bc97895c6f515e629c6ece4943b188ac tx_pos: 1 address: 1H3SoXyeKv4mNNForRaPV8Fkzwdu55yx2b path: m/44'/0'/0'/0/14 tx_hash: >- 80e5b09f1613a0f82c94216e84db747b80b631be8618eb97f3ea4ab440ea223f value: 1 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914e54a77f2eaffb502d4af119436e9b7982707f07288ac tx_pos: 1 address: 1MuNx6Vm2oE4oU9iDRLr7ebAiv196DQBzh path: m/44'/0'/0'/0/17 tx_hash: >- 9ecbb4771c9e91e1f6a162d5dd3e808e57e43eedebb499f1096cb8d6813951b5 value: 4 - userId: JZzO1ySdhkPkBYQLXa66EbXDUFD2 walletId: 58c4e3e0-c4d3-413e-a8b9-3b30508e8c83 script: 76a914e54a77f2eaffb502d4af119436e9b7982707f07288ac tx_pos: 1 address: 1MuNx6Vm2oE4oU9iDRLr7ebAiv196DQBzh path: m/44'/0'/0'/0/17 tx_hash: >- fb6c046fa87d963b2e35beb06e1c21b443cbf7b7f684fd4f733fa68f6ecde672 value: 3 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminCreateMetricsRecord400Response' example: statusCode: 400 data: status: error msg: Err msg /admin/v1/tokenMetrics: post: tags: - admin operationId: Admin_calculateTokenMetrics security: - authToken: [] - serviceID: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/AdminCalculateTokenMetricsRequest' example: walletId: 5f7b1b1b-5f7b-1b1b-5f7b-1b1b5f7b1b1b userId: 5f7f1b9b9b9b9b9b9b9b9b9b required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminCalculateTokenMetricsResponse' example: statusCode: 200 data: status: success msg: migration started successfully '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminCalculateTokenMetrics400Response' example: statusCode: 400 data: status: error msg: Err msg /admin/v1/plans: post: tags: - admin operationId: Admin_createPlan security: - authToken: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/AdminCreatePlanRequest' examples: example1: value: serviceType: free cost: 0 apiCallLimit: 10000 feeManagerFundPerMonth: 0.1 unavailableApiList: /upload: 0 /v1/offer: 0 /v1/swap: 0 /v1/issue: 3 projectLimit: 0 serviceFeeManagerFillingLimit: 0 example2: value: serviceType: unlimited cost: 30 apiCallLimit: 1000000 feeManagerFundPerMonth: 10 unavailableApiList: /v1/offer: 0 /v1/swap: 0 projectLimit: 2 serviceFeeManagerFillingLimit: 1 example3: value: serviceType: business cost: 120 apiCallLimit: 3000000 feeManagerFundPerMonth: 20 unavailableApiList: {} projectLimit: 30 serviceFeeManagerFillingLimit: 40 required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminCreatePlanResponse' example: statusCode: 200 createPlanData: status: success msg: Plan created successfully '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminCreatePlan400Response' example: statusCode: 400 data: status: error msg: Err msg /admin/v1/plans/{serviceType}: put: tags: - admin operationId: Admin_updatePlanServiceType security: - authToken: [] parameters: - schema: type: string in: path name: serviceType required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/AdminUpdatePlanServiceTypeRequest' example: cost: 0 apiCallLimit: 10000 feeManagerFundPerMonth: 0 unavailableApiList: api1: 1000 projectLimit: 1 serviceFeeManagerFillingLimit: 1000 responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminUpdatePlanServiceTypeResponse' example: statusCode: 200 updatedPlanData: status: success msg: Plan updated successfully '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminUpdatePlanServiceType400Response' example: statusCode: 400 data: status: error msg: Err msg delete: tags: - admin operationId: Admin_deletePlanByServiceType security: - authToken: [] parameters: - schema: type: string in: path name: serviceType required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminDeletePlanByServiceTypeResponse' example: statusCode: 200 deletedPlanData: status: success msg: Plan deleted successfully '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminDeletePlanByServiceType400Response' example: statusCode: 400 data: status: error msg: Err msg get: tags: - admin operationId: Admin_getServiceTypePlans security: - authToken: [] parameters: - schema: type: string in: path name: serviceType required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminGetServiceTypePlansResponse' example: statusCode: 200 planData: status: success msg: Plan created successfully data: serviceType: free cost: '0' apiCallLimit: '10000' feeManagerFundPerMonth: '0.1' unavailableApiList: '{"/upload":0,"/v1/offer":0,"/v1/swap":0,"/v1/issue":3}' projectLimit: '0' serviceFeeManagerFillingLimit: '0' createdBy: gtgd4e5JMhT5O09F0EEBR8vW5rq1 '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminGetServiceTypePlans400Response' example: statusCode: 400 data: status: error msg: Err msg /admin/v1/plan/list: get: tags: - admin operationId: Admin_listPlans description: Get list of available plans and their details also responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/AdminListPlansResponse' example: statusCode: 200 planListData: status: success msg: Plan list fetched successfully data: - serviceType: unlimited apiCallLimit: '1000000' feeManagerFundPerMonth: '10' unavailableApiList: /v1/offer: 0 /v1/swap: 0 projectLimit: '2' serviceFeeManagerFillingLimit: '1' - serviceType: free apiCallLimit: '10000' feeManagerFundPerMonth: '0.1' unavailableApiList: /upload: 0 /v1/offer: 0 /v1/swap: 0 /v1/issue: 3 projectLimit: '0' serviceFeeManagerFillingLimit: '0' - serviceType: business apiCallLimit: '3000000' feeManagerFundPerMonth: '20' unavailableApiList: {} projectLimit: '30' serviceFeeManagerFillingLimit: '40' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/AdminListPlans400Response' example: statusCode: 400 data: status: error msg: Err msg /upload: post: tags: - Utility summary: Blockchain File Upload. operationId: Utility_broadcastFileToBlockchain security: - authToken: [] - serviceID: [] description: >- The /upload endpoint broadcasts a media file (supplied as URL) to the blockchain (in B:// protocol format). parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/UtilityBroadcastFileToBlockchainRequest' example: fileUrl: >- https://firebasestorage.googleapis.com/v0/b/pay-button-vaionexdev/o/1KB.png?alt=media&token=73f89b38-32c2-4fbe-814e-e6774833b9ab fileName: Relysia Test nft image size 1 kb. required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/UtilityBroadcastFileToBlockchainResponse' example: statusCode: 200 data: status: success msg: File uploaded successfully. uploadObj: fileName: Relysia Test nft image size 1 kb. fileType: image fileSize: 1121 timeStamp: '2023-06-14T09:08:52.015Z' txid: >- b4e118004c8246e1e9a552fd2a98dca1196698cb0076c21085c4f8112addfabe address: 1BuEAp4mjJdeDGcpw6XdvtA9fWmHNF2mMX addressPath: m/44'/0'/0'/0/0 url: >- B://b4e118004c8246e1e9a552fd2a98dca1196698cb0076c21085c4f8112addfabe '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/UtilityBroadcastFileToBlockchain400Response example: statusCode: 400 data: status: error msg: Err msg /post: post: tags: - Utility summary: Post Messages to the Blockchain. operationId: Utility_broadcastNoteToBlockchain security: - authToken: [] - serviceID: [] description: >- The /post endpoint broadcasts a note to the blockchain (in B:// protocol format). parameters: - schema: type: string in: header name: walletID required: false requestBody: content: application/json: schema: $ref: '#/components/schemas/UtilityBroadcastNoteToBlockchainRequest' example: notes: - This is a test note. - This is another test note. - ... required: true responses: '200': description: Default Response content: application/json: schema: $ref: '#/components/schemas/UtilityBroadcastNoteToBlockchainResponse' example: statusCode: 200 data: status: success msg: Transaction successfully broadcasted to the blockchain. txid: >- b7c1c08c89bc9105cf49199ef4c6ccde23df9fa5d5a720c8ec04d47b1c3436a1 '400': description: Bad request content: application/json: schema: $ref: >- #/components/schemas/UtilityBroadcastNoteToBlockchain400Response example: statusCode: 400 data: status: error msg: Err msg deprecated: true /v1/bsvalias/id/{paymail}: get: tags: - paymail operationId: Paymail_getProfileDetails parameters: - schema: type: string in: path name: paymail required: true responses: '200': description: Default Response /v1/bsvalias/address/{paymail}: post: tags: - paymail operationId: Paymail_resolveAddressInfo parameters: - schema: type: string in: path name: paymail required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/PaymailResolveAddressInfoRequest' required: true responses: '200': description: Default Response /v1/bsvalias/verifypubkey/{paymail}/{pubkey}: post: tags: - paymail operationId: Paymail_verifyPubkey parameters: - schema: type: string in: path name: paymail required: true - schema: type: string in: path name: pubkey required: true responses: '200': description: Default Response /v1/bsvalias/receive-transaction/{paymail}: post: tags: - paymail operationId: Paymail_receiveTransaction parameters: - schema: type: string in: path name: paymail required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/PaymailReceiveTransactionRequest' required: true responses: '200': description: Default Response /v1/bsvalias/p2p-payment-destination/{paymail}: post: tags: - paymail operationId: Paymail_createP2pPaymentDestination parameters: - schema: type: string in: path name: paymail required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/PaymailCreateP2PPaymentDestinationRequest' required: true responses: '200': description: Default Response /.well-known/bsvalias: get: tags: - paymail operationId: Paymail_getBsvAlias responses: '200': description: Default Response components: securitySchemes: authToken: type: apiKey in: header name: authToken serviceID: type: apiKey in: header name: serviceID schemas: SmartContractsMintTokenRequest: type: object properties: description: type: string name: type: string protocolId: type: string default: STAS symbol: type: string image: type: string tokenSupply: type: number minimum: 1 default: 3 decimals: type: number default: 0 nullable: true minimum: 0 maximum: 8 satsPerToken: type: number default: 1 minimum: 0 properties: type: object properties: legal: type: object properties: terms: type: string default: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. nullable: true licenceId: type: string default: stastoken.com nullable: true nullable: true issuer: type: object properties: organisation: type: string default: Vaionex Corp. nullable: true legalForm: type: string default: Limited nullable: true governingLaw: type: string default: US nullable: true issuerCountry: type: string default: US nullable: true jurisdiction: type: string default: US nullable: true email: type: string default: info@vaionex.com nullable: true nullable: true meta: type: object properties: schemaId: type: string default: STAS1.0 nullable: true website: type: string default: vaionex.com nullable: true legal: type: object properties: terms: type: string default: Your token terms and description. nullable: true nullable: true media: type: array items: type: object properties: URI: type: string nullable: true type: type: string nullable: true altURI: type: string nullable: true nullable: true nullable: true nullable: true nullable: true splitable: type: boolean default: 'true' nullable: true data: type: object additionalProperties: true default: {} nftMetadataSerialNumberStart: type: number nullable: true nftMetadataTotalSupply: type: number nullable: true required: - name - symbol - image - description - satsPerToken - protocolId - tokenSupply AuthenticationCreateUserTokenRequest: type: object properties: email: type: string format: email password: type: string format: password photo: type: string nullable: true displayName: type: string nullable: true required: - email - password AuthenticationUserLoginRequest: type: object properties: email: type: string format: email password: type: string format: password required: - email - password AuthenticationChangeUserPasswordRequest: type: object properties: newPassword: type: string format: password required: - newPassword TransactionsCreateTransactionToAddressRequest: type: object properties: bundle: type: boolean default: true nullable: true dataArray: type: array items: type: object properties: to: type: string amount: type: number minimum: 1.e-8 notes: type: string nullable: true sn: type: number nullable: true minimum: 0 tokenId: type: string nullable: true data: type: array nullable: true items: type: string required: - to - amount minItems: 1 required: - dataArray TransactionsCreateRawTxRequest: type: object properties: dataArray: type: array items: type: object properties: to: type: string amount: type: number minimum: 1.e-8 notes: type: string nullable: true sn: type: number nullable: true minimum: 0 tokenId: type: string nullable: true data: type: array nullable: true items: type: string required: - to - amount minItems: 1 required: - dataArray TransactionsWithdrawFromPrivateKeyRequest: type: object properties: dataArray: type: array items: type: object properties: to: type: string amount: type: number minimum: 0 notes: type: string nullable: true sn: type: number nullable: true minimum: 0 tokenId: type: string nullable: true data: type: array nullable: true items: type: string required: - to - amount minItems: 1 required: - dataArray TransactionsTransferAssetsFromPrivateKeyRequest: type: object properties: items: type: object properties: privateKey: type: string required: - privateKey TransactionsCreateAtomicSwapRequest: type: object properties: dataArray: type: array items: type: object properties: amount: type: number minimum: 0 nullable: true tokenId: type: string nullable: true sn: type: number minimum: 0 nullable: true wantedAmount: type: number minimum: 0 nullable: true wantedTokenId: type: string nullable: true wantedSn: type: number minimum: 0 nullable: true wantedScript: type: string nullable: true required: - amount - wantedAmount minItems: 1 required: - dataArray TransactionsAcceptSwapOfferRequest: type: object properties: dataArray: type: array items: type: object properties: swapHex: type: string additionalOutputs: type: array nullable: true items: type: object properties: amount: type: number to: type: string required: - swapHex minItems: 1 required: - dataArray TransactionsCreateSwapOfferRequest: type: object properties: dataArray: type: array items: type: object properties: tokenId: type: string sn: type: number minimum: 0 nullable: true amount: type: number minimum: 1.e-8 type: type: string default: BSV enum: - BSV payment: type: array items: type: object properties: to: type: string amount: anyOf: - type: string - type: number minimum: 0 required: - to - amount nullable: true maxItems: 2 required: - amount - type - tokenId minItems: 1 required: - dataArray TransactionsAcceptSwapOfferRequest1: type: object properties: dataArray: type: array items: type: object properties: swapId: type: string required: - swapId minItems: 1 required: - dataArray TransactionsInspectAtomicSwapOfferRequest: type: object properties: dataArray: type: array items: type: object properties: swapHex: type: string required: - swapHex minItems: 1 required: - dataArray SmartContractsRedeemTokensRequest: type: object properties: dataArray: type: array items: type: object properties: amount: type: number minimum: 0 tokenId: type: string sn: type: number default: 0 minimum: 0 required: - amount - tokenId minItems: 1 required: - dataArray TransactionsResolveInvoiceRequestRequest: type: object properties: uri: type: string type: type: string mainProtocol: type: string outputs: type: array items: type: object properties: script: type: string satoshis: type: number required: - script - satoshis nullable: true inputs: type: array items: type: object properties: txid: type: string vout: type: number satoshis: type: number minimum: 0 scriptPubKey: type: string nullable: true scriptType: type: string nullable: true scriptSig: type: string required: - txid - vout - satoshis - scriptSig nullable: true modes: type: object additionalProperties: true network: type: string nullable: true paymentUrl: type: string format: uri nullable: true creationTimeStamp: type: number format: duration nullable: true expirationTimeStamp: type: number format: duration nullable: true memo: type: string nullable: true isBSV: type: boolean nullable: true peer: type: string nullable: true peerData: type: string nullable: true peerProtocol: type: string nullable: true beneficiary: type: object properties: name: type: string email: type: string address: type: string paymentReference: type: string nullable: true required: - name - email - address - paymentReference required: - uri - type - mainProtocol NotificationsUpdateTokenRequest: type: object properties: expoNotificationToken: type: string required: - expoNotificationToken NotificationsSendNotificationRequest: type: object properties: type: type: string default: to userAddress: type: string amount: type: number transactionType: type: string default: BSV required: - amount - userAddress TransactionsCreateInvoiceRequestRequest: type: object properties: description: type: string nullable: true type: type: string enum: - USD - CHF - INR - EUR - CAD - GBP - SYP - SDG - LBP - FKP - EGP default: USD amount: type: number nullable: true minimum: 0 address: type: string nullable: true expirationTimeInMinuts: type: number default: 1 memo: type: string nullable: true merchantData: type: string nullable: true paymentOptions: type: array items: type: object properties: transactions: type: array items: type: object properties: native: type: object properties: amount: type: number to: type: string stas: type: object properties: tokenAmount: type: number tokenRecipient: type: string tokenId: type: string minItems: 1 required: - transactions nullable: true modeId: type: string nullable: true beneficiary: type: object properties: name: type: string email: type: string address: type: string paymentReference: type: string TransactionsSettleInvoiceRequestRequest: type: object properties: merchantData: type: string transaction: type: string refundTo: type: string nullable: true memo: type: string nullable: true additionalProperties: true required: - transaction - merchantData TransactionsSettleInvoiceRequestRequest1: type: object properties: merchantData: type: string transaction: type: string refundTo: type: string nullable: true memo: type: string nullable: true additionalProperties: true required: - transaction - merchantData AdminVerifyDomainOwnershipRequest: type: object properties: domain: type: string required: - domain AdminVerifyDomainOwnershipRequest1: type: object properties: domain: type: string required: - domain PaymailUpdateAddressInfoRequest: type: object properties: newPaymailId: type: string required: - newPaymailId PaymailActivateDeactivateRequest: type: object properties: activate: type: boolean default: true required: - activate AuthenticationResetUserPasswordConfirmationRequest: type: object properties: email: type: string format: email required: - email UtilityTranspileSolidityCodeToScryptRequest: type: object properties: sourceCode: type: string required: - sourceCode UtilityCompileScryptToBitcoinScriptRequest: type: object properties: sourceCode: type: string required: - sourceCode UtilityPostMessagesToBlockchainRequest: type: object properties: dataArray: type: array items: type: object properties: notes: type: array items: type: string minLength: 1 required: - notes minItems: 1 required: - dataArray UtilityGetAssetBalanceRequest: type: object properties: privateKey: type: string TransactionsUploadCustomAsmScriptsRequest: type: object properties: dataArray: type: array items: type: object properties: asm: type: string amount: type: number minimum: 0 required: - asm - amount minItems: 1 required: - dataArray UtilitySignMessageToAddressRequest: type: object properties: dataArray: type: array items: type: object properties: address: type: string nullable: true derivationPath: type: string nullable: true message: type: string minLength: 1 required: - message minItems: 1 required: - dataArray TransactionsInspectAtomicSwapOfferRequest1: type: object properties: dataArray: type: array items: type: object properties: swapHex: type: string required: - swapHex minItems: 1 required: - dataArray SmartContractsMintTokenRequest1: type: object properties: description: type: string name: type: string protocolId: type: string default: STAS symbol: type: string image: type: string tokenSupply: type: number minimum: 1 default: 3 decimals: type: number default: 0 nullable: true minimum: 0 maximum: 8 satsPerToken: type: number default: 1 minimum: 0 properties: type: object properties: legal: type: object properties: terms: type: string default: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. nullable: true licenceId: type: string default: stastoken.com nullable: true nullable: true issuer: type: object properties: organisation: type: string default: Vaionex Corp. nullable: true legalForm: type: string default: Limited nullable: true governingLaw: type: string default: US nullable: true issuerCountry: type: string default: US nullable: true jurisdiction: type: string default: US nullable: true email: type: string default: info@vaionex.com nullable: true nullable: true meta: type: object properties: schemaId: type: string default: STAS1.0 nullable: true website: type: string default: vaionex.com nullable: true legal: type: object properties: terms: type: string default: Your token terms and description. nullable: true nullable: true media: type: array items: type: object properties: URI: type: string nullable: true type: type: string nullable: true altURI: type: string nullable: true nullable: true nullable: true nullable: true nullable: true splitable: type: boolean default: 'true' nullable: true data: type: object additionalProperties: true default: {} nftMetadataSerialNumberStart: type: number nullable: true nftMetadataTotalSupply: type: number nullable: true required: - name - symbol - image - description - satsPerToken - tokenSupply TransactionsTransferToAddressRequest: type: object properties: bundle: type: boolean default: true nullable: true txPayloads: type: array items: type: object properties: to: type: string amount: type: number minimum: 1.e-8 notes: type: string nullable: true sn: type: number nullable: true minimum: 0 tokenId: type: string nullable: true data: type: array nullable: true items: type: string required: - to - amount minItems: 1 required: - txPayloads QuotaActivateServiceTypeRequest: type: object properties: chargeFrom: type: string serviceId: type: string required: - serviceId QuotaUpdatePlanQuotaRequest: type: object properties: serviceType: type: string serviceId: type: string required: - serviceId - serviceType QuotaDeactivatePlanRequest: type: object properties: serviceId: type: string required: - serviceId AdminSetupPostRequest: type: object properties: projectName: type: string db_store_mode: type: string type: type: string paymailDomain: type: string firebaseConfig: type: object properties: apiKey: type: string authDomain: type: string databaseURL: type: string projectId: type: string storageBucket: type: string messagingSenderId: type: string appId: type: string measurementId: type: string additionalProperties: true legal: type: object properties: organisation: type: string legalForm: type: string governingLaw: type: string mailingAddress: type: string issuerCountry: type: string jurisdiction: type: string email: type: string additionalProperties: true primaryDatabase: type: string supabaseConfig: type: object properties: supabaseUrl: type: string supabaseKey: type: string additionalProperties: true AdminUpdateServiceSetupRequest: type: object properties: projectName: type: string db_store_mode: type: string type: type: string paymailDomain: type: string firebaseConfig: type: object properties: apiKey: type: string authDomain: type: string databaseURL: type: string projectId: type: string storageBucket: type: string messagingSenderId: type: string appId: type: string measurementId: type: string additionalProperties: true legal: type: object properties: organisation: type: string legalForm: type: string governingLaw: type: string mailingAddress: type: string issuerCountry: type: string jurisdiction: type: string email: type: string additionalProperties: true supabaseConfig: type: object properties: supabaseUrl: type: string supabaseKey: type: string additionalProperties: true AdminCreateMetricsRecordRequest: type: object properties: walletId: type: string userId: type: string required: - walletId - userId AdminCalculateTokenMetricsRequest: type: object properties: userId: type: string walletId: type: string required: - userId - walletId AdminCreatePlanRequest: type: object properties: serviceType: type: string cost: type: number minimum: 0 apiCallLimit: type: number minimum: 0 feeManagerFundPerMonth: type: number minimum: 0 unavailableApiList: type: object additionalProperties: type: number minimum: 0 nullable: true projectLimit: type: number nullable: true minimum: 0 serviceFeeManagerFillingLimit: type: number minimum: 0 required: - serviceType - cost - apiCallLimit - feeManagerFundPerMonth - serviceFeeManagerFillingLimit AdminUpdatePlanServiceTypeRequest: type: object properties: cost: type: number nullable: true minimum: 0 apiCallLimit: type: number nullable: true minimum: 0 feeManagerFundPerMonth: type: number nullable: true minimum: 0 unavailableApiList: type: object additionalProperties: type: number minimum: 0 nullable: true projectLimit: type: number nullable: true minimum: 0 serviceFeeManagerFillingLimit: type: number nullable: true minimum: 0 UtilityBroadcastFileToBlockchainRequest: type: object properties: fileUrl: type: string fileName: type: string required: - fileUrl - fileName UtilityBroadcastNoteToBlockchainRequest: type: object properties: notes: type: array items: type: string minItems: 1 maxItems: 100000 required: - notes PaymailResolveAddressInfoRequest: type: object properties: senderHandle: type: string dt: type: string signature: type: string amount: type: number purpose: type: string senderName: type: string required: - dt - senderHandle PaymailReceiveTransactionRequest: type: object properties: hex: type: string reference: type: string metadata: type: object properties: sender: type: string pubkey: type: string signature: type: string note: type: string required: - hex - reference - metadata PaymailCreateP2PPaymentDestinationRequest: type: object properties: satoshis: type: number required: - satoshis SmartContractsMintTokenResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string tokenId: type: string tokenObj: type: object properties: description: type: string userId: type: string serviceId: type: string nullable: true symbol: type: string name: type: string image: type: string totalSupply: type: number minimum: 1 satsPerToken: type: number minimum: 0 decimals: type: number nullable: true properties: type: object properties: legal: type: object properties: terms: type: string default: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. nullable: true licenceId: type: string default: stastoken.com nullable: true nullable: true issuer: type: object properties: organisation: type: string default: Vaionex Corp. nullable: true legalForm: type: string default: Limited nullable: true governingLaw: type: string default: US nullable: true issuerCountry: type: string default: US nullable: true jurisdiction: type: string default: US nullable: true email: type: string default: info@vaionex.com nullable: true nullable: true meta: type: object properties: schemaId: type: string default: STAS1.0 nullable: true website: type: string default: vaionex.com nullable: true legal: type: object properties: terms: type: string default: Your token terms and description. nullable: true nullable: true media: type: array items: type: object properties: URI: type: string nullable: true type: type: string nullable: true altURI: type: string nullable: true nullable: true nullable: true nullable: true nullable: true splittable: type: boolean protocolId: type: string contractTxid: type: string issueTxid: type: string contractAddress: type: string contractPublickey: type: string splitable: type: boolean required: - userId - symbol - name - description - image - totalSupply - satsPerToken - splittable - protocolId - contractTxid - issueTxid - contractAddress - contractPublickey - splitable required: - status - msg - tokenId - tokenObj required: - statusCode - data SmartContractsMintToken400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data SmartContractsGetTokenDetailsResponse: type: object properties: statusCode: type: number data: type: object properties: description: type: string status: type: string enum: - success - error - partial success msg: type: string token_id: type: string symbol: type: string name: type: string schema_id: type: string protocol: type: string image: type: string total_supply: type: number minimum: 0 sats_per_token: type: number minimum: 0 splitable: type: boolean properties: type: object properties: legal: type: object properties: terms: type: string nullable: true licenceId: type: string nullable: true nullable: true issuer: type: object properties: organisation: type: string nullable: true legalForm: type: string nullable: true governingLaw: type: string nullable: true issuerCountry: type: string nullable: true jurisdiction: type: string nullable: true email: type: string nullable: true nullable: true meta: type: object properties: schemaId: type: string nullable: true website: type: string nullable: true legal: type: string nullable: true media: type: string nullable: true nullable: true nullable: true contract_txs: type: array items: type: string minItems: 1 issuance_txs: type: array items: type: string minItems: 1 required: - statusCode - data SmartContractsGetTokenDetails400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilityResolveAddressInfoResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string data: type: object properties: uri: type: string type: type: string mainProtocol: type: string outputs: type: array items: type: object properties: script: type: string satoshis: type: number required: - script - satoshis nullable: true inputs: type: array items: type: object properties: txid: type: string vout: type: number satoshis: type: number minimum: 0 scriptPubKey: type: string nullable: true scriptType: type: string nullable: true scriptSig: type: string required: - txid - vout - satoshis - scriptSig nullable: true modes: type: object additionalProperties: true network: type: string nullable: true paymentUrl: type: string format: uri nullable: true creationTimeStamp: type: number format: duration nullable: true expirationTimeStamp: type: number format: duration nullable: true memo: type: string nullable: true isBSV: type: boolean nullable: true peer: type: string nullable: true peerData: type: string nullable: true peerProtocol: type: string nullable: true beneficiary: type: object properties: name: type: string email: type: string address: type: string paymentReference: type: string nullable: true required: - name - email - address - paymentReference required: - uri - type - mainProtocol required: - status - msg - data required: - statusCode - data UtilityResolveAddressInfo400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AuthenticationCreateUserTokenResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string token: type: string userId: type: string required: - status - msg - token - userId required: - statusCode - data AuthenticationCreateUserToken400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AuthenticationUserLoginResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string token: type: string required: - status - msg - token required: - statusCode - data AuthenticationUserLogin400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AuthenticationChangeUserPasswordResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string token: type: string userId: type: string required: - status - msg - token - userId required: - statusCode - data AuthenticationChangeUserPassword400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data DeleteUserAccountResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data DeleteUserAccount400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data IdentityGetProfileDetailsResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string userDetails: type: object properties: userId: type: string passwordHash: type: string nullable: true passwordUpdatedAt: type: number format: duration nullable: true validSince: type: string lastLoginAt: type: string createdAt: type: string lastRefreshAt: type: string format: date-time photo: type: string format: uri nullable: true displayName: type: string nullable: true phoneNumber: type: string nullable: true required: - userId - passwordHash - passwordUpdatedAt - validSince - lastLoginAt - createdAt - lastRefreshAt required: - status - msg - userDetails required: - statusCode - data IdentityGetProfileDetails400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsCreateTransactionToAddressResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txIds: type: array items: type: string minItems: 0 errors: type: array items: type: object additionalProperties: true required: - status - msg - txIds - errors required: - statusCode - data TransactionsCreateTransactionToAddress400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsCreateRawTxResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string rawTxs: type: array items: anyOf: - type: string - type: object properties: rawtx: type: string required: - rawtx minItems: 1 required: - status - msg - rawTxs required: - statusCode - data TransactionsCreateRawTx400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminMigrateTokenRequestResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminMigrateTokenRequest400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilitySyncTokenFromBlockchainResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilitySyncTokenFromBlockchain400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsWithdrawFromPrivateKeyResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txIds: type: array items: type: string errors: type: array items: type: object additionalProperties: true required: - status - msg - txIds - errors required: - statusCode - data TransactionsWithdrawFromPrivateKey400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsTransferAssetsFromPrivateKeyResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txIds: type: array items: type: string errors: type: array items: type: object additionalProperties: true required: - status - msg - txIds - errors required: - statusCode - data TransactionsTransferAssetsFromPrivateKey400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsCreateAtomicSwapResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string contents: type: array items: type: string minItems: 1 required: - status - msg - contents required: - statusCode - data TransactionsCreateAtomicSwap400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsAcceptSwapOfferResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txIds: type: array items: type: string errors: type: array items: type: string required: - status - msg - txIds required: - statusCode - data TransactionsAcceptSwapOffer400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsCreateSwapOfferResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string contents: type: array items: type: object properties: swapId: type: string swapOfferHex: type: string tokenSatoshis: type: number minimum: 0 tokenContractTxid: type: string payment: type: array items: type: object properties: to: type: string amount: anyOf: - type: string - type: number minimum: 0 required: - to - amount nullable: true maxItems: 2 prevTxid: type: string tokenId: type: string serialNumber: type: number minimum: 0 nullable: true tokenOwnerAddress: type: string totalOutputSatoshis: type: number minimum: 0 makerPublicKeyHash: type: string required: - swapId - swapOfferHex - tokenSatoshis - tokenContractTxid - prevTxid - tokenId - tokenOwnerAddress - totalOutputSatoshis - makerPublicKeyHash minItems: 1 required: - status - msg - contents required: - statusCode - data TransactionsCreateSwapOffer400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsAcceptSwapOffer200Response: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txIds: type: array items: type: string required: - status - msg - txIds required: - statusCode - data TransactionsInspectAtomicSwapOfferResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string offerDetails: type: array items: anyOf: - type: object properties: tokenOwnerAddress: type: string tokenCreatorAddress: type: string tokenSatoshis: type: number minimum: 0 wantedSatoshis: type: number minimum: 0 tokenImage: type: string serialNumber: type: number minimum: 0 splittbale: type: boolean contractTxid: type: string tokenId: type: string symbol: type: string tokenSupply: type: number minimum: 0 verified: type: boolean tokenName: type: string tokenDescription: type: string nullable: true required: - tokenOwnerAddress - tokenCreatorAddress - tokenSatoshis - wantedSatoshis - tokenImage - serialNumber - splittbale - contractTxid - tokenId - symbol - tokenSupply - verified - tokenName - type: object properties: tokenOwnerAddress: type: string tokenCreatorAddress: type: string tokenSatoshis: type: number minimum: 0 wantedSatoshis: type: number minimum: 0 tokenId: type: string symbol: type: string sn: type: number minimum: 0 splittable: type: boolean tokenImage: type: string contractTxid: type: string tokenName: type: string tokenDescription: type: string nullable: true verified: type: boolean required: - tokenOwnerAddress - tokenCreatorAddress - tokenSatoshis - wantedSatoshis - tokenId - symbol - sn - splittable - tokenImage - contractTxid - tokenName - verified minItems: 1 required: - statusCode - data TransactionsInspectAtomicSwapOffer400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data SmartContractsRedeemTokensResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txIds: type: array items: type: string errors: type: array items: type: string required: - status - msg - txIds - errors required: - statusCode - data SmartContractsRedeemTokens400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data WalletsCreateHdWalletOfChoiceResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string walletID: type: string paymail: type: string required: - status - msg - walletID required: - statusCode - data WalletsCreateHdWalletOfChoice400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilityGetLatestUtxoStateResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string data: type: object properties: balance: type: number minimum: 0 userUtxos: type: array items: type: object properties: userId: type: string walletId: type: string script: type: string tx_pos: type: number minimum: 0 address: type: string path: type: string tx_hash: type: string value: type: number minimum: 0 serviceId: type: string nullable: true required: - userId - walletId - script - tx_pos - address - path - tx_hash - value minItems: 0 required: - balance - userUtxos required: - status - msg - data required: - statusCode - data UtilityGetLatestUtxoState400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data WalletsGetAddressAndPaymailResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string address: type: string paymail: type: string nullable: true required: - status - msg - address required: - statusCode - data WalletsGetAddressAndPaymail400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data WalletsGetAllAddressesResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string addressess: type: array items: type: string required: - status - msg - addressess required: - statusCode - data WalletsGetAllAddresses400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data WalletsGetBalanceResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string totalBalance: type: object properties: currency: type: string enum: - USD - CHF - INR - EUR - CAD - GBP - SYP - SDG - LBP - FKP - EGP - BSV balance: type: number required: - currency - balance coins: type: array items: anyOf: - type: object properties: protocol: type: string enum: - BSV balance: type: number required: - protocol - balance - type: object properties: Id: type: string protocol: type: string enum: - BSV - STAS - STAS-50 - STAS-20 - STAS-789 - STAS50 - STASFT - STASAPPEND tokenId: type: string splittable: type: boolean splitable: type: boolean verified: type: boolean name: type: string nullable: true address: type: string satsPerToken: type: number symbol: type: string redeemAddr: type: string image: type: string amount: type: number supply: type: number decimals: type: number sn: anyOf: - type: number - type: array items: type: number nullable: true required: - Id - protocol - tokenId - splittable - splitable - verified - address - satsPerToken - symbol - redeemAddr - image - amount - supply - decimals - sn meta: type: object properties: nextPageToken: type: number nullable: true required: - status - msg - totalBalance - coins - meta required: - statusCode - data WalletsGetBalance400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data WalletsGetTokenOwnershipDetailsResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string leaderboard: type: array items: type: object properties: paymail: type: string nullable: true totalAmount: type: number uid: type: string rank: type: number displayName: type: string nullable: true required: - totalAmount - uid - rank nextPageToken: type: number nullable: true required: - status - msg required: - statusCode - data WalletsGetTokenOwnershipDetails400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data WalletsGetTransactionHistoryResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string histories: type: array items: anyOf: - type: object properties: to: type: string txId: type: string from: type: string timestamp: type: string balance_change: type: number docId: type: string type: type: string enum: - debit - credit nullable: true notes: type: string nullable: true protocol: type: string enum: - BSV - STAS - STAS-50 - STAS-20 - STAS-789 - STAS50 - STASFT - STASAPPEND required: - to - txId - from - timestamp - balance_change - docId - type - protocol - type: object properties: to: type: array items: type: object properties: amount: type: number image: type: string nullable: true protocol: type: string enum: - BSV - STAS - STAS-50 - STAS-20 - STAS-789 - STAS50 - STASFT - STASAPPEND tokenId: type: string nullable: true sn: type: number nullable: true to: type: string name: type: string nullable: true decimals: type: number nullable: true txId: type: string from: type: string timestamp: type: string totalAmount: type: number notes: type: string nullable: true type: type: string enum: - debit - credit required: - to - txId - from - timestamp - totalAmount - type nextPageTokenId: type: string nullable: true meta: type: object properties: nextPageToken: type: string nullable: true required: - status - msg - histories required: - statusCode - data WalletsGetTransactionHistory400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data DeleteAllWalletsResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data DeleteAllWallets400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data WalletsListAvailableUserWalletsResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string wallets: type: array items: type: object properties: walletID: type: string walletTitle: type: string walletLogo: type: string format: uri nullable: true required: - walletID - walletTitle required: - status - msg - wallets required: - statusCode - data WalletsListAvailableUserWallets400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data WalletsGetMnemonicPhraseResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string mnemonic: type: string required: - status - msg - mnemonic required: - statusCode - data WalletsGetMnemonicPhrase400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsResolveInvoiceRequestResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txid: type: string required: - status - msg - txid required: - statusCode - data TransactionsResolveInvoiceRequest400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminSetupFeeManagerResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminSetupFeeManager400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminGetUtxoSetResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string totalBalance: type: object properties: balance: type: number minimum: 0 dustBalance: type: number minimum: 0 required: - balance - dustBalance availableUtxos: type: array items: type: object properties: script: type: string tx_pos: type: number minimum: 0 address: type: string path: type: string tx_hash: type: string value: type: number minimum: 0 createdAt: type: number format: duration state: type: string enum: - available required: - script - tx_pos - address - path - tx_hash - value - createdAt - state required: - status - msg - totalBalance - availableUtxos required: - statusCode - data AdminGetUtxoSet400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminGetFeeManagerAddressesResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string addresses: type: array items: type: string minItems: 1 maxItems: 1 required: - status - msg required: - statusCode - data AdminGetFeeManagerAddresses400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminGetFeeUtxoStateResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string totalBalance: type: object properties: availableBalance: type: number minimum: 0 dustBalance: type: number minimum: 0 failedBalance: type: number minimum: 0 required: - availableBalance - dustBalance - failedBalance allUtxos: type: object properties: availableUtxos: type: array items: type: object properties: script: type: string tx_pos: type: number minimum: 0 address: type: string nullable: true path: type: string nullable: true tx_hash: type: string value: type: number minimum: 0 createdAt: type: number format: duration state: type: string enum: - available - dust - failed required: - script - tx_pos - tx_hash - value - createdAt - state dustUtxos: type: array items: type: object properties: script: type: string tx_pos: type: number minimum: 0 address: type: string nullable: true path: type: string nullable: true tx_hash: type: string value: type: number minimum: 0 createdAt: type: number format: duration state: type: string enum: - available - dust - failed required: - script - tx_pos - tx_hash - value - createdAt - state failedUtxos: type: array items: type: object properties: script: type: string tx_pos: type: number minimum: 0 address: type: string nullable: true path: type: string nullable: true tx_hash: type: string value: type: number minimum: 0 createdAt: type: number format: duration state: type: string enum: - available - dust - failed required: - script - tx_pos - tx_hash - value - createdAt - state required: - availableUtxos - dustUtxos - failedUtxos required: - status - msg - totalBalance - allUtxos required: - statusCode - data AdminGetFeeUtxoState400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilityConvertSatoshiToFiatResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string currency: type: string enum: - USD - CHF - INR - EUR - CAD - GBP - SYP - SDG - LBP - FKP - EGP balance: type: number minimum: 0 required: - status - msg - currency - balance required: - statusCode - data UtilityConvertSatoshiToFiat400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data DeleteNotificationTokenResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data DeleteNotificationToken400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data NotificationsUpdateTokenResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data NotificationsUpdateToken400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data NotificationsSendNotificationResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data NotificationsSendNotification400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsCreateInvoiceRequestResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string reqUrl: type: string format: uri required: - status - msg - reqUrl required: - statusCode - data TransactionsCreateInvoiceRequest400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data TransactionsCreateInvoiceRequest200Response: type: object properties: version: type: string statusCode: type: number status: type: string enum: - success - error - partial success msg: type: string mainProtocol: type: string expirationTimestamp: type: number format: duration memo: type: string nullable: true outputs: type: array items: type: object properties: description: type: string nullable: true script: type: string satoshis: type: number minimum: 0 required: - script - satoshis nullable: true uri: type: string creationTimestamp: type: number format: duration type: type: string network: type: string paymentUrl: type: string format: uri modes: type: object additionalProperties: true beneficiary: type: object properties: name: type: string email: type: string paymentReference: type: string address: type: string required: - name - email - paymentReference - address additionalProperties: true required: - status - msg - mainProtocol - expirationTimestamp - version - uri - creationTimestamp - type - network - paymentUrl TransactionsSettleInvoiceRequestResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txId: type: string required: - status - msg - txId required: - status - msg - statusCode - data required: - statusCode - data TransactionsSettleInvoiceRequest400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminVerifyDomainOwnershipResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string verificationCode: type: string required: - status - msg - verificationCode required: - statusCode - data AdminVerifyDomainOwnership400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminVerifyDomainOwnership200Response: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string statusCode: type: number domain: type: string required: - status - msg - statusCode - domain required: - statusCode - data PaymailGetAddressInfoResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string paymailDetails: type: object properties: walletID: type: string paymailId: type: string required: - walletID - paymailId required: - status - msg - paymailDetails required: - statusCode - data PaymailGetAddressInfo400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data PaymailUpdateAddressInfoResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string paymail: type: string required: - status - msg - paymail required: - statusCode - data PaymailUpdateAddressInfo400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data DeleteWalletDataResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string walletId: type: string required: - status - msg - walletId required: - statusCode - data DeleteWalletData400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data PaymailActivateDeactivateResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data PaymailActivateDeactivate400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AuthenticationResetUserPasswordConfirmationResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string email: type: string format: email required: - status - msg - email required: - statusCode - data AuthenticationResetUserPasswordConfirmation400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilityTranspileSolidityCodeToScryptResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string scrypt: type: string errorLogs: type: array items: type: string required: - statusCode - data UtilityTranspileSolidityCodeToScrypt400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilityCompileScryptToBitcoinScriptResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string scrypt: type: string required: - status - msg - scrypt required: - statusCode - data UtilityCompileScryptToBitcoinScript400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilityPostMessagesToBlockchainResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txIds: type: array items: type: object properties: txId: type: string url: type: string required: - txId - url errors: type: array items: type: object properties: msg: type: string index: type: number required: - status - msg - txIds - errors required: - statusCode - data UtilityPostMessagesToBlockchain400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilityGetAssetBalanceResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string totalBalance: type: object properties: currency: type: string balance: type: number required: - currency - balance coins: type: array items: anyOf: - type: object properties: protocol: type: string balance: type: number required: - protocol - balance - type: object properties: protocol: type: string tokenId: type: string splittable: type: boolean name: type: string nullable: true address: type: string satsPerToken: type: number symbol: type: string redeemAddr: type: string image: type: string amount: type: number supply: type: number decimals: type: number sn: anyOf: - type: number - type: array items: type: number nullable: true required: - protocol - tokenId - splittable - address - satsPerToken - symbol - redeemAddr - image - amount - supply - decimals - sn meta: type: object properties: nextPageToken: type: number nullable: true required: - status - msg - totalBalance - coins - meta TransactionsUploadCustomAsmScriptsResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txid: type: string required: - status - msg - txid required: - statusCode - data TransactionsUploadCustomAsmScripts400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilitySignMessageToAddressResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string data: type: array items: type: object properties: derivationPath: type: string address: type: string signature: type: string required: - derivationPath - address - signature required: - status - msg - data required: - statusCode - data UtilitySignMessageToAddress400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data WalletsGetBalancesResponse: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string totalBalance: type: object properties: currency: type: string enum: - USD - CHF - INR - EUR - CAD - GBP - SYP - SDG - LBP - FKP - EGP - BSV balance: type: number required: - currency - balance coins: type: array items: anyOf: - type: object properties: protocol: type: string enum: - BSV balance: type: number required: - protocol - balance - type: object properties: Id: type: string protocol: type: string enum: - BSV - STAS - STAS-50 - STAS-20 - STAS-789 - STAS50 - STASFT - STASAPPEND tokenId: type: string splittable: type: boolean splitable: type: boolean verified: type: boolean name: type: string nullable: true address: type: string satsPerToken: type: number symbol: type: string redeemAddr: type: string image: type: string amount: type: number supply: type: number decimals: type: number sn: anyOf: - type: number - type: array items: type: number nullable: true required: - Id - protocol - tokenId - splittable - splitable - verified - address - satsPerToken - symbol - redeemAddr - image - amount - supply - decimals - sn meta: type: object properties: nextPageToken: type: number nullable: true required: - status - msg - totalBalance - coins - meta required: - statusCode - data WalletsGetBalances400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data WalletsGetTransactionHistory200Response: description: Successful response type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string histories: type: array items: type: object properties: to: type: array items: type: object properties: amount: type: number image: type: string nullable: true protocol: type: string enum: - BSV - STAS - STAS-50 - STAS-20 - STAS-789 - STAS50 - STASFT - STASAPPEND tokenId: type: string nullable: true sn: type: number nullable: true to: type: string name: type: string nullable: true decimals: type: number nullable: true txId: type: string from: type: string timestamp: type: string totalAmount: type: number notes: type: string nullable: true type: type: string enum: - debit - credit nullable: true required: - to - txId - from - timestamp - totalAmount - type meta: type: object properties: nextPageToken: type: string nullable: true required: - status - msg - histories required: - statusCode - data SmartContractsGetTokenDetails200Response: type: object properties: statusCode: type: number data: type: object properties: description: type: string status: type: string enum: - success - error - partial success msg: type: string contractTxs: type: array items: type: string minItems: 1 issuanceTxs: type: array items: type: string minItems: 1 utxos: type: number owners: type: number transactionsCount: type: number circulationSupply: type: number name: type: string tokenId: type: string symbol: type: string image: type: string totalSupply: type: number decimals: type: number satsPerToken: type: number properties: type: object properties: legal: type: object properties: terms: type: string nullable: true licenceId: type: string nullable: true nullable: true issuer: type: object properties: organisation: type: string nullable: true legalForm: type: string nullable: true governingLaw: type: string nullable: true issuerCountry: type: string nullable: true jurisdiction: type: string nullable: true email: type: string nullable: true nullable: true meta: type: object properties: schemaId: type: string nullable: true website: type: string nullable: true legal: type: object properties: terms: type: string nullable: true nullable: true media: type: array items: type: object properties: URI: type: string nullable: true type: type: string nullable: true altURI: type: string nullable: true nullable: true nullable: true nullable: true nullable: true splitable: type: boolean protocol: type: string serialNumber: type: number data: type: array items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. required: - status - msg - contractTxs - issuanceTxs - utxos - owners - transactionsCount - circulationSupply - name - tokenId - symbol - description - image - totalSupply - decimals - satsPerToken - properties - splitable - protocol - serialNumber - data required: - statusCode - data TransactionsInspectAtomicSwapOffer200Response: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string offerDetails: type: array items: type: object properties: address: type: string protocol: type: string enum: - STAS50 - STASFT - STASAPPEND - BSV - STAS - STAS-50 - STAS-20 - STAS-789 amount: type: number minimum: 0 verified: type: boolean nullable: true spent: type: boolean nullable: true tokenId: type: string nullable: true sn: type: number image: type: string nullable: true tokenSymbol: type: string nullable: true contractTxid: type: string nullable: true name: type: string nullable: true tokenSupply: type: number nullable: true redeemAddress: type: string nullable: true splittable: type: boolean satsPerToken: type: number minimum: 0 wantedProtocol: type: string enum: - STAS50 - STASFT - STASAPPEND - BSV - STAS - STAS-50 - STAS-20 - STAS-789 wantedAmount: type: number minimum: 0 wantedTokenId: type: string nullable: true wantedSn: type: number wantedName: type: string nullable: true wantedTokenSplittable: type: boolean nullable: true required: - address - protocol - amount - wantedProtocol - wantedAmount minItems: 1 required: - statusCode - data SmartContractsMintToken200Response: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string tokenId: type: string tokenObj: type: object properties: description: type: string userId: type: string serviceId: type: string nullable: true symbol: type: string name: type: string image: type: string totalSupply: type: number minimum: 1 satsPerToken: type: number minimum: 0 decimals: type: number nullable: true properties: type: object properties: legal: type: object properties: terms: type: string default: >- STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license. nullable: true licenceId: type: string default: stastoken.com nullable: true nullable: true issuer: type: object properties: organisation: type: string default: Vaionex Corp. nullable: true legalForm: type: string default: Limited nullable: true governingLaw: type: string default: US nullable: true issuerCountry: type: string default: US nullable: true jurisdiction: type: string default: US nullable: true email: type: string default: info@vaionex.com nullable: true nullable: true meta: type: object properties: schemaId: type: string default: STAS1.0 nullable: true website: type: string default: vaionex.com nullable: true legal: type: object properties: terms: type: string default: Your token terms and description. nullable: true nullable: true media: type: array items: type: object properties: URI: type: string nullable: true type: type: string nullable: true altURI: type: string nullable: true nullable: true nullable: true nullable: true nullable: true splittable: type: boolean protocolId: type: string contractTxid: type: string issueTxid: type: string contractAddress: type: string contractPublickey: type: string splitable: type: boolean required: - userId - symbol - name - description - image - totalSupply - satsPerToken - splittable - protocolId - contractTxid - issueTxid - contractAddress - contractPublickey - splitable required: - status - msg - tokenId - tokenObj required: - statusCode - data TransactionsTransferToAddressResponse: description: Operation completed successfully type: object properties: statusCode: type: number data: type: object properties: status: type: string msg: type: string transactionCount: type: number minimum: 1 successCount: type: number failedCount: type: number transactions: type: array items: type: object properties: statusCode: type: number enum: - 200 - 400 - 500 - 207 status: type: string enum: - success - error - partial success msg: type: string txId: type: string required: - transactionCount - failedCount - successCount - transactions TransactionsTransferToAddress207Response: description: Operation completed with partial success type: object properties: statusCode: type: number enum: - 207 data: type: object properties: status: type: string enum: - partial success msg: type: string transactionCount: type: number minimum: 2 successCount: type: number minimum: 1 failedCount: type: number minimum: 1 transactions: type: array items: type: object properties: statusCode: type: number enum: - 200 - 400 - 500 - 207 status: type: string enum: - success - error - partial success msg: type: string txId: type: string nullable: true required: - msg - failedCount - successCount - transactions - transactionCount TransactionsTransferToAddress500Response: description: Operation failed type: object properties: statusCode: type: number enum: - 200 - 400 - 500 - 207 data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string transactionCount: type: number minimum: 1 successCount: type: number enum: - 0 failedCount: type: number minimum: 1 transactions: type: array minItems: 1 items: type: object properties: statusCode: type: integer enum: - 200 - 400 - 500 - 207 status: type: string enum: - error msg: type: string required: - msg - status QuotaActivateServiceTypeResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string data: type: object properties: serviceId: type: string plan: type: object properties: serviceType: type: string cost: type: number minimum: 0 apiCallLimit: type: number minimum: 0 feeManagerFundPerMonth: type: number minimum: 0 unavailableApiList: type: object additionalProperties: type: number minimum: 0 nullable: true projectLimit: type: number minimum: 0 nullable: true serviceFeeManagerFillingLimit: type: number minimum: 0 createdBy: type: string required: - serviceType - cost - apiCallLimit - feeManagerFundPerMonth - serviceFeeManagerFillingLimit - createdBy usage: type: object properties: apiCallUsage: type: number unavailableApiList: type: object additionalProperties: type: number nullable: true projectUsage: type: number nullable: true projects: type: array items: type: string nullable: true nullable: true required: - serviceId - plan required: - status - msg - data required: - statusCode - data QuotaActivateServiceType400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data QuotaUpdatePlanQuotaResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data QuotaUpdatePlanQuota400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data QuotaDeactivatePlanResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data QuotaDeactivatePlan400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminSetupPostResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string serviceId: type: string required: - status - msg - serviceId required: - statusCode - data AdminSetupPost400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminDeleteServiceSetupResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string serviceId: type: string required: - status - msg - serviceId required: - statusCode - data AdminDeleteServiceSetup400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminGetServiceSetupResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string serviceId: type: string additionalProperties: true required: - status - msg - serviceId required: - statusCode - data AdminGetServiceSetup400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminUpdateServiceSetupResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string serviceId: type: string required: - status - msg - serviceId required: - statusCode - data AdminUpdateServiceSetup400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminGetServiceIdsResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string serviceIds: type: array items: type: string minItems: 1 required: - status - msg - serviceIds required: - statusCode - data AdminGetServiceIds400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminCreateMetricsRecordResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string data: type: object properties: balance: type: number minimum: 0 userUtxos: type: array items: type: object properties: userId: type: string walletId: type: string script: type: string tx_pos: type: number minimum: 0 address: type: string path: type: string tx_hash: type: string value: type: number minimum: 0 serviceId: type: string nullable: true required: - userId - walletId - script - tx_pos - address - path - tx_hash - value minItems: 0 required: - balance - userUtxos required: - status - msg - data required: - statusCode - data AdminCreateMetricsRecord400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminCalculateTokenMetricsResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminCalculateTokenMetrics400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminCreatePlanResponse: type: object properties: statusCode: type: number createPlanData: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - createPlanData AdminCreatePlan400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminDeletePlanByServiceTypeResponse: type: object properties: statusCode: type: number deletedPlanData: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - deletedPlanData AdminDeletePlanByServiceType400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminGetServiceTypePlansResponse: type: object properties: statusCode: type: number planData: type: object properties: status: type: string enum: - success - error - partial success msg: type: string data: type: object properties: serviceType: type: string cost: type: string apiCallLimit: type: string feeManagerFundPerMonth: type: string unavailableApiList: type: string nullable: true projectLimit: type: string nullable: true serviceFeeManagerFillingLimit: type: string createdBy: type: string required: - serviceType - cost - apiCallLimit - feeManagerFundPerMonth - serviceFeeManagerFillingLimit - createdBy required: - status - msg - data required: - statusCode - planData AdminGetServiceTypePlans400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminUpdatePlanServiceTypeResponse: type: object properties: statusCode: type: number updatedPlanData: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - updatedPlanData AdminUpdatePlanServiceType400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data AdminListPlansResponse: type: object properties: statusCode: type: number planListData: type: object properties: status: type: string enum: - success - error - partial success msg: type: string data: type: array items: type: object properties: serviceType: type: string apiCallLimit: type: string feeManagerFundPerMonth: type: string unavailableApiList: type: object additionalProperties: type: number minimum: 0 nullable: true projectLimit: type: string nullable: true serviceFeeManagerFillingLimit: type: string required: - serviceType - apiCallLimit - feeManagerFundPerMonth - serviceFeeManagerFillingLimit nullable: true required: - status - msg - data required: - statusCode - planListData AdminListPlans400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilityBroadcastFileToBlockchainResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string uploadObj: type: object properties: fileName: type: string fileType: type: string fileSize: type: number timeStamp: type: string format: date-time txid: type: string address: type: string addressPath: type: string url: type: string required: - fileName - fileType - fileSize - timeStamp - txid - address - addressPath - url required: - status - msg - uploadObj required: - statusCode - data UtilityBroadcastFileToBlockchain400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data UtilityBroadcastNoteToBlockchainResponse: type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string txid: type: string required: - status - msg - txid required: - statusCode - data UtilityBroadcastNoteToBlockchain400Response: description: Bad request type: object properties: statusCode: type: number data: type: object properties: status: type: string enum: - success - error - partial success msg: type: string required: - status - msg required: - statusCode - data externalDocs: description: Relysia Infrastructure Documentation url: https://docs.relysia.com