76 lines
927 B
Plaintext
76 lines
927 B
Plaintext
---
|
|
sidebar_position: 50
|
|
title: Buffer Relayers
|
|
---
|
|
|
|
import Tabs from "@theme/Tabs";
|
|
import TabItem from "@theme/TabItem";
|
|
|
|
## Read a Buffer Relayer
|
|
|
|
<Tabs>
|
|
<TabItem value="Rust" label="Rust" default>
|
|
|
|
```rust
|
|
// Rust code
|
|
```
|
|
|
|
</TabItem>
|
|
<TabItem value="Typescript" label="Typescript">
|
|
|
|
```ts
|
|
// Typescript code
|
|
```
|
|
|
|
</TabItem>
|
|
<TabItem value="CLI" label="CLI">
|
|
|
|
```bash
|
|
# CLI command
|
|
```
|
|
|
|
</TabItem>
|
|
</Tabs>
|
|
|
|
## Create a Buffer Relayer
|
|
|
|
- `bufferRelayerInit`
|
|
|
|
<Tabs>
|
|
<TabItem value="Typescript" label="Typescript" default>
|
|
|
|
```ts
|
|
// Typescript code
|
|
```
|
|
|
|
</TabItem>
|
|
<TabItem value="CLI" label="CLI">
|
|
|
|
```bash
|
|
# CLI command
|
|
```
|
|
|
|
</TabItem>
|
|
</Tabs>
|
|
|
|
## Request a Buffer Relayer Update
|
|
|
|
- `bufferRelayerOpenRound`
|
|
|
|
<Tabs>
|
|
<TabItem value="Typescript" label="Typescript" default>
|
|
|
|
```ts
|
|
// Typescript code
|
|
```
|
|
|
|
</TabItem>
|
|
<TabItem value="CLI" label="CLI">
|
|
|
|
```bash
|
|
# CLI command
|
|
```
|
|
|
|
</TabItem>
|
|
</Tabs>
|