16 lines
11 KiB
HTML
16 lines
11 KiB
HTML
|
<html><head><title>Signer</title><link rel="stylesheet" type="text/css" href="/static/style.css"></head><body><div class="sidebar"><div class="header"><div class="logo"><a href="/"><div class="image"></div><div class="name">ethers.js</div><div class="version">v5.0</div></a></div></div><div class="toc"><div><div class="link title"><a href="/">Documentation</a></div><div class="base show link depth-1"><a href="/getting-started/">Getting Started</a></div><div class="hide link depth-2"><a href="/getting-started/#installing">Installing</a></div><div class="hide link depth-2"><a href="/getting-started/#importing">Importing</a></div><div class="base show link depth-1"><a href="/concepts/">Concepts</a></div><div class="hide link depth-2"><a href="/concepts/events/">Events</a></div><div class="hide link depth-2"><a href="/concepts/gas/">Gas</a></div><div class="hide link depth-3"><a href="/concepts/gas/#gas-price">Gas Price</a></div><div class="hide link depth-3"><a href="/concepts/gas/#gas-limit">Gas Limit</a></div><div class="base ancestor show link depth-1"><a href="/api/">Application Programming Interface</a></div><div class="show link depth-2"><a href="/api/contract/">Contracts</a></div><div class="hide link depth-3"><a href="/api/contract/#buckets">Buckets</a></div><div class="myself ancestor ancestor show link depth-2"><a href="/api/signer/">Signers</a></div><div class="child link depth-3"><a href="/api/signer/#signer">Signer</a></div><div class="child link depth-3"><a href="/api/signer/#wallet-inherits-signer">Wallet inherits Signer</a></div><div class="show link depth-2"><a href="/api/providers/">Providers</a></div><div class="hide link depth-3"><a href="/api/providers/provider/">Provider</a></div><div class="hide link depth-4"><a href="/api/providers/provider/#accounts-methods">Accounts Methods</a></div><div class="hide link depth-4"><a href="/api/providers/provider/#blocks-methods">Blocks Methods</a></div><div class="hide link depth-4"><a href="/api/providers/provider/#ethereum-naming-service-(ens)-methods">Ethereum Naming Service (ENS) Methods</a></div><div class="hide link depth-4"><a href="/api/providers/provider/#logs-methods">Logs Methods</a></div><div class="hide link depth-4"><a href="/api/providers/provider/#network-status-methods">Network Status Methods</a></div><div class="hide link depth-4"><a href="/api/providers/provider/#transactions-methods">Transactions Methods</a></div><div class="hide link depth-4"><a href="/api/providers/provider/#event-emitter-methods">Event Emitter Methods</a></div><div class="hide link depth-4"><a href="/api/providers/provider/#inspection-methods">Inspection Methods</a></div><div class="hide link depth-3"><a href="/api/providers/jsonrpc-provider/">JSON-RPC Provider</a></div><div class="hide link depth-4"><a href="/api/providers/jsonrpc-provider/#jsonrpcprovider">JsonRpcProvider</a></div><div class="hide link depth-4"><a href="/api/providers/jsonrpc-provider/#jsonrpcsigner">JsonRpcSigner</a></div><div class="hide link depth-4"><a href="/api/providers/jsonrpc-provider/#jsonrpcuncheckedsigner">JsonRpcUncheckedSigner</a></div><div class="hide link depth-3"><a href="/api/providers/api-providers/">API Providers</a></div><div class="hide link depth-4"><a href="/api/providers/api-providers/#etherscanprovider">EtherscanProvider</a></div><div class="hide link depth-4"><a href="/api/providers/api-providers/#infuraprovider">InfuraProvider</a></div><div class="hide link depth-4"><a href="/api/providers/api-providers/#nodesmithprovider">NodesmithProvider</a></div><div class="hide link depth-4"><a href="/api/providers/api-providers/#alchemyprovider">AlchemyProvider</a></div><div class="hide link depth-3"><a href="/api/providers/other/">Other Providers</a></div><div class="hide link depth-4"><a href="/api/providers/other/#fallbackprovider">FallbackProvider</a></div><div class="hide link depth-4"><a href="/api/providers/other/#ipcprovider">IpcProvider</a></div><div class="hide link depth-3"><a href="/api/providers/types/">Types</a></div><div class="hide link depth-4"><a href="/api/providers/types
|
||
|
<a name="signers"></a><h1>Signers</h1>
|
||
|
<p>Tra la la...</p>
|
||
|
<a name="signer"></a><h2>Signer</h2>
|
||
|
|
||
|
<div class="property"><div class="signature"><span class="path">signer</span> . <span class="method">connect</span> ( <span class="param">provider</span> ) <span class="arrow">⇒</span> <span class="returns">Signer</span></div><div class="body"><p>TODO</p></div></div>
|
||
|
<a name="blockchain-methods"></a><h3>Blockchain Methods</h3>
|
||
|
|
||
|
<div class="property"><div class="signature"><span class="path">signer</span> . <span class="method">getBalance</span> ( [ <span class="param">blockTag</span> = <span class="default-value">"</span><span class="param">latest</span>" ] ) <span class="arrow">⇒</span> <span class="returns">Promise(BigNumber)</span></div><div class="body"><p>TODO</p></div></div>
|
||
|
<div class="property"><div class="signature"><span class="path">signer</span> . <span class="method">getTransactionCount</span> ( [ <span class="param">blockTag</span> = <span class="default-value">"</span><span class="param">latest</span>" ] ) <span class="arrow">⇒</span> <span class="returns">Promise(number)</span></div><div class="body"><p>TODO</p></div></div>
|
||
|
<a name="wallet-inherits-signer"></a><h2>Wallet inherits Signer</h2>
|
||
|
<p>Wallet is...</p>
|
||
|
<a name="creating-an-instance"></a><h3>Creating an Instance</h3>
|
||
|
|
||
|
<div class="property"><div class="signature"><span class="modifier">new </span><span class="path">ethers</span> . <span class="method">Wallet</span> ( <span class="param">privateKey</span> [ , <span class="param">provider</span> ] ) </div><div class="body"><p>TODO</p></div></div>
|
||
|
<div class="property"><div class="signature"><span class="path">Wallet</span> . <span class="method">fromEncryptedJson</span> ( <span class="param">json</span> , <span class="param">password</span> ) </div><div class="body"><p>TODO</p></div></div><div class="footer"><div class="nav previous"><a href="/api/contract/"><span class="arrow">←</span>Contracts</a></div> <div class="nav next"><a href="/api/providers/">Providers<span class="arrow">→</span></a></div></div><div class="copyright">The content of this site is licensed under the <a href="https://choosealicense.com/licenses/cc-by-4.0/">Creative Commons Attribution 4.0 International License</a>.</div></div><script src="/script.js" type="text/javascript"></script></body></html><!-- ContentHash:5c641b4524298c149e8d79a053958bfb86d940f7cad156e91f7511deedda9cce -->
|