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

Method getEventName

ts/src/static_dependencies/ethers/interface.ts:647–652  ·  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: string)

Source from the content-addressed store, hash-verified

645 * event name or event signature that belongs to the ABI.
646 */
647 getEventName(key: string): string {
648 const fragment = this.#getEvent(key, null, false);
649 assertArgument(fragment, "no matching event", "key", key);
650
651 return fragment.name;
652 }
653
654 /**
655 * Returns true if %%key%% (an event topic hash, event name or

Callers

nothing calls this directly

Calls 2

#getEventMethod · 0.95
assertArgumentFunction · 0.90

Tested by

no test coverage detected