Skip to content

Commit

Permalink
Update lowlatencytxnsend.md
Browse files Browse the repository at this point in the history
Add base64 example
  • Loading branch information
mdr0id authored Nov 13, 2024
1 parent 9415e82 commit d8cac00
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docs/source/lowlatencytxnsend.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ Additionally, this method always sets skip_preflight=true, which means the trans

| Parameter | Type | Description |
|-----------|--------|--------------------------------------------------------------------------------------------------|
| `params` | string | **REQUIRED**: First Transaction Signature embedded in the transaction, as base-58 or base-64 encoded string |
| `params` | string | **REQUIRED**: First Transaction Signature embedded in the transaction, as base-58(default) or base-64 encoded string |


##### Request Example
##### Request Example base58

```bash
curl https://mainnet.block-engine.jito.wtf/api/v1/transactions -X POST -H "Content-Type: application/json" -d '
Expand All @@ -102,6 +102,21 @@ curl https://mainnet.block-engine.jito.wtf/api/v1/transactions -X POST -H "Conte
]
}'
```
##### Request Example base64
```
curl https://mainnet.block-engine.jito.wtf/api/v1/transactions -X POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "sendTransaction",
"params": [
"4hXTCkRzt9WyecNzV1XPgCDfGAZzQKNxLXgynz5QDuWWPSAZBZSHptvWRL3BjCvzUXRdKvHL2b7yGrRQcWyaqsaBCncVG7BFggS8w9snUts67BSh3EqKpXLUm5UMHfD7ZBe9GhARjbNQMLJ1QD3Spr6oMTBU6EhdB4RD8CP2xUxr2u3d6fos36PD98XS6oX8TQjLpsMwncs5DAMiD4nNnR8NBfyghGCWvCVifVwvA8B8TJxE1aiyiv2L429BCWfyzAme5sZW8rDb14NeCQHhZbtNqfXhcp2tAnaAT",
{
"encoding": "base64",
}
]
}'
```

##### Response

Expand Down

0 comments on commit d8cac00

Please sign in to comment.