blockstack
Version:
The Blockstack Javascript library for authentication, identity, and storage.
2,544 lines (2,543 loc) • 1.18 MB
JSON
{
"id": 0,
"name": "blockstack",
"kind": 0,
"flags": {},
"children": [
{
"id": 10,
"name": "AppConfig",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Configuration data for the current app.",
"text": "On browser platforms, creating an instance of this\nclass without any arguments will use\n`window.location.origin` as the app domain.\nOn non-browser platforms, you need to\nspecify an app domain as the first argument.",
"tags": [
{
"tag": "type",
"text": "{AppConfig}\n"
}
]
},
"children": [
{
"id": 17,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"comment": {},
"signatures": [
{
"id": 18,
"name": "new AppConfig",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"comment": {},
"parameters": [
{
"id": 19,
"name": "scopes",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "permissions this app is requesting"
},
"type": {
"type": "reference",
"name": "Array",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
},
"defaultValue": " DEFAULT_SCOPE.slice()"
},
{
"id": 20,
"name": "appDomain",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "the app domain"
},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": " window.location.origin"
},
{
"id": 21,
"name": "redirectPath",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "path on app domain to redirect users to after authentication"
},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"\""
},
{
"id": 22,
"name": "manifestPath",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "path relative to app domain of app's manifest file"
},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"/manifest.json\""
},
{
"id": 23,
"name": "coreNode",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "override the default or user selected core node"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "null"
}
]
},
"defaultValue": " null"
},
{
"id": 24,
"name": "authenticatorURL",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"shortText": "the web-based fall back authenticator\n"
},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": " DEFAULT_BLOCKSTACK_HOST"
}
],
"type": {
"type": "reference",
"name": "AppConfig",
"id": 10
}
}
],
"sources": [
{
"fileName": "auth/appConfig.ts",
"line": 59,
"character": 27
}
]
},
{
"id": 11,
"name": "appDomain",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Blockstack apps are uniquely identified by their app domain.",
"tags": [
{
"tag": "type",
"text": "{string}\n"
}
]
},
"sources": [
{
"fileName": "auth/appConfig.ts",
"line": 20,
"character": 11
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 16,
"name": "authenticatorURL",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true
},
"comment": {
"shortText": "The URL of a web-based Blockstack Authenticator to use in the event\nthe user doesn't have Blockstack installed on their machine. If this\nis not specified, the current default in this library will be used.",
"tags": [
{
"tag": "type",
"text": "{string}\n"
}
]
},
"sources": [
{
"fileName": "auth/appConfig.ts",
"line": 59,
"character": 18
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 15,
"name": "coreNode",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"shortText": "The URL of Blockstack core node to use for this app. If this is\n`null`, the core node specified by the user or default core node\nwill be used.",
"tags": [
{
"tag": "type",
"text": "{string}\n"
}
]
},
"sources": [
{
"fileName": "auth/appConfig.ts",
"line": 51,
"character": 10
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 14,
"name": "manifestPath",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Path relative to app domain of app's manifest file.",
"text": "This file needs to have CORS headers set so that it can be fetched\nfrom any origin. Typically this means return the header `Access-Control-Allow-Origin: *`.",
"tags": [
{
"tag": "type",
"text": "{string}\n"
}
]
},
"sources": [
{
"fileName": "auth/appConfig.ts",
"line": 43,
"character": 14
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 13,
"name": "redirectPath",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Path on app domain to redirect users to after authentication. The\nauthentication response token will be postpended in a query.",
"tags": [
{
"tag": "type",
"text": "{string}\n"
}
]
},
"sources": [
{
"fileName": "auth/appConfig.ts",
"line": 34,
"character": 14
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 12,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"shortText": "An array of string representing permissions requested by the app.",
"tags": [
{
"tag": "type",
"text": "{[Array<string>}\n"
}
]
},
"sources": [
{
"fileName": "auth/appConfig.ts",
"line": 26,
"character": 8
}
],
"type": {
"type": "reference",
"name": "Array",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 27,
"name": "manifestURI",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 28,
"name": "manifestURI",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "The location of the app's manifest file.",
"returns": "- URI\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "auth/appConfig.ts",
"line": 102,
"character": 13
}
]
},
{
"id": 25,
"name": "redirectURI",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 26,
"name": "redirectURI",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "The location to which the authenticator should\nredirect the user.",
"returns": "- URI\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "auth/appConfig.ts",
"line": 94,
"character": 13
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
17
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
11,
16,
15,
14,
13,
12
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
27,
25
]
}
],
"sources": [
{
"fileName": "auth/appConfig.ts",
"line": 15,
"character": 22
}
]
},
{
"id": 222,
"name": "BitcoinNetwork",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"children": [
{
"id": 223,
"name": "broadcastTransaction",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 224,
"name": "broadcastTransaction",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 225,
"name": "transaction",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 22,
"character": 22
}
]
},
{
"id": 226,
"name": "getBlockHeight",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 227,
"name": "getBlockHeight",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 26,
"character": 16
}
]
},
{
"id": 233,
"name": "getNetworkedUTXOs",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 234,
"name": "getNetworkedUTXOs",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 235,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "reference",
"name": "Array",
"typeArguments": [
{
"type": "reference",
"name": "UTXO",
"id": 576
}
]
}
]
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 34,
"character": 19
}
]
},
{
"id": 228,
"name": "getTransactionInfo",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 229,
"name": "getTransactionInfo",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 230,
"name": "txid",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 231,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 232,
"name": "block_height",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "network.ts",
"line": 30,
"character": 57
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
232
]
}
],
"sources": [
{
"fileName": "network.ts",
"line": 30,
"character": 44
}
]
}
}
]
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 30,
"character": 20
}
]
}
],
"groups": [
{
"title": "Methods",
"kind": 2048,
"children": [
223,
226,
233,
228
]
}
],
"sources": [
{
"fileName": "network.ts",
"line": 21,
"character": 27
}
],
"extendedBy": [
{
"type": "reference",
"name": "BitcoindAPI",
"id": 513
},
{
"type": "reference",
"name": "InsightClient",
"id": 540
},
{
"type": "reference",
"name": "BlockchainInfoApi",
"id": 558
}
]
},
{
"id": 513,
"name": "BitcoindAPI",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"children": [
{
"id": 520,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 521,
"name": "new BitcoindAPI",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
"id": 522,
"name": "bitcoindUrl",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 523,
"name": "bitcoindCredentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 524,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 526,
"name": "password",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "network.ts",
"line": 920,
"character": 83
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 525,
"name": "username",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "network.ts",
"line": 920,
"character": 65
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
526,
525
]
}
],
"sources": [
{
"fileName": "network.ts",
"line": 920,
"character": 55
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "BitcoindAPI",
"id": 513
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 918,
"character": 21
}
]
},
{
"id": 515,
"name": "bitcoindCredentials",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "network.ts",
"line": 916,
"character": 21
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 516,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 518,
"name": "password",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "network.ts",
"line": 916,
"character": 50
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 517,
"name": "username",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "network.ts",
"line": 916,
"character": 32
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
518,
517
]
}
],
"sources": [
{
"fileName": "network.ts",
"line": 916,
"character": 22
}
]
}
}
},
{
"id": 514,
"name": "bitcoindUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "network.ts",
"line": 914,
"character": 13
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 519,
"name": "importedBefore",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "network.ts",
"line": 918,
"character": 16
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 527,
"name": "broadcastTransaction",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 528,
"name": "broadcastTransaction",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 529,
"name": "transaction",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.broadcastTransaction",
"id": 223
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 927,
"character": 22
}
],
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.broadcastTransaction",
"id": 223
}
},
{
"id": 530,
"name": "getBlockHeight",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 531,
"name": "getBlockHeight",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getBlockHeight",
"id": 226
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 945,
"character": 16
}
],
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getBlockHeight",
"id": 226
}
},
{
"id": 537,
"name": "getNetworkedUTXOs",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 538,
"name": "getNetworkedUTXOs",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 539,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "reference",
"name": "Array",
"typeArguments": [
{
"type": "reference",
"name": "UTXO",
"id": 576
}
]
}
]
},
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getNetworkedUTXOs",
"id": 233
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 1003,
"character": 19
}
],
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getNetworkedUTXOs",
"id": 233
}
},
{
"id": 532,
"name": "getTransactionInfo",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 533,
"name": "getTransactionInfo",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 534,
"name": "txHash",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 535,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 536,
"name": "block_height",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "network.ts",
"line": 962,
"character": 59
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
536
]
}
],
"sources": [
{
"fileName": "network.ts",
"line": 962,
"character": 46
}
]
}
}
]
},
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getTransactionInfo",
"id": 228
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 962,
"character": 20
}
],
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getTransactionInfo",
"id": 228
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
520
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
515,
514,
519
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
527,
530,
537,
532
]
}
],
"sources": [
{
"fileName": "network.ts",
"line": 913,
"character": 24
}
],
"extendedTypes": [
{
"type": "reference",
"name": "BitcoinNetwork",
"id": 222
}
]
},
{
"id": 558,
"name": "BlockchainInfoApi",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"children": [
{
"id": 560,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 561,
"name": "new BlockchainInfoApi",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
"id": 562,
"name": "blockchainInfoUrl",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"https://blockchain.info\""
}
],
"type": {
"type": "reference",
"name": "BlockchainInfoApi",
"id": 558
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 1099,
"character": 25
}
]
},
{
"id": 559,
"name": "utxoProviderUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "network.ts",
"line": 1099,
"character": 17
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 573,
"name": "broadcastTransaction",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 574,
"name": "broadcastTransaction",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 575,
"name": "transaction",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
},
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.broadcastTransaction",
"id": 223
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 1150,
"character": 22
}
],
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.broadcastTransaction",
"id": 223
}
},
{
"id": 563,
"name": "getBlockHeight",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 564,
"name": "getBlockHeight",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getBlockHeight",
"id": 226
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 1106,
"character": 16
}
],
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getBlockHeight",
"id": 226
}
},
{
"id": 565,
"name": "getNetworkedUTXOs",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 566,
"name": "getNetworkedUTXOs",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 567,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "reference",
"name": "Array",
"typeArguments": [
{
"type": "reference",
"name": "UTXO",
"id": 576
}
]
}
]
},
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getNetworkedUTXOs",
"id": 233
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 1112,
"character": 19
}
],
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getNetworkedUTXOs",
"id": 233
}
},
{
"id": 568,
"name": "getTransactionInfo",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 569,
"name": "getTransactionInfo",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 570,
"name": "txHash",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 571,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 572,
"name": "block_height",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "network.ts",
"line": 1138,
"character": 59
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
572
]
}
],
"sources": [
{
"fileName": "network.ts",
"line": 1138,
"character": 46
}
]
}
}
]
},
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getTransactionInfo",
"id": 228
}
}
],
"sources": [
{
"fileName": "network.ts",
"line": 1138,
"character": 20
}
],
"overwrites": {
"type": "reference",
"name": "BitcoinNetwork.getTransactionInfo",
"id": 228
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
560
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
559
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
573,
563,
565,
568
]
}
],
"sources": [
{
"fileName": "network.ts",
"line": 1098,
"character": 30
}
],
"extendedTypes": [
{
"type": "reference",
"name": "BitcoinNetwork",
"id": 222
}
]
},
{
"id": 29,
"name": "BlockstackError",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"children": [
{
"id": 33,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 34,
"name": "new BlockstackError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
"id": 35,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "ErrorType",
"id": 165
}
}
],
"type": {
"type": "reference",
"name": "BlockstackError",
"id": 29
}
}
],
"sources": [
{
"fileName": "errors.ts",
"line": 23,
"character": 20
}
]
},
{
"id": 31,
"name": "code",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "errors.ts",
"line": 21,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 30,
"name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "errors.ts",
"line": 19,
"character": 9
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"name": "Error.message"
}
},
{
"id": 38,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "/Users/Yukan/Desktop/work/blockstack/blockstack.js/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts",
"line": 963,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"name": "Error.name"
}
},
{
"id": 32,
"name": "parameter",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "errors.ts",
"line": 23,
"character": 11
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 39,
"name": "stack",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "/Users/Yukan/Desktop/work/blockstack/blockstack.js/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts",
"line": 965,
"character": 9
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"name": "Error.stack"
},
"inheritedFrom": {
"type": "reference",
"name": "Error.stack"
}
},
{
"id": 40,
"name": "Error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isStatic": true,
"isExported": true
},
"sources": [
{
"fileName": "/Users/Yukan/Desktop/work/blockstack/blockstack.js/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts",
"line": 974,
"character": 19
}
],
"type": {
"type": "reference",
"name": "ErrorConstructor"
}
},
{
"id": 36,
"name": "toString",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 37,
"name": "toString",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "errors.ts",
"line": 32,
"character": 10
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
33
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
31,
30,
38,
32,
39,
40
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
36
]
}
],
"sources": [
{
"fileName": "errors.ts",
"line": 18,
"character": 28
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Error"
}
],
"extendedBy": [
{
"type": "reference",
"name": "InvalidParameterError",
"id": 41
},
{
"type": "reference",
"name": "MissingParameterError",
"id": 53
},
{
"type": "reference",
"name": "RemoteServiceError",
"id": 65
},
{
"type": "reference",
"name": "InvalidDIDError",
"id": 78
},
{
"type": "reference",
"name": "NotEnoughFundsError",
"id": 89
},
{
"type": "reference",
"name": "InvalidAmountError",
"id": 101
},
{
"type": "reference",
"name": "LoginFailedError",
"id": 115
},
{
"type": "reference",
"name": "SignatureVerificationError",
"id": 126
},
{
"type": "reference",
"name": "InvalidStateError",
"id": 137
},
{
"type": "reference",
"name": "NoSessionDataError",
"id": 148
}
]
},
{
"id": 2295,
"name": "BlockstackNamespace",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"children": [
{
"id": 2304,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 2305,
"name": "new BlockstackNamespace",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
"id": 2306,
"name": "namespaceID",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "BlockstackNamespace",
"id": 2295
}
}
],
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 32,
"character": 25
}
]
},
{
"id": 2300,
"name": "base",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 26,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2301,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 28,
"character": 9
}
],
"type": {
"type": "reference",
"name": "Array",
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 2299,
"name": "coeff",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 24,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2298,
"name": "lifetime",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 22,
"character": 10
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2296,
"name": "namespaceID",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 18,
"character": 13
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2303,
"name": "noVowelDiscount",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 32,
"character": 17
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2302,
"name": "nonalphaDiscount",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 30,
"character": 18
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2297,
"name": "version",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 20,
"character": 9
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2307,
"name": "check",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 2308,
"name": "check",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 52,
"character": 7
}
]
},
{
"id": 2318,
"name": "setBase",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 2319,
"name": "setBase",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 2320,
"name": "base",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 88,
"character": 9
}
]
},
{
"id": 2321,
"name": "setBuckets",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 2322,
"name": "setBuckets",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 2323,
"name": "buckets",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "Array",
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 95,
"character": 12
}
]
},
{
"id": 2315,
"name": "setCoeff",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 2316,
"name": "setCoeff",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 2317,
"name": "coeff",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 81,
"character": 10
}
]
},
{
"id": 2312,
"name": "setLifetime",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 2313,
"name": "setLifetime",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 2314,
"name": "lifetime",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 74,
"character": 13
}
]
},
{
"id": 2327,
"name": "setNoVowelDiscount",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 2328,
"name": "setNoVowelDiscount",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 2329,
"name": "noVowelDiscount",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 116,
"character": 20
}
]
},
{
"id": 2324,
"name": "setNonalphaDiscount",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 2325,
"name": "setNonalphaDiscount",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 2326,
"name": "nonalphaDiscount",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 109,
"character": 21
}
]
},
{
"id": 2309,
"name": "setVersion",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 2310,
"name": "setVersion",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 2311,
"name": "version",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "operations/skeletons.ts",
"line": 67,
"character": 12
}
]
},
{
"id": 2330,
"name": "toHexPayload",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 2331,
"name": "toHexPayload",
"kind": 4096,
"kindString": "Call signature",
"flags": {},