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

Method getEventName

js/src/static_dependencies/ethers/interface.js:436–440  ·  view source on GitHub ↗

* Get the event name for %%key%%, which may be a topic hash, * event name or event signature that belongs to the ABI.

(key)

Source from the content-addressed store, hash-verified

434 * event name or event signature that belongs to the ABI.
435 */
436 getEventName(key) {
437 const fragment = this.#getEvent(key, null, false);
438 assertArgument(fragment, "no matching event", "key", key);
439 return fragment.name;
440 }
441 /**
442 * Returns true if %%key%% (an event topic hash, event name or
443 * event signature) is present in the ABI.

Callers

nothing calls this directly

Calls 2

#getEventMethod · 0.95
assertArgumentFunction · 0.90

Tested by

no test coverage detected