Variable sapphireTestnetConst
sapphireTestnet: {
blockExplorers: {
default: {
name: "Oasis Explorer";
url: "https://explorer.oasis.io/testnet/sapphire";
};
};
blockTime?: number;
contracts?: {
ensRegistry?: ChainContract;
ensUniversalResolver?: ChainContract;
erc6492Verifier?: ChainContract;
multicall3?: ChainContract;
[x: string]: | ChainContract
| { [sourceId: number]: ChainContract
| undefined }
| undefined;
};
custom?: Record<string, unknown>;
ensTlds?: readonly string[];
experimental_preconfirmationTime?: number;
extendSchema?: Record<string, unknown>;
fees?: ChainFees;
formatters?: undefined;
id: 23295;
name: "Oasis Sapphire Testnet";
nativeCurrency: {
decimals: 18;
name: "Sapphire Test Rose";
symbol: "TEST";
};
network: "sapphire-testnet";
prepareTransactionRequest?: | (
(
args: PrepareTransactionRequestParameters,
options: {
phase:
| "beforeFillTransaction"
| "beforeFillParameters"
| "afterFillParameters";
},
) => Promise<PrepareTransactionRequestParameters>
)
| [
fn: | (
(
args: PrepareTransactionRequestParameters,
options: {
phase:
| "beforeFillTransaction"
| "beforeFillParameters"
| "afterFillParameters";
},
) => Promise<PrepareTransactionRequestParameters>
)
| undefined,
options: {
runAt: readonly (
| "beforeFillTransaction"
| "beforeFillParameters"
| "afterFillParameters"
)[];
},
];
rpcUrls: {
default: {
http: readonly ["https://testnet.sapphire.oasis.dev"];
webSocket: readonly ["wss://testnet.sapphire.oasis.dev/ws"];
};
};
serializers?: ChainSerializers;
sourceId?: number;
testnet: true;
verifyHash?: (
client: Client,
parameters: VerifyHashActionParameters,
) => Promise<VerifyHashActionReturnType>;
}
Type Declaration
-
blockExplorers: {
default: {
name: "Oasis Explorer";
url: "https://explorer.oasis.io/testnet/sapphire";
};
}
-
OptionalblockTime?: number
-
Optionalcontracts?: {
ensRegistry?: ChainContract;
ensUniversalResolver?: ChainContract;
erc6492Verifier?: ChainContract;
multicall3?: ChainContract;
[x: string]:
| ChainContract
| { [sourceId: number]: ChainContract
| undefined }
| undefined;
}
-
Optionalcustom?: Record<string, unknown>
-
OptionalensTlds?: readonly string[]
-
Optionalexperimental_preconfirmationTime?: number
-
OptionalextendSchema?: Record<string, unknown>
-
Optionalfees?: ChainFees
-
-
id: 23295
-
name: "Oasis Sapphire Testnet"
-
nativeCurrency: { decimals: 18; name: "Sapphire Test Rose"; symbol: "TEST" }
-
Readonlynetwork: "sapphire-testnet"
-
OptionalprepareTransactionRequest?:
| (
(
args: PrepareTransactionRequestParameters,
options: {
phase:
| "beforeFillTransaction"
| "beforeFillParameters"
| "afterFillParameters";
},
) => Promise<PrepareTransactionRequestParameters>
)
| [
fn: | (
(
args: PrepareTransactionRequestParameters,
options: {
phase:
| "beforeFillTransaction"
| "beforeFillParameters"
| "afterFillParameters";
},
) => Promise<PrepareTransactionRequestParameters>
)
| undefined,
options: {
runAt: readonly (
| "beforeFillTransaction"
| "beforeFillParameters"
| "afterFillParameters"
)[];
},
]
-
rpcUrls: {
default: {
http: readonly ["https://testnet.sapphire.oasis.dev"];
webSocket: readonly ["wss://testnet.sapphire.oasis.dev/ws"];
};
}
-
Optionalserializers?: ChainSerializers
-
OptionalsourceId?: number
-
testnet: true
-
OptionalverifyHash?: (
client: Client,
parameters: VerifyHashActionParameters,
) => Promise<VerifyHashActionReturnType>