Guides
DocumentationLog In

Layer 2 Networks

Layer 2 (L2) lets you send an asset on any enabled network.

To date, coinbase.com has sent assets on each asset's default network; for example, AVAX is sent on Avalanche C Chain, ETH is sent on Ethereum). With L2s, the user can control where to send an asset and may benefit from cheaper gas fees on some networks.

Available Assets

The following assets are available for L2 Sends:

AssetNetwork
USDCEthereum / Polygon / Solana
MATICEthereum / Polygon
ETHEthereum / Polygon

Examples

Here are some examples of L2 assets that are currently available for testing.

👍

The parameter supportedNetworks restricts the available networks for the asset list provided. The parameter blockchains is additive of all assets in the network.

One asset, one network

destinationWallets: { 
  address: “0xa...”,
  assets: [“ETH”],
}

or

destinationWallets: { 
  address: “0xa...”,
  assets: [“ETH”],
  supportedNetworks: [“ethereum”]
}

One asset, multiple networks

destinationWallets: [{ 
  address: “0xa...”,
  assets: [“USDC”],
  supportedNetworks: [“ethereum”, “polygon”],
}, {
  address: “90aB...”,
  assets: [“USDC”],
  supportedNetworks: [“solana”],
}]

One asset, multiple networks, with default network

destinationWallets: [{ 
  address: “0xa...”,
  supportedNetworks: [“ethereum”, “polygon”],
  assets: [“USDC”],
}, {
  address: “90aB...”,
  supportedNetworks: [“solana”],
  assets: [“USDC”],
}]
defaultNetwork: “solana”

Multiple assets, one network

destinationWallets: { 
  address: “0xa...”,
  assets: [“ETH”,“USDC”,“MATIC”],
  supportedNetworks: [“ethereum”],
}

Multiple assets, multiple networks

destinationWallets: [{ 
  address: “0xa...”,
  supportedNetworks: [“polygon”, “ethereum”],
  assets: [“ETH”, “USDC”, “MATIC”]
}, { 
  address: “0xa...”,
  supportedNetworks: [“avalanche-c-chain”],
  assets: [“AVAX”]
}, {
  address: “90aB...”,
  supportedNetworks: [“solana”],
  assets: [“SOL”, “USDC”],
}]

All assets, one network

destinationWallets: { 
  address: “0xa...”,
  blockchains: [“ethereum”],
}

All assets, multiple networks

destinationWallets: { 
  address: “0xa...”,
  blockchains: [“ethereum”,“avalanche-c-chain”,“polygon”],
}

See Also: