> For the complete documentation index, see [llms.txt](https://kelby.gitbook.io/super-zero-protocol-sero/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kelby.gitbook.io/super-zero-protocol-sero/api3001-ke-hu-duan-3001-fu-wu-duan/console/bridge.md).

# bridge

```
// bridge is a collection of JavaScript utility methods to bride the .js runtime
// environment and the Go RPC connection backing the remote method calls.
type bridge struct {
    client   *rpc.Client  // RPC client to execute Ethereum requests through
    prompter UserPrompter // Input prompter to allow interactive user feedback
    printer  io.Writer    // Output writer to serialize any display strings to
}
```
