MCPcopy Create free account
hub / github.com/ccxt/ccxt / getEvent

Method getEvent

ts/src/static_dependencies/ethers/interface.ts:675–677  ·  view source on GitHub ↗

* Get the [[EventFragment]] for %%key%%, which may be a topic hash, * event name or event signature that belongs to the ABI. * * If %%values%% is provided, it will use the Typed API to handle * ambiguous cases where multiple events match by name. * * If the %%key%%

(key: string, values?: Array<any | Typed>)

Source from the content-addressed store, hash-verified

673 * the ABI, this will throw.
674 */
675 getEvent(key: string, values?: Array<any | Typed>): null | EventFragment {
676 return this.#getEvent(key, values || null, true)
677 }
678
679 /**
680 * Iterate over all events, calling %%callback%%, sorted by their name.

Callers 4

encodeFilterTopicsMethod · 0.95
encodeEventLogMethod · 0.95
decodeEventLogMethod · 0.95
parseLogMethod · 0.95

Calls 1

#getEventMethod · 0.95

Tested by

no test coverage detected