LogoNAVI Protocol SDKS

MEV Protection

Maximal Extractable Value (MEV) refers to the profit that can be captured by strategically ordering, censoring, or inserting transactions within a blockchain. Common MEV strategies include arbitrage, sandwiching, and liquidation.

The SDK integrates Shio to protect users and protocols from losing value to MEV strategies.

executeTransaction

Signs and executes a transaction. protect users and protocols from losing value to MEV strategies.

Usage Example

import { executeTransaction } from '@naviprotocol/astros-aggregator-sdk'
import { Transaction } from '@mysten/sui/transactions'
import { Ed25519Keypair } from "@mysten/sui/keypairs/ed25519"

const signer = Ed25519Keypair.fromSecretKey(privateKey)

const tx = new Transaction()

// build swap transaction

const result = await executeTransaction(tx, signer)

On this page