BASE: {
blockchainId: "BASE";
blockchainVm: "EVM";
blockExplorers: {
default: {
apiUrl: "https://api.basescan.org/api";
name: "Basescan";
url: "https://basescan.org";
};
};
blockTime: 2000;
contracts: {
disputeGameFactory: {
"1": { address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e" };
};
EURC: {
abi: readonly [
{
inputs: readonly [
{ indexed: true; name: "owner"; type: "address" },
{ indexed: true; name: "spender"; type: "address" },
{ indexed: false; name: "value"; type: "uint256" },
];
name: "Approval";
type: "event";
},
{
inputs: readonly [
{ indexed: true; name: "from"; type: "address" },
{ indexed: true; name: "to"; type: "address" },
{ indexed: false; name: "value"; type: "uint256" },
];
name: "Transfer";
type: "event";
},
{
inputs: readonly [
{ name: "owner"; type: "address" },
{ name: "spender"; type: "address" },
];
name: "allowance";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ name: "spender"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "approve";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [{ name: "account"; type: "address" }];
name: "balanceOf";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "decimals";
outputs: readonly [{ type: "uint8" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "name";
outputs: readonly [{ type: "string" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "symbol";
outputs: readonly [{ type: "string" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "totalSupply";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ name: "recipient"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "transfer";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ name: "sender"; type: "address" },
{ name: "recipient"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "transferFrom";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
];
address: "0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42";
read: { decimals: () => 6 };
};
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" };
l1Block: { address: "0x4200000000000000000000000000000000000015" };
l1StandardBridge: {
"1": {
address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
blockCreated: 17482143;
};
};
l2CrossDomainMessenger: {
address: "0x4200000000000000000000000000000000000007";
};
l2Erc721Bridge: { address: "0x4200000000000000000000000000000000000014" };
l2OutputOracle: {
"1": { address: "0x56315b90c40730925ec5485cf004d835058518A0" };
};
l2StandardBridge: {
address: "0x4200000000000000000000000000000000000010";
};
l2ToL1MessagePasser: {
address: "0x4200000000000000000000000000000000000016";
};
multicall3: {
address: "0xca11bde05977b3631167028862be2a173976ca11";
blockCreated: 5022;
};
portal: {
"1": {
address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
blockCreated: 17482143;
};
};
USDC: {
abi: readonly [
{
inputs: readonly [
{ indexed: true; name: "owner"; type: "address" },
{ indexed: true; name: "spender"; type: "address" },
{ indexed: false; name: "value"; type: "uint256" },
];
name: "Approval";
type: "event";
},
{
inputs: readonly [
{ indexed: true; name: "from"; type: "address" },
{ indexed: true; name: "to"; type: "address" },
{ indexed: false; name: "value"; type: "uint256" },
];
name: "Transfer";
type: "event";
},
{
inputs: readonly [
{ name: "owner"; type: "address" },
{ name: "spender"; type: "address" },
];
name: "allowance";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ name: "spender"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "approve";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [{ name: "account"; type: "address" }];
name: "balanceOf";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "decimals";
outputs: readonly [{ type: "uint8" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "name";
outputs: readonly [{ type: "string" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "symbol";
outputs: readonly [{ type: "string" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "totalSupply";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ name: "recipient"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "transfer";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ name: "sender"; type: "address" },
{ name: "recipient"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "transferFrom";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
];
address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
read: { decimals: () => 6 };
};
};
custom?: Record<string, unknown>;
ensTlds?: readonly string[];
fees?: ChainFees<undefined>;
formatters: {
block: {
exclude: undefined | [];
format: (
args: OpStackRpcBlock<BlockTag, boolean>,
) => {
baseFeePerGas: null | bigint;
blobGasUsed: bigint;
difficulty: bigint;
excessBlobGas: bigint;
extraData: `0x${string}`;
gasLimit: bigint;
gasUsed: bigint;
hash: null | `0x${string}`;
logsBloom: null | `0x${string}`;
miner: `0x${string}`;
mixHash: `0x${string}`;
nonce: null | `0x${string}`;
number: null | bigint;
parentBeaconBlockRoot?: `0x${string}`;
parentHash: `0x${string}`;
receiptsRoot: `0x${string}`;
sealFields: `0x${string}`[];
sha3Uncles: `0x${string}`;
size: bigint;
stateRoot: `0x${string}`;
timestamp: bigint;
totalDifficulty: null | bigint;
transactions: `0x${string}`[] | OpStackTransaction<boolean>[];
transactionsRoot: `0x${string}`;
uncles: `0x${string}`[];
withdrawals?: Withdrawal[];
withdrawalsRoot?: `0x${string}`;
};
type: "block";
};
transaction: {
exclude: undefined
| [];
format: (
args: OpStackRpcTransaction<boolean>,
) =>
| {
blockHash: null
| `0x${string}`;
blockNumber: null | bigint;
from: `0x${string}`;
gas: bigint;
gasPrice?: undefined;
hash: `0x${string}`;
input: `0x${string}`;
isSystemTx?: boolean;
maxFeePerBlobGas?: undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
mint?: bigint;
nonce: number;
r: `0x${string}`;
s: `0x${string}`;
sourceHash: `0x${string}`;
to: null | `0x${string}`;
transactionIndex: null | number;
type: "deposit";
typeHex: null | `0x${string}`;
v: bigint;
value: bigint;
yParity: number;
}
| {
accessList?: undefined;
authorizationList?: undefined;
blobVersionedHashes?: undefined;
blockHash: null
| `0x${string}`;
blockNumber: null | bigint;
chainId?: number;
from: `0x${string}`;
gas: bigint;
gasPrice: bigint;
hash: `0x${string}`;
input: `0x${string}`;
isSystemTx?: undefined;
maxFeePerBlobGas?: undefined;
maxFeePerGas?: undefined;
maxPriorityFeePerGas?: undefined;
mint?: undefined;
nonce: number;
r: `0x${string}`;
s: `0x${string}`;
sourceHash?: undefined;
to: null | `0x${string}`;
transactionIndex: null | number;
type: "legacy";
typeHex: null | `0x${string}`;
v: bigint;
value: bigint;
yParity?: undefined;
}
| {
accessList: AccessList;
authorizationList?: undefined;
blobVersionedHashes?: undefined;
blockHash: null
| `0x${string}`;
blockNumber: null | bigint;
chainId: number;
from: `0x${string}`;
gas: bigint;
gasPrice: bigint;
hash: `0x${string}`;
input: `0x${string}`;
isSystemTx?: undefined;
maxFeePerBlobGas?: undefined;
maxFeePerGas?: undefined;
maxPriorityFeePerGas?: undefined;
mint?: undefined;
nonce: number;
r: `0x${string}`;
s: `0x${string}`;
sourceHash?: undefined;
to: null | `0x${string}`;
transactionIndex: null | number;
type: "eip2930";
typeHex: null | `0x${string}`;
v: bigint;
value: bigint;
yParity: number;
}
| {
accessList: AccessList;
authorizationList?: undefined;
blobVersionedHashes?: undefined;
blockHash: null
| `0x${string}`;
blockNumber: null | bigint;
chainId: number;
from: `0x${string}`;
gas: bigint;
gasPrice?: undefined;
hash: `0x${string}`;
input: `0x${string}`;
isSystemTx?: undefined;
maxFeePerBlobGas?: undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
mint?: undefined;
nonce: number;
r: `0x${string}`;
s: `0x${string}`;
sourceHash?: undefined;
to: null | `0x${string}`;
transactionIndex: null | number;
type: "eip1559";
typeHex: null | `0x${string}`;
v: bigint;
value: bigint;
yParity: number;
}
| {
accessList: AccessList;
authorizationList?: undefined;
blobVersionedHashes: readonly `0x${string}`[];
blockHash: null
| `0x${string}`;
blockNumber: null | bigint;
chainId: number;
from: `0x${string}`;
gas: bigint;
gasPrice?: undefined;
hash: `0x${string}`;
input: `0x${string}`;
isSystemTx?: undefined;
maxFeePerBlobGas: bigint;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
mint?: undefined;
nonce: number;
r: `0x${string}`;
s: `0x${string}`;
sourceHash?: undefined;
to: null | `0x${string}`;
transactionIndex: null | number;
type: "eip4844";
typeHex: null | `0x${string}`;
v: bigint;
value: bigint;
yParity: number;
}
| {
accessList: AccessList;
authorizationList: SignedAuthorizationList<number>;
blobVersionedHashes?: undefined;
blockHash: null | `0x${string}`;
blockNumber: null | bigint;
chainId: number;
from: `0x${string}`;
gas: bigint;
gasPrice?: undefined;
hash: `0x${string}`;
input: `0x${string}`;
isSystemTx?: undefined;
maxFeePerBlobGas?: undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
mint?: undefined;
nonce: number;
r: `0x${string}`;
s: `0x${string}`;
sourceHash?: undefined;
to: null | `0x${string}`;
transactionIndex: null | number;
type: "eip7702";
typeHex: null | `0x${string}`;
v: bigint;
value: bigint;
yParity: number;
};
type: "transaction";
};
transactionReceipt: {
exclude: undefined
| [];
format: (
args: OpStackRpcTransactionReceipt,
) => {
blobGasPrice?: bigint;
blobGasUsed?: bigint;
blockHash: `0x${string}`;
blockNumber: bigint;
contractAddress: undefined | null | `0x${string}`;
cumulativeGasUsed: bigint;
effectiveGasPrice: bigint;
from: `0x${string}`;
gasUsed: bigint;
l1Fee: null | bigint;
l1FeeScalar: null | number;
l1GasPrice: null | bigint;
l1GasUsed: null | bigint;
logs: Log<
bigint,
number,
false,
undefined,
undefined,
undefined,
undefined,
>[];
logsBloom: `0x${string}`;
root?: `0x${string}`;
status: "success"
| "reverted";
to: null | `0x${string}`;
transactionHash: `0x${string}`;
transactionIndex: number;
type: TransactionType;
};
type: "transactionReceipt";
};
};
id: 8453;
name: "Base";
nativeCurrency: { decimals: 18; name: "Ether"; symbol: "ETH" };
rpcUrls: { default: { http: readonly ["https://mainnet.base.org"] } };
serializers: {
transaction: (
transaction: OpStackTransactionSerializable,
signature?: Signature,
) =>
| `0x02${string}`
| `0x01${string}`
| `0x03${string}`
| `0x04${string}`
| TransactionSerializedLegacy
| `0x7e${string}`;
};
sourceId: 1;
testnet?: boolean;
} = ...
Type declaration
Readonly
blockchainId: "BASE"
Readonly
blockchainVm: "EVM"
blockExplorers: {
default: {
apiUrl: "https://api.basescan.org/api";
name: "Basescan";
url: "https://basescan.org";
};
}
blockTime: 2000
contracts: {
disputeGameFactory: {
"1": { address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e" };
};
EURC: {
abi: readonly [
{
inputs: readonly [
{ indexed: true; name: "owner"; type: "address" },
{ indexed: true; name: "spender"; type: "address" },
{ indexed: false; name: "value"; type: "uint256" },
];
name: "Approval";
type: "event";
},
{
inputs: readonly [
{ indexed: true; name: "from"; type: "address" },
{ indexed: true; name: "to"; type: "address" },
{ indexed: false; name: "value"; type: "uint256" },
];
name: "Transfer";
type: "event";
},
{
inputs: readonly [
{ name: "owner"; type: "address" },
{ name: "spender"; type: "address" },
];
name: "allowance";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ name: "spender"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "approve";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [{ name: "account"; type: "address" }];
name: "balanceOf";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "decimals";
outputs: readonly [{ type: "uint8" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "name";
outputs: readonly [{ type: "string" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "symbol";
outputs: readonly [{ type: "string" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "totalSupply";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ name: "recipient"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "transfer";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ name: "sender"; type: "address" },
{ name: "recipient"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "transferFrom";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
];
address: "0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42";
read: { decimals: () => 6 };
};
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" };
l1Block: { address: "0x4200000000000000000000000000000000000015" };
l1StandardBridge: {
"1": {
address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
blockCreated: 17482143;
};
};
l2CrossDomainMessenger: {
address: "0x4200000000000000000000000000000000000007";
};
l2Erc721Bridge: { address: "0x4200000000000000000000000000000000000014" };
l2OutputOracle: {
"1": { address: "0x56315b90c40730925ec5485cf004d835058518A0" };
};
l2StandardBridge: { address: "0x4200000000000000000000000000000000000010" };
l2ToL1MessagePasser: {
address: "0x4200000000000000000000000000000000000016";
};
multicall3: {
address: "0xca11bde05977b3631167028862be2a173976ca11";
blockCreated: 5022;
};
portal: {
"1": {
address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
blockCreated: 17482143;
};
};
USDC: {
abi: readonly [
{
inputs: readonly [
{ indexed: true; name: "owner"; type: "address" },
{ indexed: true; name: "spender"; type: "address" },
{ indexed: false; name: "value"; type: "uint256" },
];
name: "Approval";
type: "event";
},
{
inputs: readonly [
{ indexed: true; name: "from"; type: "address" },
{ indexed: true; name: "to"; type: "address" },
{ indexed: false; name: "value"; type: "uint256" },
];
name: "Transfer";
type: "event";
},
{
inputs: readonly [
{ name: "owner"; type: "address" },
{ name: "spender"; type: "address" },
];
name: "allowance";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ name: "spender"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "approve";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [{ name: "account"; type: "address" }];
name: "balanceOf";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "decimals";
outputs: readonly [{ type: "uint8" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "name";
outputs: readonly [{ type: "string" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "symbol";
outputs: readonly [{ type: "string" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "totalSupply";
outputs: readonly [{ type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ name: "recipient"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "transfer";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ name: "sender"; type: "address" },
{ name: "recipient"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "transferFrom";
outputs: readonly [{ type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
];
address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
read: { decimals: () => 6 };
};
}
Optional
custom?: Record<string, unknown>
Optional
ensTlds?: readonly string[]
Optional
fees?: ChainFees<undefined>
id: 8453
name: "Base"
nativeCurrency: { decimals: 18; name: "Ether"; symbol: "ETH" }
rpcUrls: { default: { http: readonly ["https://mainnet.base.org"] } }
serializers: {
transaction: (
transaction: OpStackTransactionSerializable,
signature?: Signature,
) =>
| `0x02${string}`
| `0x01${string}`
| `0x03${string}`
| `0x04${string}`
| TransactionSerializedLegacy
| `0x7e${string}`;
}
sourceId: 1
Optional
testnet?: boolean
Collection of block explorers