Creates a transport that communicates with the MetaMask extension via Chrome's externally_connectable API
Configuration parameters for the transport
Optional
Optional MetaMask extension ID. If not provided, it will be auto-detected.
A Transport instance that communicates with the MetaMask extension
// Create transport with auto-detection of extension IDconst transport = getExternallyConnectableTransport();// Create transport with specific extension IDconst transport = getExternallyConnectableTransport({ extensionId: '...'}); Copy
// Create transport with auto-detection of extension IDconst transport = getExternallyConnectableTransport();// Create transport with specific extension IDconst transport = getExternallyConnectableTransport({ extensionId: '...'});
Creates a transport that communicates with the MetaMask extension via Chrome's externally_connectable API