import { Ens } from "https://deno.land/x/web3@v0.11.1/packages/web3-eth-ens/types/index.d.ts";
Constructors
new
Ens(eth: Eth)Properties
registry: Registry
Methods
deprecated
getAddress(name: string, callback?: (value: any) => void): Promise<string>getAddress(name: string, callback?: (error: Error, address: string) => void): Promise<string>
deprecated
getContent(name: string, callback?: (value: any) => void): Promise<string>getContent(name: string, callback?: (error: Error, contentHash: string) => void): Promise<string>
deprecated
getContenthash(name: string, callback?: (value: ContentHash) => void): Promise<ContentHash>getContenthash(name: string, callback?: (error: Error, contenthash: ContentHash) => void): Promise<ContentHash>
deprecated
getMultihash(name: string, callback?: (value: any) => void): Promise<string>getMultihash(name: string, callback?: (error: Error, multihash: string) => void): Promise<string>
deprecated
getOwner(name: string, callback?: (value: any) => void): Promise<string>getOwner(name: string, callback?: (error: Error, owner: string) => void): Promise<string>
deprecated
getPubkey(name: string, callback?: (value: any) => void): Promise<{ [x: string]: string; }>getPubkey(name: string, callback?: (error: Error, result: { [x: string]: string; }) => void): Promise<{ [x: string]: string; }>
deprecated
getResolver(name: string, callback?: (value: any) => void): Promise<Contract>getResolver(name: string, callback?: (error: Error, contract: Contract) => void): Promise<Contract>
deprecated
getText(name: string,
key: string,
callback?: (value: any) => void,
getText(): Promise<string>
name: string,
key: string,
callback?: (error: Error, ensName: string) => void,
deprecated
getTTL(name: string, callback?: (value: any) => void): Promise<string>getTTL(name: string, callback?: (error: Error, ttl: string) => void): Promise<string>
deprecated
isApprovedForAll(owner: string,
operator: string,
callback?: (value: any) => void,
isApprovedForAll(): Promise<boolean>
owner: string,
operator: string,
callback?: (error: Error, result: boolean) => void,
deprecated
recordExists(name: string, callback?: (value: any) => void): Promise<boolean>recordExists(name: string, callback?: (error: Error, result: boolean) => void): Promise<boolean>
setAddress(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
address: string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setApprovalForAll(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
operator: string,
approved: boolean,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setContent(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
hash: string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setContenthash(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
hash: string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setMultihash(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
hash: string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setOwner(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
address: string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setPubkey(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
x: string,
y: string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setRecord(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
owner: string,
resolver: string,
ttl: number | string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setResolver(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
address: string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setSubnodeOwner(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
label: string,
address: string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setSubnodeRecord(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
label: string,
owner: string,
resolver: string,
ttl: number | string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setText(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
key: string,
value: string,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
setTTL(): PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
name: string,
ttl: string | number,
txConfig?: TransactionConfig,
callback?: (error: Error | TransactionRevertInstructionError, receipt: TransactionReceipt) => void,
deprecated
supportsInterface(name: string,
interfaceId: string,
callback?: (value: any) => void,
supportsInterface(): Promise<boolean>
name: string,
interfaceId: string,
callback?: (error: Error, supported: boolean) => void,