<divclass="link title"><ahref="/v5/">Documentation</a></div><divclass="base show link depth-1"><ahref="/v5/getting-started/">Getting Started</a></div><divclass="base show link depth-1"><ahref="/v5/concepts/">Ethereum Basics</a></div><divclass="hide link depth-2"><ahref="/v5/concepts/events/">Events</a></div><divclass="hide link depth-2"><ahref="/v5/concepts/gas/">Gas</a></div><divclass="hide link depth-2"><ahref="/v5/concepts/security/">Security</a></div><divclass="hide link depth-2"><ahref="/v5/concepts/best-practices/">Best Practices</a></div><divclass="base show link depth-1"><ahref="/v5/api-keys/">Provider API Keys</a></div><divclass="base ancestor show link depth-1"><ahref="/v5/api/">Application Programming Interface</a></div><divclass="show link depth-2"><ahref="/v5/api/providers/">Providers</a></div><divclass="hide link depth-3"><ahref="/v5/api/providers/provider/">Provider</a></div><divclass="hide link depth-3"><ahref="/v5/api/providers/jsonrpc-provider/">JsonRpcProvider</a></div><divclass="hide link depth-3"><ahref="/v5/api/providers/api-providers/">API Providers</a></div><divclass="hide link depth-3"><ahref="/v5/api/providers/other/">Other Providers</a></div><divclass="hide link depth-3"><ahref="/v5/api/providers/types/">Types</a></div><divclass="show link depth-2"><ahref="/v5/api/signer/">Signers</a></div><divclass="show link depth-2"><ahref="/v5/api/contract/">Contract Interaction</a></div><divclass="hide link depth-3"><ahref="/v5/api/contract/contract/">Contract</a></div><divclass="hide link depth-3"><ahref="/v5/api/contract/contract-factory/">ContractFactory</a></div><divclass="hide link depth-3"><ahref="/v5/api/contract/example/">Example: ERC-20 Contract</a></div><divclass="ancestor show link depth-2"><ahref="/v5/api/utils/">Utilities</a></div><divclass="ancestor show link depth-3"><ahref="/v5/api/utils/abi/">Application Binary Interface</a></div><divclass="show link depth-4"><ahref="/v5/api/utils/abi/coder/">AbiCoder</a></div><divclass="show link depth-4"><ahref="/v5/api/utils/abi/formats/">ABI Formats</a></div><divclass="show link depth-4"><ahref="/v5/api/utils/abi/fragments/">Fragments</a></div><divclass="myself ancestor ancestor show link depth-4"><ahref="/v5/api/utils/abi/interface/">Interface</a></div><divclass="link show child depth-5"><ahref="#Interface--creating">Creating Instances</a></div><divclass="link show child depth-5"><ahref="#Interface--properties">Properties</a></div><divclass="link show child depth-5"><ahref="#Interface--formatting">Formatting</a></div><divclass="link show child depth-5"><ahref="#Interface--fragments">Fragment Access</a></div><divclass="link show child depth-5"><ahref="#Interface--selectors">Signature and Topic Hashes</a></div><divclass="link show child depth-5"><ahref="#Interface--encoding">Encoding Data</a></div><divclass="link show child depth-5"><ahref="#Interface--decoding">Decoding Data</a></div><divclass="link show child depth-5"><ahref="#Interface--parsing">Parsing</a></div><divclass="link show child depth-5"><ahref="#Interface--types">Types</a></div><divclass="link show child depth-5"><ahref="#Interface--specifying-fragments">Specifying Fragments</a></div><divclass="show link depth-3"><ahref="/v5/api/utils/address/">Addresses</a></div><divclass="show link depth-3"><ahref="/v5/api/utils/bignumber/">BigNumber</a></div><divclass="show link depth-3"><ahref="/v5/api/utils/bytes/">Byte Manipulation</a></div><divclass="show link depth-3"><ahref="/v5/api/utils/constants/">Constants</a></div><divclass="show link depth-3"><ahref="/v5/api/utils/display-logic/">Display Logic and Input</a></div><divclass="show link depth-3"><ahref="/v5/api/utils/encoding/">Encoding Utilities</a></div><divclass="show link depth-3"><ahref="/v5/api/utils/fixednumber/">FixedNumber</a></div><divclass="show link depth-3"><ahref="/v5/api/utils/hashing/">Hashing Algorithms</a></div><divclass="show link depth-3"><ahref="/v5/api/utils/hdnode/">HD Wallet</a></div><divclass="show link depth-3"><ahref="/
<aname="Interface"></a><aname="Interface"></a><h1class="show-anchors"><div>Interface<divclass="anchors"><aclass="self"href="/v5/api/utils/abi/interface/#Interface"></a><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L65">source</a></div></div></h1><p>The <b>Interface</b> Class abstracts the encoding and decoding required to interact with contracts on the Ethereum network.</p>
<p>Many of the standards organically evolved along side the <ahref="https://solidity.readthedocs.io/">Solidity</a> language, which other languages have adopted to remain compatible with existing deployed contracts.</p>
<p>The EVM itself does not understand what the ABI is. It is simply an agreed upon set of formats to encode various types of data which each contract can expect so they can interoperate with each other.</p>
<divclass="property show-anchors"><divclass="signature"><spanclass="modifier">new </span><spanclass="path">ethers</span><spanclass="symbol">.</span><spanclass="path">utils</span><spanclass="symbol">.</span><spanclass="method">Interface</span><spanclass="symbol">(</span><spanclass="param">abi</span><spanclass="symbol">)</span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L79">source</a></div></div><divclass="body"><p>Create a new <b>Interface</b> from a JSON string or object representing <i>abi</i>.</p>
<p>The <i>abi</i> may be a JSON string or the parsed Object (using JSON.parse) which is emitted by the <ahref="https://solidity.readthedocs.io/en/v0.6.0/using-the-compiler.html#output-description">Solidity compiler</a> (or compatible languages).</p>
<p>The <i>abi</i> may also be a <ahref="https://blog.ricmoo.com/human-readable-contract-abis-in-ethers-js-141902f4d917">Human-Readable Abi</a>, which is a format the Ethers created to simplify manually typing the ABI into the source and so that a Contract ABI can also be referenced easily within the same source file.</p>
<divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">fragments</span><spanclass="arrow">⇒</span><spanclass="returns">Array<<ahref="/v5/api/utils/abi/fragments/#Fragment">Fragment</a>></span><divclass="anchors"></div></div><divclass="body"><p>All the <ahref="/v5/api/utils/abi/fragments/#Fragment">Fragments</a> in the interface.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">events</span><spanclass="arrow">⇒</span><spanclass="returns">Array<<ahref="/v5/api/utils/abi/fragments/#EventFragment">EventFragment</a>></span><divclass="anchors"></div></div><divclass="body"><p>All the <ahref="/v5/api/utils/abi/fragments/#EventFragment">Event Fragments</a> in the interface.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">functions</span><spanclass="arrow">⇒</span><spanclass="returns">Array<<ahref="/v5/api/utils/abi/fragments/#FunctionFragment">FunctionFragment</a>></span><divclass="anchors"></div></div><divclass="body"><p>All the <ahref="/v5/api/utils/abi/fragments/#FunctionFragment">Function Fragments</a> in the interface.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">deploy</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/fragments/#ConstructorFragment">ConstructorFragment</a></span><divclass="anchors"></div></div><divclass="body"><p>The <ahref="/v5/api/utils/abi/fragments/#ConstructorFragment">Constructor Fragments</a> for the interface.</p>
<divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">format</span><spanclass="symbol">(</span><spanclass="symbol">[</span><spanclass="param">format</span><spanclass="symbol">]</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns">string | Array< string ></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L145">source</a></div></div><divclass="body"><p>Return the formatted <b>Interface</b>. If the format type is <codeclass="inline">json</code> a single string is returned, otherwise an Array of the human-readable strings is returned.</p>
<divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">getFunction</span><spanclass="symbol">(</span><spanclass="param">fragment</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/fragments/#FunctionFragment">FunctionFragment</a></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L179">source</a></div></div><divclass="body"><p>Returns the <ahref="/v5/api/utils/abi/fragments/#FunctionFragment">FunctionFragment</a> for <i>fragment</i> (see <ahref="/v5/api/utils/abi/interface/#Interface--specifying-fragments">Specifying Fragments</a>).</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">getEvent</span><spanclass="symbol">(</span><spanclass="param">fragment</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/fragments/#EventFragment">EventFragment</a></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L211">source</a></div></div><divclass="body"><p>Returns the <ahref="/v5/api/utils/abi/fragments/#EventFragment">EventFragment</a> for <i>fragment</i> (see <ahref="/v5/api/utils/abi/interface/#Interface--specifying-fragments">Specifying Fragments</a>).</p>
</div></div><aname="Interface--selectors"></a><aname="Interface--Interface--selectors"></a><h2class="show-anchors"><div>Signature and Topic Hashes<divclass="anchors"><aclass="self"href="/v5/api/utils/abi/interface/#Interface--selectors"></a></div></div></h2>
<divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">getSighash</span><spanclass="symbol">(</span><spanclass="param">fragment</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns">string<<ahref="/v5/api/utils/bytes/#DataHexString">DataHexString</a>< 4 >></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L244">source</a></div></div><divclass="body"><p>Return the sighash (or Function Selector) for <i>fragment</i> (see <ahref="/v5/api/utils/abi/interface/#Interface--specifying-fragments">Specifying Fragments</a>).</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">getEventTopic</span><spanclass="symbol">(</span><spanclass="param">fragment</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns">string<<ahref="/v5/api/utils/bytes/#DataHexString">DataHexString</a>< 32 >></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L253">source</a></div></div><divclass="body"><p>Return the topic hash for <i>fragment</i> (see <ahref="/v5/api/utils/abi/interface/#Interface--specifying-fragments">Specifying Fragments</a>).</p>
<divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">encodeDeploy</span><spanclass="symbol">(</span><spanclass="symbol">[</span><spanclass="param">values</span><spanclass="symbol">]</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns">string<<ahref="/v5/api/utils/bytes/#DataHexString">DataHexString</a>></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L270">source</a></div></div><divclass="body"><p>Return the encoded deployment data, which can be concatenated to the deployment bytecode of a contract to pass <i>values</i> into the contract constructor.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">encodeFilterTopics</span><spanclass="symbol">(</span><spanclass="param">fragment</span><spanclass="symbol">[</span><spanclass="symbol">,</span><spanclass="param">values</span><spanclass="symbol">]</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns">Array< topic | Array< topic >></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L344">source</a></div></div><divclass="body"><p>Returns the encoded topic filter, which can be passed to getLogs for <i>fragment</i> (see <ahref="/v5/api/utils/abi/interface/#Interface--specifying-fragments">Specifying Fragments</a>) for the given <i>values</i>.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">encodeFunctionData</span><spanclass="symbol">(</span><spanclass="param">fragment</span><spanclass="symbol">[</span><spanclass="symbol">,</span><spanclass="param">values</span><spanclass="symbol">]</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns">string<<ahref="/v5/api/utils/bytes/#DataHexString">DataHexString</a>></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L290">source</a></div></div><divclass="body"><p>Returns the encoded data, which can be used as the data for a transaction for <i>fragment</i> (see <ahref="/v5/api/utils/abi/interface/#Interface--specifying-fragments">Specifying Fragments</a>) for the given <i>values</i>.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">encodeFunctionResult</span><spanclass="symbol">(</span><spanclass="param">fragment</span><spanclass="symbol">[</span><spanclass="symbol">,</span><spanclass="param">values</span><spanclass="symbol">]</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns">string<<ahref="/v5/api/utils/bytes/#DataHexString">DataHexString</a>></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L335">source</a></div></div><divclass="body"><p>Returns the encoded result, which would normally be the response from a call for <i>fragment</i> (see <ahref="/v5/api/utils/abi/interface/#Interface--specifying-fragments">Specifying Fragments</a>) for the given <i>values</i>.</p>
<divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">decodeEventLog</span><spanclass="symbol">(</span><spanclass="param">fragment</span><spanclass="symbol">,</span><spanclass="param">data</span><spanclass="symbol">[</span><spanclass="symbol">,</span><spanclass="param">topics</span><spanclass="symbol">]</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/interface/#Result">Result</a></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L445">source</a></div></div><divclass="body"><p>Returns the decoded event values from an event log for <i>fragment</i> (see <ahref="/v5/api/utils/abi/interface/#Interface--specifying-fragments">Specifying Fragments</a>) for the given <i>data</i> with the optional <i>topics</i>.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">decodeFunctionData</span><spanclass="symbol">(</span><spanclass="param">fragment</span><spanclass="symbol">,</span><spanclass="param">data</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/interface/#Result">Result</a></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L275">source</a></div></div><divclass="body"><p>Returns the decoded values from transaction data for <i>fragment</i> (see <ahref="/v5/api/utils/abi/interface/#Interface--specifying-fragments">Specifying Fragments</a>) for the given <i>data</i>.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">decodeFunctionResult</span><spanclass="symbol">(</span><spanclass="param">fragment</span><spanclass="symbol">,</span><spanclass="param">data</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/interface/#Result">Result</a></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L302">source</a></div></div><divclass="body"><p>Returns the decoded values from the result of a call for <i>fragment</i> (see <ahref="/v5/api/utils/abi/interface/#Interface--specifying-fragments">Specifying Fragments</a>) for the given <i>data</i>.</p>
</div></div><aname="Interface--parsing"></a><aname="Interface--Interface--parsing"></a><h2class="show-anchors"><div>Parsing<divclass="anchors"><aclass="self"href="/v5/api/utils/abi/interface/#Interface--parsing"></a></div></div></h2><p>The functions are generally the most useful for most developers. They will automatically search the ABI for a matching Event or Function and decode the components as a fully specified description.</p>
<divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">parseLog</span><spanclass="symbol">(</span><spanclass="param">log</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/interface/#LogDescription">LogDescription</a></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L552">source</a></div></div><divclass="body"><p>Search the event that matches the <i>log</i> topic hash and parse the values the log represents.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">interface</span><spanclass="symbol">.</span><spanclass="method">parseTransaction</span><spanclass="symbol">(</span><spanclass="param">transaction</span><spanclass="symbol">)</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/interface/#TransactionDescription">TransactionDescription</a></span><divclass="anchors"><aclass="source"href="https://github.com/ethers-io/ethers.js/blob/master/packages/abi/src.ts/interface.ts#L535">source</a></div></div><divclass="body"><p>Search for the function that matches the <i>transaction</i> data sighash and parse the transaction properties.</p>
<aname="Result"></a><aname="Interface--Interface--types--Result"></a><h3class="show-anchors"><div>Result<spanclass="inherits"> inherits Array<any></span><divclass="anchors"><aclass="self"href="/v5/api/utils/abi/interface/#Result"></a></div></div></h3><p>A <b>Result</b> is an array, so each value can be accessed as a positional argument.</p>
<p>Additionally, if values are named, the identical object as its positional value can be accessed by its name.</p>
<p>The name <codeclass="inline">length</code> is however reserved as it is part of the Array, so any named value for this key is renamed to <codeclass="inline">_length</code>. If there is a name collision, only the first is available by its key.</p>
<divclass="property show-anchors"><divclass="signature"><spanclass="path">logDescription</span><spanclass="symbol">.</span><spanclass="method">args</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/interface/#Result">Result</a></span><divclass="anchors"></div></div><divclass="body"><p>The values of the input parameters of the event.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">logDescription</span><spanclass="symbol">.</span><spanclass="method">eventFragment</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/fragments/#EventFragment">EventFragment</a></span><divclass="anchors"></div></div><divclass="body"><p>The <ahref="/v5/api/utils/abi/fragments/#EventFragment">EventFragment</a> which matches the topic in the Log.</p>
<divclass="property show-anchors"><divclass="signature"><spanclass="path">transactionDescription</span><spanclass="symbol">.</span><spanclass="method">args</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/interface/#Result">Result</a></span><divclass="anchors"></div></div><divclass="body"><p>The decoded values from the transaction data which were passed as the input parameters.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">transactionDescription</span><spanclass="symbol">.</span><spanclass="method">functionFragment</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/abi/fragments/#FunctionFragment">FunctionFragment</a></span><divclass="anchors"></div></div><divclass="body"><p>The <ahref="/v5/api/utils/abi/fragments/#FunctionFragment">FunctionFragment</a> which matches the sighash in the transaction data.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">transactionDescription</span><spanclass="symbol">.</span><spanclass="method">name</span><spanclass="arrow">⇒</span><spanclass="returns">string</span><divclass="anchors"></div></div><divclass="body"><p>The name of the function. (e.g. <codeclass="inline">transfer</code>)</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">transactionDescription</span><spanclass="symbol">.</span><spanclass="method">sighash</span><spanclass="arrow">⇒</span><spanclass="returns">string</span><divclass="anchors"></div></div><divclass="body"><p>The sighash (or function selector) that matched the transaction data.</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">transactionDescription</span><spanclass="symbol">.</span><spanclass="method">signature</span><spanclass="arrow">⇒</span><spanclass="returns">string</span><divclass="anchors"></div></div><divclass="body"><p>The signature of the function. (e.g. <codeclass="inline">transfer(address,uint256)</code>)</p>
</div></div><divclass="property show-anchors"><divclass="signature"><spanclass="path">transactionDescription</span><spanclass="symbol">.</span><spanclass="method">value</span><spanclass="arrow">⇒</span><spanclass="returns"><ahref="/v5/api/utils/bignumber/">BigNumber</a></span><divclass="anchors"></div></div><divclass="body"><p>The value from the transaction.</p>
</div></div><aname="Interface--specifying-fragments"></a><aname="Interface--Interface--specifying-fragments"></a><h2class="show-anchors"><div>Specifying Fragments<divclass="anchors"><aclass="self"href="/v5/api/utils/abi/interface/#Interface--specifying-fragments"></a></div></div></h2><p>When specifying a fragment to any of the functions in an <b>Interface</b>, any of the following may be used:</p>
<p><ul><li>The <b>name</b> of the event or function, if it is unique and non-ambiguous within the ABI (e.g. <codeclass="inline">transfer</code>) </li><li>The <b>signature</b> of the event or function. The signature is normalized, so, for example, <codeclass="inline">uint</code> and <codeclass="inline">uint256</code> are equivalent (e.g. <codeclass="inline">transfer(address, uint)</code>) </li><li>The <b>sighash</b> or <b>topichash</b> of the function. The sighash is often referred to the function selector in Solidity (e.g. <codeclass="inline">0xa9059cbb</code>) </li><li>A <ahref="/v5/api/utils/abi/fragments/#Fragment">Fragment</a></li></ul></p>
<divclass="copyright">The content of this site is licensed under the <ahref="https://choosealicense.com/licenses/cc-by-4.0/">Creative Commons License</a>. Generated on February 8, 2021, 3:25pm.</div>