Purchase & configure domains on the Ethereum Name Service
type Module @imports(
types: [
"Ethers_Module",
"Ethers_Connection",
"Ethers_Eip1559FeesEstimate",
"Ethers_TxOptions",
"Ethers_StaticTxResult",
"Ethers_TxRequest",
"Ethers_AccessItem",
"Ethers_TxReceipt",
"Ethers_Log",
"Ethers_TxResponse",
"UTS46_Module",
"UTS46_Flags",
"UTS46_UnicodeResult",
"SHA3_Module"
]
) {
getResolver(
registryAddress: String!
domain: String!
connection: Ethers_Connection
): String!
getOwner(
domain: String!
registryAddress: String!
connection: Ethers_Connection
): String!
checkIfRecordExists(
domain: String!
registryAddress: String!
connection: Ethers_Connection
): Boolean!
getAddress(
domain: String!
resolverAddress: String!
connection: Ethers_Connection
): String!
getAddressFromDomain(
domain: String!
registryAddress: String!
connection: Ethers_Connection
): String!
getContentHash(
domain: String!
resolverAddress: String!
connection: Ethers_Connection
): String!
getContentHashFromDomain(
domain: String!
registryAddress: String!
connection: Ethers_Connection
): String!
getExpiryTimes(
domain: String!
registrarAddress: String!
connection: Ethers_Connection
): String!
getReverseResolver(
address: String!
registryAddress: String!
connection: Ethers_Connection
): String!
getNameFromReverseResolver(
address: String!
resolverAddress: String!
connection: Ethers_Connection
): String!
getNameFromAddress(
address: String!
registryAddress: String!
connection: Ethers_Connection
): String!
getTextRecord(
domain: String!
resolverAddress: String!
key: String!
connection: Ethers_Connection
): String!
setResolver(
domain: String!
resolverAddress: String!
registryAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
registerDomain(
domain: String!
registrarAddress: String!
owner: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
reverseRegisterDomain(
domain: String!
reverseRegistryAddress: String!
owner: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
setName(
domain: String!
reverseRegistryAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
setAddress(
domain: String!
address: String!
resolverAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
setOwner(
domain: String!
newOwner: String!
registryAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
setSubdomainOwner(
subdomain: String!
owner: String!
registryAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
setRecord(
domain: String!
owner: String!
resolverAddress: String!
ttl: String!
registryAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
setSubdomainRecord(
domain: String!
label: String!
owner: String!
resolverAddress: String!
ttl: String!
registryAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
registerSubdomainsRecursively(
domain: String!
owner: String!
resolverAddress: String!
ttl: String!
registryAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): [RegistrationResult!]!
registerDomainAndSubdomainsRecursively(
domain: String!
owner: String!
resolverAddress: String!
ttl: String!
registrarAddress: String!
registryAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): [RegistrationResult!]!
setContentHash(
domain: String!
cid: String!
resolverAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
setAddressFromDomain(
domain: String!
address: String!
registryAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
setContentHashFromDomain(
domain: String!
cid: String!
registryAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
deployFIFSRegistrar(
registryAddress: String!
tld: String!
connection: Ethers_Connection
txOptions: TxOptions
): String!
registerSubnodeOwnerWithFIFSRegistrar(
label: String!
owner: String!
fifsRegistrarAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
setTextRecord(
domain: String!
resolverAddress: String!
key: String!
value: String!
connection: Ethers_Connection
txOptions: TxOptions
): Ethers_TxResponse!
configureOpenDomain(
tld: String!
owner: String!
registryAddress: String!
resolverAddress: String!
registrarAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): ConfigureOpenDomainResponse!
createSubdomainInOpenDomain(
label: String!
domain: String!
owner: String!
fifsRegistrarAddress: String!
registryAddress: String!
resolverAddress: String!
connection: Ethers_Connection
txOptions: TxOptions
): CreateSubdomainInOpenDomainResponse!
createSubdomainInOpenDomainAndSetContentHash(
label: String!
domain: String!
owner: String!
fifsRegistrarAddress: String!
registryAddress: String!
resolverAddress: String!
cid: String!
connection: Ethers_Connection
txOptions: TxOptions
): CreateSubdomainInOpenDomainAndSetContentHashResponse
}
type ConfigureOpenDomainResponse {
fifsRegistrarAddress: String!
registerOpenDomainTxReceipt: Ethers_TxResponse!
setSubdomainRecordTxReceipt: Ethers_TxResponse!
}
type CreateSubdomainInOpenDomainResponse {
registerSubdomainTxReceipt: Ethers_TxResponse!
setResolverTxReceipt: Ethers_TxResponse!
}
type CreateSubdomainInOpenDomainAndSetContentHashResponse implements CreateSubdomainInOpenDomainResponse {
setContentHashReceiptTx: Ethers_TxResponse!
registerSubdomainTxReceipt: Ethers_TxResponse!
setResolverTxReceipt: Ethers_TxResponse!
}
type RegistrationResult {
name: String!
didRegister: Boolean!
tx: Ethers_TxResponse
}
type TxOptions {
"""
Gas supplied for the transaction
"""
gasLimit: BigInt
"""
The max total fee to pay per unit of gas.
The difference between maxFeePerGas and baseFeePerGas + maxPriorityFeePerGas is “refunded” to the user.
This property is ignored when gasPrice is not null.
"""
maxFeePerGas: BigInt
"""
The gas price paid is baseFeePerGas + maxPriorityFeePerGas.
The difference between maxFeePerGas and baseFeePerGas + maxPriorityFeePerGas is “refunded” to the user.
This property is ignored when gasPrice is not null.
"""
maxPriorityFeePerGas: BigInt
"""
The gas price for legacy transactions.
If this property is not null, a legacy transaction will be sent and maxFeePerGas and maxPriorityFeePerGas will be ignored.
"""
gasPrice: BigInt
"""
Override default nonce
"""
nonce: UInt32
}
### Imported Modules START ###
type Ethers_Module @imported(
uri: "wrap://ipfs/QmW4qga5U9NG7diLLuPfFx2ULXPJ8RGin7kzmY9vhgANwo",
namespace: "Ethers",
nativeType: "Module"
) {
getChainId(
connection: Ethers_Connection
): String!
getSignerAddress(
connection: Ethers_Connection
): String!
getSignerBalance(
blockTag: BigInt
connection: Ethers_Connection
): BigInt!
getGasPrice(
connection: Ethers_Connection
): BigInt!
estimateEip1559Fees(
connection: Ethers_Connection
): Ethers_Eip1559FeesEstimate!
getSignerTransactionCount(
blockTag: BigInt
connection: Ethers_Connection
): BigInt!
checkAddress(
address: String!
connection: Ethers_Connection
): Boolean!
callContractView(
address: String!
method: String!
args: [String!]
connection: Ethers_Connection
): String!
callContractStatic(
address: String!
method: String!
args: [String!]
options: Ethers_TxOptions
connection: Ethers_Connection
): Ethers_StaticTxResult!
getBalance(
address: String!
blockTag: BigInt
connection: Ethers_Connection
): BigInt!
sendRpc(
method: String!
params: [String!]!
connection: Ethers_Connection
): String!
estimateTransactionGas(
tx: Ethers_TxRequest!
connection: Ethers_Connection
): BigInt!
awaitTransaction(
txHash: String!
confirmations: UInt32!
timeout: UInt32
connection: Ethers_Connection
): Ethers_TxReceipt!
sendTransaction(
tx: Ethers_TxRequest!
connection: Ethers_Connection
): Ethers_TxResponse!
sendTransactionAndWait(
tx: Ethers_TxRequest!
connection: Ethers_Connection
): Ethers_TxReceipt!
deployContract(
abi: String!
bytecode: String!
args: [String!]
options: Ethers_TxOptions
connection: Ethers_Connection
): String!
estimateContractCallGas(
address: String!
method: String!
args: [String!]
options: Ethers_TxOptions
connection: Ethers_Connection
): BigInt!
callContractMethod(
address: String!
method: String!
args: [String!]
options: Ethers_TxOptions
connection: Ethers_Connection
): Ethers_TxResponse!
callContractMethodAndWait(
address: String!
method: String!
args: [String!]
options: Ethers_TxOptions
connection: Ethers_Connection
): Ethers_TxReceipt!
signMessage(
message: String!
connection: Ethers_Connection
): String!
signMessageBytes(
bytes: Bytes!
connection: Ethers_Connection
): String!
signTransaction(
tx: Ethers_TxRequest!
connection: Ethers_Connection
): String!
signTypedData(
payload: JSON!
connection: Ethers_Connection
): String!
}
type UTS46_Module @imported(
uri: "wrap://ipfs/QmPL9Njg3rGkpoJyoy8pZ5fTavjvHxNuuuiGRApzyGESZB",
namespace: "UTS46",
nativeType: "Module"
) {
"""
Convert Unicode to ASCII/Punycode following UTS https://www.unicode.org/reports/tr46/
"""
toAscii(
value: String!
flags: UTS46_Flags
): String!
"""
Convert ASCII/Punycode to Unicode following UTS Only use_std3_ascii_rules is used in flags.
https://www.unicode.org/reports/tr46/
"""
toUnicode(
value: String!
flags: UTS46_Flags
): UTS46_UnicodeResult!
}
type SHA3_Module @imported(
uri: "wrap://ipfs/QmThRxFfr7Hj9Mq6WmcGXjkRrgqMG3oD93SLX27tinQWy5",
namespace: "SHA3",
nativeType: "Module"
) {
sha3_512(
message: String!
): String!
sha3_384(
message: String!
): String!
sha3_256(
message: String!
): String!
sha3_224(
message: String!
): String!
keccak_512(
message: String!
): String!
keccak_384(
message: String!
): String!
keccak_256(
message: String!
): String!
keccak_224(
message: String!
): String!
hex_keccak_256(
message: String!
): String!
buffer_keccak_256(
message: Bytes!
): String!
shake_256(
message: String!
outputBits: Int!
): String!
shake_128(
message: String!
outputBits: Int!
): String!
}
### Imported Modules END ###
### Imported Objects START ###
type Ethers_Connection @imported(
uri: "wrap://ipfs/QmW4qga5U9NG7diLLuPfFx2ULXPJ8RGin7kzmY9vhgANwo",
namespace: "Ethers",
nativeType: "Connection"
) {
node: String
networkNameOrChainId: String
}
type Ethers_Eip1559FeesEstimate @imported(
uri: "wrap://ipfs/QmW4qga5U9NG7diLLuPfFx2ULXPJ8RGin7kzmY9vhgANwo",
namespace: "Ethers",
nativeType: "Eip1559FeesEstimate"
) {
maxFeePerGas: BigInt!
maxPriorityFeePerGas: BigInt!
}
type Ethers_TxOptions @imported(
uri: "wrap://ipfs/QmW4qga5U9NG7diLLuPfFx2ULXPJ8RGin7kzmY9vhgANwo",
namespace: "Ethers",
nativeType: "TxOptions"
) {
"""
Gas supplied for the transaction
"""
gasLimit: BigInt
"""
The max total fee to pay per unit of gas.
The difference between maxFeePerGas and baseFeePerGas + maxPriorityFeePerGas is “refunded” to the user.
This property is ignored when gasPrice is not null.
"""
maxFeePerGas: BigInt
"""
The gas price paid is baseFeePerGas + maxPriorityFeePerGas.
The difference between maxFeePerGas and baseFeePerGas + maxPriorityFeePerGas is “refunded” to the user.
This property is ignored when gasPrice is not null.
"""
maxPriorityFeePerGas: BigInt
"""
The gas price for legacy transactions.
If this property is not null, a legacy transaction will be sent and maxFeePerGas and maxPriorityFeePerGas will be ignored.
"""
gasPrice: BigInt
"""
Ether value sent with transaction
"""
value: BigInt
"""
Override default nonce
"""
nonce: UInt32
}
type Ethers_StaticTxResult @imported(
uri: "wrap://ipfs/QmW4qga5U9NG7diLLuPfFx2ULXPJ8RGin7kzmY9vhgANwo",
namespace: "Ethers",
nativeType: "StaticTxResult"
) {
result: String!
error: Boolean!
}
type Ethers_TxRequest @imported(
uri: "wrap://ipfs/QmW4qga5U9NG7diLLuPfFx2ULXPJ8RGin7kzmY9vhgANwo",
namespace: "Ethers",
nativeType: "TxRequest"
) {
to: String
from: String
data: String
type: UInt32
chainId: BigInt
accessList: [Ethers_AccessItem!]
"""
Gas supplied for the transaction
"""
gasLimit: BigInt
"""
The max total fee to pay per unit of gas.
The difference between maxFeePerGas and baseFeePerGas + maxPriorityFeePerGas is “refunded” to the user.
This property is ignored when gasPrice is not null.
"""
maxFeePerGas: BigInt
"""
The gas price paid is baseFeePerGas + maxPriorityFeePerGas.
The difference between maxFeePerGas and baseFeePerGas + maxPriorityFeePerGas is “refunded” to the user.
This property is ignored when gasPrice is not null.
"""
maxPriorityFeePerGas: BigInt
"""
The gas price for legacy transactions.
If this property is not null, a legacy transaction will be sent and maxFeePerGas and maxPriorityFeePerGas will be ignored.
"""
gasPrice: BigInt
"""
Ether value sent with transaction
"""
value: BigInt
"""
Override default nonce
"""
nonce: UInt32
}
type Ethers_AccessItem @imported(
uri: "wrap://ipfs/QmW4qga5U9NG7diLLuPfFx2ULXPJ8RGin7kzmY9vhgANwo",
namespace: "Ethers",
nativeType: "AccessItem"
) {
address: String!
storageKeys: [String!]!
}
type Ethers_TxReceipt @imported(
uri: "wrap://ipfs/QmW4qga5U9NG7diLLuPfFx2ULXPJ8RGin7kzmY9vhgANwo",
namespace: "Ethers",
nativeType: "TxReceipt"
) {
to: String!
from: String!
contractAddress: String!
transactionIndex: UInt32!
root: String
gasUsed: BigInt!
logsBloom: String!
transactionHash: String!
logs: [Ethers_Log!]!
blockNumber: BigInt!
blockHash: String!
confirmations: UInt32!
cumulativeGasUsed: BigInt!
effectiveGasPrice: BigInt!
type: UInt32!
status: UInt32
}
type Ethers_Log @imported(
uri: "wrap://ipfs/QmW4qga5U9NG7diLLuPfFx2ULXPJ8RGin7kzmY9vhgANwo",
namespace: "Ethers",
nativeType: "Log"
) {
blockNumber: BigInt!
blockHash: String!
transactionIndex: UInt32!
removed: Boolean!
address: String!
data: String!
topics: [String!]!
transactionHash: String!
logIndex: UInt32!
}
type Ethers_TxResponse @imported(
uri: "wrap://ipfs/QmW4qga5U9NG7diLLuPfFx2ULXPJ8RGin7kzmY9vhgANwo",
namespace: "Ethers",
nativeType: "TxResponse"
) {
hash: String!
to: String
from: String!
nonce: UInt32!
gasLimit: BigInt!
maxFeePerGas: BigInt
maxPriorityFeePerGas: BigInt
gasPrice: BigInt
value: BigInt!
chainId: BigInt!
blockNumber: BigInt
blockHash: String
timestamp: UInt32
r: String
s: String
v: UInt32
type: UInt32
accessList: [Ethers_AccessItem!]
}
"""
Optional settings for processing and conversion algorithms.
All flags are false by default, providing correct behavior for most use cases.
"""
type UTS46_Flags @imported(
uri: "wrap://ipfs/QmPL9Njg3rGkpoJyoy8pZ5fTavjvHxNuuuiGRApzyGESZB",
namespace: "UTS46",
nativeType: "Flags"
) {
"""
UseSTD3ASCIIRules flag
https://www.unicode.org/reports/tr46/
"""
use_std3_ascii_rules: Boolean
"""
Transitional_Processing or Nontransitional Processing, for transitional handling of Deviation characters
https://www.unicode.org/reports/tr46/
"""
transitional_processing: Boolean
"""
VerifyDnsLength flag, to verify DNS length restrictions
https://www.unicode.org/reports/tr46/
"""
verify_dns_length: Boolean
}
"""
Per the unicode standard, the toUnicode method always returns a string, even if it's processed with errors.
"""
type UTS46_UnicodeResult @imported(
uri: "wrap://ipfs/QmPL9Njg3rGkpoJyoy8pZ5fTavjvHxNuuuiGRApzyGESZB",
namespace: "UTS46",
nativeType: "UnicodeResult"
) {
value: String!
withError: Boolean!
}
### Imported Objects END ###
### Imported Envs START ###
### Imported Envs END ###