ontology-ts-sdk
Version:
Comprehensive TypeScript library for the Ontology blockchain.
824 lines • 58.8 kB
HTML
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>"smartcontract/nativevm/ontidContractTxBuilder" | ontology-ts-sdk</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">ontology-ts-sdk</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
<input type="checkbox" id="tsd-filter-externals" checked />
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../globals.html">Globals</a>
</li>
<li>
<a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html">"smartcontract/nativevm/ontidContractTxBuilder"</a>
</li>
</ul>
<h1>External module "smartcontract/nativevm/ontidContractTxBuilder"</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section ">
<h3>Variables</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-variable tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#ontid_contract" class="tsd-kind-icon">ONTID_<wbr>CONTRACT</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Functions</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildaddattributetx" class="tsd-kind-icon">build<wbr>Add<wbr>Attribute<wbr>Tx</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildaddcontrolkeytx" class="tsd-kind-icon">build<wbr>Add<wbr>Control<wbr>Key<wbr>Tx</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildaddrecoverytx" class="tsd-kind-icon">build<wbr>Add<wbr>Recovery<wbr>Tx</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildchangerecoverytx" class="tsd-kind-icon">build<wbr>Change<wbr>Recovery<wbr>Tx</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildgetattributestx" class="tsd-kind-icon">build<wbr>Get<wbr>Attributes<wbr>Tx</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildgetddotx" class="tsd-kind-icon">build<wbr>GetDDOTx</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildgetpublickeystatetx" class="tsd-kind-icon">build<wbr>Get<wbr>Public<wbr>Key<wbr>State<wbr>Tx</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildgetpublickeystx" class="tsd-kind-icon">build<wbr>Get<wbr>Public<wbr>Keys<wbr>Tx</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildregidwithattributes" class="tsd-kind-icon">build<wbr>Reg<wbr>IdWith<wbr>Attributes</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildregisterontidtx" class="tsd-kind-icon">build<wbr>Register<wbr>Ontid<wbr>Tx</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildremoveattributetx" class="tsd-kind-icon">build<wbr>Remove<wbr>Attribute<wbr>Tx</a></li>
<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#buildremovecontrolkeytx" class="tsd-kind-icon">build<wbr>Remove<wbr>Control<wbr>Key<wbr>Tx</a></li>
</ul>
</section>
<section class="tsd-index-section tsd-is-not-exported">
<h3>Object literals</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-object-literal tsd-parent-kind-external-module tsd-is-not-exported"><a href="_smartcontract_nativevm_ontidcontracttxbuilder_.html#ontid_method" class="tsd-kind-icon">ONTID_<wbr>METHOD</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Variables</h2>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module">
<a name="ontid_contract" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> ONTID_<wbr>CONTRACT</h3>
<div class="tsd-signature tsd-kind-icon">ONTID_<wbr>CONTRACT<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"0000000000000000000000000000000000000003"</span><span class="tsd-signature-symbol"> = "0000000000000000000000000000000000000003"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L29">smartcontract/nativevm/ontidContractTxBuilder.ts:29</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Address of ONT ID contract</p>
</div>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Functions</h2>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildaddattributetx" class="tsd-anchor"></a>
<h3>build<wbr>Add<wbr>Attribute<wbr>Tx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Add<wbr>Attribute<wbr>Tx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, attributes<span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_ddo_.ddoattribute.html" class="tsd-signature-type">DDOAttribute</a><span class="tsd-signature-symbol">[]</span>, publicKey<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a>, gasPrice<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, gasLimit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L154">smartcontract/nativevm/ontidContractTxBuilder.ts:154</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Adds attributes to ONT ID.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's ONT ID</p>
</div>
</li>
<li>
<h5>attributes: <a href="../classes/_transaction_ddo_.ddoattribute.html" class="tsd-signature-type">DDOAttribute</a><span class="tsd-signature-symbol">[]</span></h5>
<div class="tsd-comment tsd-typography">
<p>Array of DDOAttributes</p>
</div>
</li>
<li>
<h5>publicKey: <a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a></h5>
<div class="tsd-comment tsd-typography">
<p>User's public key</p>
</div>
</li>
<li>
<h5>gasPrice: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas price</p>
</div>
</li>
<li>
<h5>gasLimit: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas limit</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildaddcontrolkeytx" class="tsd-anchor"></a>
<h3>build<wbr>Add<wbr>Control<wbr>Key<wbr>Tx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Add<wbr>Control<wbr>Key<wbr>Tx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, newPk<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a>, userKey<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a><span class="tsd-signature-symbol"> | </span><a href="../classes/_crypto_address_.address.html" class="tsd-signature-type">Address</a>, gasPrice<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, gasLimit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L272">smartcontract/nativevm/ontidContractTxBuilder.ts:272</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Adds a new public key to ONT ID.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's ONT ID</p>
</div>
</li>
<li>
<h5>newPk: <a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a></h5>
<div class="tsd-comment tsd-typography">
<p>New public key to be added</p>
</div>
</li>
<li>
<h5>userKey: <a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a><span class="tsd-signature-symbol"> | </span><a href="../classes/_crypto_address_.address.html" class="tsd-signature-type">Address</a></h5>
<div class="tsd-comment tsd-typography">
<p>User's public key or address</p>
</div>
</li>
<li>
<h5>gasPrice: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas price</p>
</div>
</li>
<li>
<h5>gasLimit: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas limit</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildaddrecoverytx" class="tsd-anchor"></a>
<h3>build<wbr>Add<wbr>Recovery<wbr>Tx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Add<wbr>Recovery<wbr>Tx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, recovery<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_address_.address.html" class="tsd-signature-type">Address</a>, publicKey<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a>, gasPrice<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, gasLimit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L369">smartcontract/nativevm/ontidContractTxBuilder.ts:369</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Adds recovery address to ONT ID.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's ONT ID</p>
</div>
</li>
<li>
<h5>recovery: <a href="../classes/_crypto_address_.address.html" class="tsd-signature-type">Address</a></h5>
<div class="tsd-comment tsd-typography">
<p>Recovery address, must have not be set</p>
</div>
</li>
<li>
<h5>publicKey: <a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a></h5>
<div class="tsd-comment tsd-typography">
<p>User's public key, must be user's existing public key</p>
</div>
</li>
<li>
<h5>gasPrice: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas price</p>
</div>
</li>
<li>
<h5>gasLimit: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas limit</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildchangerecoverytx" class="tsd-anchor"></a>
<h3>build<wbr>Change<wbr>Recovery<wbr>Tx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Change<wbr>Recovery<wbr>Tx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, newrecovery<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_address_.address.html" class="tsd-signature-type">Address</a>, oldrecovery<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_address_.address.html" class="tsd-signature-type">Address</a>, gasPrice<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, gasLimit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L398">smartcontract/nativevm/ontidContractTxBuilder.ts:398</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Changes recovery address of ONT ID.</p>
</div>
<p>This contract call must be initiated by the original recovery address.</p>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>user's ONT ID</p>
</div>
</li>
<li>
<h5>newrecovery: <a href="../classes/_crypto_address_.address.html" class="tsd-signature-type">Address</a></h5>
<div class="tsd-comment tsd-typography">
<p>New recovery address</p>
</div>
</li>
<li>
<h5>oldrecovery: <a href="../classes/_crypto_address_.address.html" class="tsd-signature-type">Address</a></h5>
<div class="tsd-comment tsd-typography">
<p>Original recoevery address</p>
</div>
</li>
<li>
<h5>gasPrice: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas price</p>
</div>
</li>
<li>
<h5>gasLimit: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas limit</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildgetattributestx" class="tsd-anchor"></a>
<h3>build<wbr>Get<wbr>Attributes<wbr>Tx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Get<wbr>Attributes<wbr>Tx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L227">smartcontract/nativevm/ontidContractTxBuilder.ts:227</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Queries attributes attached to ONT ID.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's ONT ID</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildgetddotx" class="tsd-anchor"></a>
<h3>build<wbr>GetDDOTx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>GetDDOTx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L249">smartcontract/nativevm/ontidContractTxBuilder.ts:249</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Queries Description Object of ONT ID(DDO).</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's ONT ID</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildgetpublickeystatetx" class="tsd-anchor"></a>
<h3>build<wbr>Get<wbr>Public<wbr>Key<wbr>State<wbr>Tx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Get<wbr>Public<wbr>Key<wbr>State<wbr>Tx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, pkId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L424">smartcontract/nativevm/ontidContractTxBuilder.ts:424</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Queries the state of the public key associated with ONT ID.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>user's ONT ID</p>
</div>
</li>
<li>
<h5>pkId: <span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's public key Id</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildgetpublickeystx" class="tsd-anchor"></a>
<h3>build<wbr>Get<wbr>Public<wbr>Keys<wbr>Tx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Get<wbr>Public<wbr>Keys<wbr>Tx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L346">smartcontract/nativevm/ontidContractTxBuilder.ts:346</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Queries public keys attached to ONT ID.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's ONT ID</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildregidwithattributes" class="tsd-anchor"></a>
<h3>build<wbr>Reg<wbr>IdWith<wbr>Attributes</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Reg<wbr>IdWith<wbr>Attributes<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, attributes<span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_ddo_.ddoattribute.html" class="tsd-signature-type">DDOAttribute</a><span class="tsd-signature-symbol">[]</span>, publicKey<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a>, gasPrice<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, gasLimit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L103">smartcontract/nativevm/ontidContractTxBuilder.ts:103</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Registers Identity with initial attributes.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's ONT ID</p>
</div>
</li>
<li>
<h5>attributes: <a href="../classes/_transaction_ddo_.ddoattribute.html" class="tsd-signature-type">DDOAttribute</a><span class="tsd-signature-symbol">[]</span></h5>
<div class="tsd-comment tsd-typography">
<p>Array of DDOAttributes</p>
</div>
</li>
<li>
<h5>publicKey: <a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a></h5>
<div class="tsd-comment tsd-typography">
<p>User's public key</p>
</div>
</li>
<li>
<h5>gasPrice: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas price</p>
</div>
</li>
<li>
<h5>gasLimit: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas limit</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildregisterontidtx" class="tsd-anchor"></a>
<h3>build<wbr>Register<wbr>Ontid<wbr>Tx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Register<wbr>Ontid<wbr>Tx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, publicKey<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a>, gasPrice<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, gasLimit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L59">smartcontract/nativevm/ontidContractTxBuilder.ts:59</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Registers Identity.</p>
</div>
<p>GAS calculation: gasLimit * gasPrice is equal to the amount of gas consumed.</p>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's ONT ID</p>
</div>
</li>
<li>
<h5>publicKey: <a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a></h5>
<div class="tsd-comment tsd-typography">
<p>Public key</p>
</div>
</li>
<li>
<h5>gasPrice: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas price</p>
</div>
</li>
<li>
<h5>gasLimit: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas limit</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildremoveattributetx" class="tsd-anchor"></a>
<h3>build<wbr>Remove<wbr>Attribute<wbr>Tx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Remove<wbr>Attribute<wbr>Tx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, publicKey<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a>, gasPrice<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, gasLimit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L197">smartcontract/nativevm/ontidContractTxBuilder.ts:197</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Removes attribute from ONT ID.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's ONT ID</p>
</div>
</li>
<li>
<h5>key: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Key of attribute to remove</p>
</div>
</li>
<li>
<h5>publicKey: <a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a></h5>
<div class="tsd-comment tsd-typography">
<p>User's public key</p>
</div>
</li>
<li>
<h5>gasPrice: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas price</p>
</div>
</li>
<li>
<h5>gasLimit: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas limit</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
<a name="buildremovecontrolkeytx" class="tsd-anchor"></a>
<h3>build<wbr>Remove<wbr>Control<wbr>Key<wbr>Tx</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
<li class="tsd-signature tsd-kind-icon">build<wbr>Remove<wbr>Control<wbr>Key<wbr>Tx<span class="tsd-signature-symbol">(</span>ontid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, pk2Remove<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a>, sender<span class="tsd-signature-symbol">: </span><a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a><span class="tsd-signature-symbol"> | </span><a href="../classes/_crypto_address_.address.html" class="tsd-signature-type">Address</a>, gasPrice<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, gasLimit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L311">smartcontract/nativevm/ontidContractTxBuilder.ts:311</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Revokes a public key from ONT ID.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>ontid: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>User's ONT ID</p>
</div>
</li>
<li>
<h5>pk2Remove: <a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a></h5>
<div class="tsd-comment tsd-typography">
<p>Public key to be removed</p>
</div>
</li>
<li>
<h5>sender: <a href="../classes/_crypto_publickey_.publickey.html" class="tsd-signature-type">PublicKey</a><span class="tsd-signature-symbol"> | </span><a href="../classes/_crypto_address_.address.html" class="tsd-signature-type">Address</a></h5>
<div class="tsd-comment tsd-typography">
<p>User's public key or address</p>
</div>
</li>
<li>
<h5>gasPrice: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas price</p>
</div>
</li>
<li>
<h5>gasLimit: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>Gas limit</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../classes/_transaction_transaction_.transaction.html" class="tsd-signature-type">Transaction</a></h4>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
<h2>Object literals</h2>
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-external-module tsd-is-not-exported">
<a name="ontid_method" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> ONTID_<wbr>METHOD</h3>
<div class="tsd-signature tsd-kind-icon">ONTID_<wbr>METHOD<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L34">smartcontract/nativevm/ontidContractTxBuilder.ts:34</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Method names in ONT ID contract</p>
</div>
</div>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.addattributes" class="tsd-anchor"></a>
<h3>add<wbr>Attributes</h3>
<div class="tsd-signature tsd-kind-icon">add<wbr>Attributes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "addAttributes"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L37">smartcontract/nativevm/ontidContractTxBuilder.ts:37</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.addkey" class="tsd-anchor"></a>
<h3>add<wbr>Key</h3>
<div class="tsd-signature tsd-kind-icon">add<wbr>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "addKey"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L41">smartcontract/nativevm/ontidContractTxBuilder.ts:41</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.addrecovery" class="tsd-anchor"></a>
<h3>add<wbr>Recovery</h3>
<div class="tsd-signature tsd-kind-icon">add<wbr>Recovery<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "addRecovery"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L44">smartcontract/nativevm/ontidContractTxBuilder.ts:44</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.changerecovery" class="tsd-anchor"></a>
<h3>change<wbr>Recovery</h3>
<div class="tsd-signature tsd-kind-icon">change<wbr>Recovery<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "changeRecovery"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L45">smartcontract/nativevm/ontidContractTxBuilder.ts:45</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.getattributes" class="tsd-anchor"></a>
<h3>get<wbr>Attributes</h3>
<div class="tsd-signature tsd-kind-icon">get<wbr>Attributes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "getAttributes"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L39">smartcontract/nativevm/ontidContractTxBuilder.ts:39</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.getddo" class="tsd-anchor"></a>
<h3>getDDO</h3>
<div class="tsd-signature tsd-kind-icon">getDDO<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "getDDO"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L40">smartcontract/nativevm/ontidContractTxBuilder.ts:40</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.getkeystate" class="tsd-anchor"></a>
<h3>get<wbr>Key<wbr>State</h3>
<div class="tsd-signature tsd-kind-icon">get<wbr>Key<wbr>State<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "getKeyState"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L46">smartcontract/nativevm/ontidContractTxBuilder.ts:46</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.getpublickeys" class="tsd-anchor"></a>
<h3>get<wbr>Public<wbr>Keys</h3>
<div class="tsd-signature tsd-kind-icon">get<wbr>Public<wbr>Keys<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "getPublicKeys"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L43">smartcontract/nativevm/ontidContractTxBuilder.ts:43</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.regidwithattributes" class="tsd-anchor"></a>
<h3>regIDWith<wbr>Attributes</h3>
<div class="tsd-signature tsd-kind-icon">regIDWith<wbr>Attributes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "regIDWithAttributes"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L36">smartcontract/nativevm/ontidContractTxBuilder.ts:36</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.regidwithpublickey" class="tsd-anchor"></a>
<h3>regIDWith<wbr>Public<wbr>Key</h3>
<div class="tsd-signature tsd-kind-icon">regIDWith<wbr>Public<wbr>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "regIDWithPublicKey"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L35">smartcontract/nativevm/ontidContractTxBuilder.ts:35</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.removeattribute" class="tsd-anchor"></a>
<h3>remove<wbr>Attribute</h3>
<div class="tsd-signature tsd-kind-icon">remove<wbr>Attribute<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "removeAttribute"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-ts-sdk/blob/f203ee8/src/smartcontract/nativevm/ontidContractTxBuilder.ts#L38">smartcontract/nativevm/ontidContractTxBuilder.ts:38</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
<a name="ontid_method.removekey" class="tsd-anchor"></a>
<h3>remove<wbr>Key</h3>
<div class="tsd-signature tsd-kind-icon">remove<wbr>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "removeKey"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/MickWang/ontology-t