BADASSBYTEZ
API Endpoint
https://api-mev.badassbytez.com/
users = [
"Felix",
"Zolti",
"Murrat"
]
.htaccess ~ api_strict_rules
robots.txt ~ no_crawl + deny *
sitemap.xml ~ no_crawl + deny *
ONLY auth via key exchange : id-smime-alg-cms3deswrap | + | SECRET
api_keys = {
"Felix": "__hidden__.key.tomb"
"Zolti": "__hidden__.key.tomb"
"Murrat": "__hidden__.key.tomb"
}
config = {
".htaccess": "api_strict_rules"
"robots.txt": "no_crawl + deny *"
"sitemap.xml": "no_crawl + deny *"
}
end-p-REST for MEV-Arb.bot
Config
Configuration'''const''' chainId = ChainId.MAINNET ACCOUNT = os.getenv("REACT_APP_ACCOUNT") TOKEN_ADDRESS = os.getenv("REACT_APP_TOKEN_ADDRESS") EXCHANGE_ADDRESS = os.getenv("REACT_APP_EXCHANGE_ADDRESS") ETH_AMOUNT = os.getenv("REACT_APP_ETH_AMOUNT") RPC_URL_WSS = os.getenv("REACT_APP_RPC_URL_WSS") PRIVATE_KEY = os.getenv("REACT_APP_PRIVATE_KEY") '''prov''' web3 = Web3(Web3.HTTPProvider(RPC_URL_WSS)) web3HD = Web3(Web3.HTTPProvider(os.getenv("REACT_APP_RPC_URL"))) provider = ethers.getDefaultProvider(os.getenv("REACT_APP_RPC_URL")) privateKey = bytes.fromhex(PRIVATE_KEY) signer = ethers.Wallet(privateKey, provider) '''init''' # Initialize variables addtrxflag = False trxflag = False initialTokenBalance = None tokenBalanceAfterBuy = None tokensToSell = None
Part II// deep surface return call internal pure returns (uint256 amountOut) { require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT'); require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY'); uint256 amountInWithFee = amountIn.mul(997); uint256 numerator = amountInWithFee.mul(reserveOut); uint256 denominator = reserveIn.mul(1000).add(amountInWithFee); amountOut = numerator / denominator; } // flags - ioa let addtrxflag = false let trxflag = false let initialTokenBalance let tokenBalanceAfterBuy let tokensToSell
Set cant be configured without 'u+x = --rwx' or '777 - 755' privilage
// avoid stack, pool error
CallbackData memory callbackData;
callbackData.debtPool = info.lowerPool;
callbackData.targetPool = info.higherPool;
callbackData.debtTokenSmaller = info.baseTokenSmaller;
callbackData.borrowedToken = info.quoteToken;
callbackData.debtToken = info.baseToken;
callbackData.debtAmount = debtAmount;
callbackData.debtTokenOutAmount = baseTokenOutAmount;
// uint256 d;
if (min > 1e24) {
d = 1e20;
} else if (min > 1e23) {
d = 1e19;
} else if (min > 1e22) {
d = 1e18;
} else if (min > 1e21) {
d = 1e17;
} else if (min > 1e20) {
d = 1e16;
} else if (min > 1e19) {
d = 1e15;
} else if (min > 1e18) {
d = 1e14;
} else if (min > 1e17) {
d = 1e13;
} else if (min > 1e16) {
d = 1e12;
} else if (min > 1e15) {
d = 1e11;
} else {
d = 1e10;
}
Endix
Liquidity Pool Persp Stage SET
pool_state_0 = uniswap | if != int(0) or None:
pool_state_1 = sushiswap | if != int(10) or <= 10:
pool_serve_0 = coinsniper | int(100.00)
token_a | reserve int(i+\n), Memepool Transaction | Detect + int(2\n)
token_b | reserve int(i+\n), Memepool Transaction | Detect + int(-1,7\n)
hypo_lp_state_after_0 | 12.0, 10.0 | 8.3 10.0 | ~ pool_serve_0
arbritage_transaction_num_0 | 0.9 10.0 | -0.8 -10.0 | ~ pool_state_1
hypo_lp_state_after_1 | 12.0 10.9 | 8.3 9.2 | ~ duo = _ + pool_state_0
arbritage_transaction_num_1 | -1.1 -10.9 | 0.8 9.2 | ~ pool_state_0
hypo_lp_state_after_2 = *
final_hypo_dump = 0.9 => 10.0 | 3.2 => 10.0**9.2 | ~ *
close_on = close(0.9, 1.1, 0.2)
close(gen.opt(x ^* y = k)):
LPPS MainNet Traversal
{
"chainId": "MAINNET",
"account": {
"address": "your_account_address_here",
"privateKey": "your_private_key_here"
},
"tokens": {
"tokenAddress": "your_token_address_here",
"exchangeAddress": "your_exchange_address_here"
},
"tradeSettings": {
"ethAmount": "your_eth_amount_here",
"slippageTolerance": "0.5",
"gasPrice": "1000000000",
"gasLimit": "100000",
"tradeDeadline": "3600"
},
"network": {
"rpcUrlWss": "your_rpc_url_wss_here"
},
"logging": {
"logLevel": "INFO"
}
}
ONLY auth via key exchange : id-smime-alg-cms3deswrap | + | SECRET
#!/bin/bash
# Load environment variables from a .env file
source .env
# Define constants
chainId="MAINNET"
ACCOUNT="$REACT_APP_ACCOUNT"
TOKEN_ADDRESS="$REACT_APP_TOKEN_ADDRESS"
EXCHANGE_ADDRESS="$REACT_APP_EXCHANGE_ADDRESS"
ETH_AMOUNT="$REACT_APP_ETH_AMOUNT"
RPC_URL_WSS="$REACT_APP_RPC_URL_WSS"
PRIVATE_KEY="$REACT_APP_PRIVATE_KEY"
# Connect to Web3 provider
web3_command="web3 = Web3(Web3.HTTPProvider('$RPC_URL_WSS'))"
provider_command="provider = ethers.getDefaultProvider('$REACT_APP_RPC_URL')"
privateKey_command="privateKey = bytes.fromhex('$PRIVATE_KEY')"
signer_command="signer = ethers.Wallet(privateKey, provider)"
# Instantiate token contract interface
tokenContract_command="tokenContract = ethers.Contract('$TOKEN_ADDRESS', ['function balanceOf(address owner) external view returns (uint)','function decimals() external view returns (uint8)','function approve(address spender, uint value) external returns (bool)'], signer)"
# Instantiate Uniswap contract interface
uniswap_command="uniswap = ethers.Contract('$EXCHANGE_ADDRESS',['function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts)','function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts)','function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts)'], signer)"
# Initialize variables
addtrxflag="False"
trxflag="False"
initialTokenBalance=""
tokenBalanceAfterBuy=""
tokensToSell=""
# Execute commands
echo "process starts.."
echo "looking for opportunity in mempool.."
python3 -c "$web3_command;$provider_command;$privateKey_command;$signer_command;$tokenContract_command;$uniswap_command; run()"
Query Parameters
Access via the url below :
!OBS! api_key + secret_key needed
http://api-mev.badassbytez.com/query/for-x/_
SETS in the conf
payloads = {
SWI-sc": "styled__SwapWrapperInner-sc-4bc40e2a-2 bkiIsG,
CAC-sc": "Column__AutoColumn-sc-fc945e52-2 ddqEnZ,
sc": "sc-aXZVg hCFFB Button__BaseButton-sc-f8365f4b-1 Button__BaseButtonLight-sc-f8365f4b-4 cNwlKt bTeYyC,
BBO-sc": "Button__ButtonOverlay-sc-f8365f4b-0 crDotP,
__cf_bm": "hZ8Lp2RKN7ZrG7XzaHpFW4hN0_f.gy35ySZYfGOszVc-1714042725-1.0.1.1-rbOQBBrCijpAjp63utuvXw4J4y_1WFYyEv.o8__Oq_lnPyOFT8iq55SvMU4fcyeOJyEOfzMGMrWJNiyh9rZqZw,
__cfseq-0ZpsAuviq": "P89rzCaYoTCbRhlntzAgJQ2LjxTDIC1lB5vpxk9RbQal0cAJhmlkg-jljeZejyFB4kec3knDfvLdi_nk,
AMP_0000000000": "JTdCJTIyZGV2aWNlSWQlMjIlM0ElMjI1OWEzODExOS0zMDgyLTQ5NjEtOWEyMy0wYmY0Mzk5NTQ4MWQlMjIlMkMlMjJzZXNzaW9uSWQlMjIlM0ExNzE0MDQxODg5MjI0JTJDJTIyb3B0T3V0JTIyJTNBZmFsc2UlMkMlMjJsYXN0RXZlbnRUaW1lJTIyJTNBMTcxNDA0Mzg2MDU1OSUyQyUyMmxhc3RFdmVudElkJTIyJTNBMTE3JTdE,
AMP_MKTG_0000000000": "JTdCJTIycmVmZXJyZXIlMjIlM0ElMjJodHRwcyUzQSUyRiUyRnd3dy5nb29nbGUuY29tJTJGJTIyJTJDJTIycmVmZXJyaW5nX2RvbWFpbiUyMiUzQSUyMnd3dy5nb29nbGUuY29tJTIyJTdE
}
REQ x RES
!Step one.
request:
GET / HTTP/2
Host: uniswap.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://www.google.com/
Connection: keep-alive
Cookie: __cf_bm=p62tK9864xWPvGLz3xFAyP7tTHpldN2XLyge084PCGE-1714041888-1.0.1.1-IZae4ERB6jUuA4_I_fEHV2AvtqNPBiUuPeo_O8le2RYjDmPVeaZVcEPB0yND_pudZymgn6CcItu6MvuwqvjqlA; AMP_0000000000=JTdCJTIyb3B0T3V0JTIyJTNBZmFsc2UlMkMlMjJkZXZpY2VJZCUyMiUzQSUyMjU5YTM4MTE5LTMwODItNDk2MS05YTIzLTBiZjQzOTk1NDgxZCUyMiUyQyUyMmxhc3RFdmVudFRpbWUlMjIlM0ExNzE0MDQxODg5MzUzJTJDJTIyc2Vzc2lvbklkJTIyJTNBMTcxNDA0MTg4OTIyNCU3RA==; AMP_MKTG_0000000000=JTdCJTIycmVmZXJyZXIlMjIlM0ElMjJodHRwcyUzQSUyRiUyRnd3dy5nb29nbGUuY29tJTJGJTIyJTJDJTIycmVmZXJyaW5nX2RvbWFpbiUyMiUzQSUyMnd3dy5nb29nbGUuY29tJTIyJTdE
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: cross-site
TE: trailers
!Step two.
request:
GET / HTTP/2
Host: app.uniswap.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Cookie: __cf_bm=hZ8Lp2RKN7ZrG7XzaHpFW4hN0_f.gy35ySZYfGOszVc-1714042725-1.0.1.1-rbOQBBrCijpAjp63utuvXw4J4y_1WFYyEv.o8__Oq_lnPyOFT8iq55SvMU4fcyeOJyEOfzMGMrWJNiyh9rZqZw; AMP_0000000000=JTdCJTIyZGV2aWNlSWQlMjIlM0ElMjI1OWEzODExOS0zMDgyLTQ5NjEtOWEyMy0wYmY0Mzk5NTQ4MWQlMjIlMkMlMjJzZXNzaW9uSWQlMjIlM0ExNzE0MDQxODg5MjI0JTJDJTIyb3B0T3V0JTIyJTNBZmFsc2UlMkMlMjJsYXN0RXZlbnRUaW1lJTIyJTNBMTcxNDA0MjcyOTQzNyUyQyUyMmxhc3RFdmVudElkJTIyJTNBMTAlN0Q=; AMP_MKTG_0000000000=JTdCJTIycmVmZXJyZXIlMjIlM0ElMjJodHRwcyUzQSUyRiUyRnd3dy5nb29nbGUuY29tJTJGJTIyJTJDJTIycmVmZXJyaW5nX2RvbWFpbiUyMiUzQSUyMnd3dy5nb29nbGUuY29tJTIyJTdE; __cfseq-0EzCtKywD=vZN5hKMkuYYCo5-p_POHEw5jwQiGq3SyABWELLDaUNhRAD0wpJwyZDMuuKorzU5kVYs
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-site
Sec-Fetch-User: ?1
TE: trailers
!Step Three
request:
POST /api/4504255148851200/envelope/?sentry_key=a3c62e400b8748b5a8d007150e2f38b7&sentry_version=7&sentry_client=sentry.javascript.react%2F7.80.0 HTTP/2
Host: o1037921.ingest.sentry.io
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://app.uniswap.org/
Content-Type: text/plain;charset=UTF-8
Content-Length: 140
Origin: https://app.uniswap.org
Connection: keep-alive
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
TE: trailers
!Step Four
request:
POST /v3/099fc58e0de9451d80b18d7c74caa7c1 HTTP/2
Host: mainnet.infura.io
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://app.uniswap.org/
content-type: application/json
Content-Length: 64
Origin: https://app.uniswap.org
Connection: keep-alive
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
TE: trailers
// Double_Payload
POST /v1/graphql HTTP/2
Host: interface.gateway.uniswap.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://app.uniswap.org/
content-type: application/json
Content-Length: 523
Origin: https://app.uniswap.org
Connection: keep-alive
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
TE: trailers
// Tripple_Payload
OPTIONS /v1/statsig-proxy/initialize HTTP/2
Host: interface.gateway.uniswap.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Access-Control-Request-Method: POST
Access-Control-Request-Headers: content-type,statsig-api-key,statsig-client-time,statsig-encoded,statsig-sdk-type,statsig-sdk-version
Referer: https://app.uniswap.org/
Origin: https://app.uniswap.org
Connection: keep-alive
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
TE: trailers
!EX_cont
For bypass_antibot, anti_detection
HTTP/2 200
date: Thu, 25 Apr 2024 10:58:54 GMT
content-type: text/html; charset=utf-8
set-cookie: __cfseq-0EzCtKywD=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=.uniswap.org; HttpOnly; Secure; SameSite=None
set-cookie: __cfseq-0ZpsAuviq=P89rzCaYoTCbRhlntzAgJQ2LjxTDIC1lB5vpxk9RbQal0cAJhmlkg-jljeZejyFB4kec3knDfvLdi_nk; path=/; expires=Thu, 25 Apr 2024 11:58:54 GMT; domain=.uniswap.org; HttpOnly; Secure; SameSite=None
access-control-allow-origin: *
cache-control: public, max-age=0, must-revalidate
link: ; rel="preload"; as=script, ; rel="preload"; as=script
referrer-policy: strict-origin-when-cross-origin
x-content-type-options: nosniff
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=5uyQzeRjQPnfg9CEMxgziVZbvseO4eGmWl29uYz%2Frdmm3Fo1bL3vRF9%2BjlU5USgsdut%2BWNFhT5gkAHB35NiRjokdhs5BiQMKNpQ9CwcX7r3RRrM8WPK25HwW77%2F157C%2FTQs%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
vary: Accept-Encoding
cf-cache-status: DYNAMIC
strict-transport-security: max-age=15552000; includeSubDomains; preload
content-security-policy-report-only: default-src 'self'; script-src 'self' 'wasm-unsafe-eval' data: https://translate.googleapis.com/ https://vercel.com https://vercel.live/ https://www.google-analytics.com https://www.googletagmanager.com; style-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src * data: blob:; connect-src * data: blob:; worker-src 'self' blob:; report-to https://uniswaplabs.report-uri.com/r/t/csp/reportOnly;
server: cloudflare
cf-ray: 879dd2119ac9c24c-VIE
content-encoding: gzip
cf-h2-pushed: ,
X-Firefox-Spdy: h2
// Double_Payload
HTTP/2 200
date: Thu, 25 Apr 2024 10:58:56 GMT
content-type: application/json;charset=UTF-8
set-cookie: __cfseq-0bFA6ql2s=GSoCzlbFOy11pMITF5iY3z87NYz_IqKFxLQOTBX_S2dqkr3nGtNekcE_wbp47hr39do; path=/; expires=Thu, 25 Apr 2024 11:58:55 GMT; domain=.uniswap.org; HttpOnly; Secure; SameSite=None
x-amzn-requestid: b708d131-e300-4fbf-b6cb-8d175e6b4967
x-amzn-remapped-x-amzn-requestid: 387cb991-54d0-4559-a706-24331c38a6fa
access-control-allow-origin: *
x-amzn-remapped-content-length: 566
x-amzn-appsync-tokensconsumed: 1
x-amzn-remapped-connection: keep-alive
via: 1.1 28541d1c5ba94fa4ae7d6f7a2c07f4f8.cloudfront.net (CloudFront), 1.1 69cc5dd318e02cb1a7e8cb9951f553d8.cloudfront.net (CloudFront)
x-amz-apigw-id: Wx2ZiFYmiYcEH2Q=
access-control-expose-headers: x-amzn-RequestId,x-amzn-ErrorType,x-amz-user-agent,x-amzn-ErrorMessage,Date,x-amz-schema-version
x-amzn-trace-id: Root=1-662a376f-0a47fbe44b32fe5e48cdcfcf
x-amz-cf-pop: CMH68-P3
x-amz-cf-pop: FRA56-P3
x-amzn-remapped-date: Thu, 25 Apr 2024 10:58:55 GMT
x-cache: Miss from cloudfront
x-amz-cf-id: KPag3Zlz51SAJ4o_MbV4c-GwNY4koMjLXWApF8DNnSTLnhwSgjFrLw==
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=.F5mVMmLB9DflwaUfUMFe9nWKwxZm9edt4zp4APiZpY-1714042736-1.0.1.1-8qoKD9AI1io2rNsHTe4kaSJxgdWZWyz8P_sarbptAKKpZFJG_lAIovmdzJHt0cBfJc0HF8Vvc51yfpVKrQhHEg; path=/; expires=Thu, 25-Apr-24 11:28:56 GMT; domain=.uniswap.org; HttpOnly; Secure; SameSite=None
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=OAsge4u%2FLpqkv3hX%2FyLhM5JANbAqkS7emha5E%2Bn6XgtD%2B4%2BcX2GHJNlxo0EYVpvTmAsmVXCRrGLgckmd43R%2FVRKPFj%2FfJyvjcyXI%2Fja2q%2Fo9N7vfc4bNPYAIOYpkwVG0%2BBHGOXgTR9UjwOspwEkq"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
strict-transport-security: max-age=15552000; includeSubDomains; preload
server: cloudflare
cf-ray: 879dd219fdd65acd-VIE
content-encoding: gzip
X-Firefox-Spdy: h2
// Tripple_Payload
HTTP/2 204
date: Thu, 25 Apr 2024 10:58:55 GMT
x-amzn-requestid: 0d62a04f-69eb-40b2-adad-76b191f5ef59
access-control-allow-origin: *
access-control-allow-headers: Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token,X-Amz-User-Agent,x-origin-application,x-application-build,statsig-client-time,statsig-api-key,statsig-sdk-version,statsig-encoded,statsig-sdk-type,statsig-sdk-version
x-amz-apigw-id: Wx2ZeEgqiYcEnZQ=
access-control-allow-methods: OPTIONS,GET,PUT,POST,DELETE,PATCH,HEAD
x-amzn-trace-id: Root=1-662a376f-08bcbffe30966e510c6fc557
x-cache: Miss from cloudfront
via: 1.1 51bcd21e941ceaec99864557d86202ae.cloudfront.net (CloudFront)
x-amz-cf-pop: FRA56-P3
x-amz-cf-id: oTA3-pwRtjeHipsCxNYGg6JH9bqPW2i0J2FlixXi9zqaF4ZIeqKCdw==
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=64hsDqm9hdiCER_RkIklVepuygtYztkEB7Zme594rbw-1714042735-1.0.1.1-DvFnLCT51T5i06AYXeB7pzIpn74Y4V.tXLtyvKMrwQYjO_BrLXPYH2zdh8bAS1EkUs6l9kK6QXGfabhSTInz6Q; path=/; expires=Thu, 25-Apr-24 11:28:55 GMT; domain=.uniswap.org; HttpOnly; Secure; SameSite=None
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=8KsXlSYyD3CYz1rllw9Xr3pIt5%2BAyKO7nVjZ%2FrJRD0%2Bb5D9%2BNKDMIzdnYkLEIw9GE5iFSLHuZQVHVepgAsGtU%2FNPELUnXQOD8RWYXX4APxOYzMtVJsWKUAbR9YzV3KADAwI0Oh5KJhJs6CsXMG5F"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
strict-transport-security: max-age=15552000; includeSubDomains; preload
server: cloudflare
cf-ray: 879dd2190c6b5acd-VIE
X-Firefox-Spdy: h2
// RTX_Payload
HTTP/2 404
date: Thu, 25 Apr 2024 12:00:00 GMT
x-amzn-requestid: abcd1234-5678-efgh-ijkl-901234567890
access-control-allow-origin: example.com
access-control-allow-headers: Content-Type,X-Amz-Date,Authorization
x-amz-apigw-id: Wx2ZiFYmiYcEH2Q=
access-control-allow-methods: GET,POST
x-amzn-trace-id: Root=1-662a376f-08bcbffe30966e510c6fc557
x-cache: Hit from cloudfront
via: 1.1 abcdef1234567890.cloudfront.net (CloudFront)
x-amz-cf-pop: FRA56-P3
x-amz-cf-id: oTA3-pwRtjeHipsCxNYGg6JH9bqPW2i0J2FlixXi9zqaF4ZIeqKCdw==
cf-cache-status: HIT
set-cookie: __cf_bm=64hsDqm9hdiCER_RkIklVepuygtYztkEB7Zme594rbw-1714042735-1.0.1.1-DvFnLCT51T5i06AYXeB7pzIpn74Y4V.tXLtyvKMrwQYjO_BrLXPYH2zdh8bAS1EkUs6l9kK6QXGfabhSTInz6Q; path=/; expires=Thu, 25-Apr-24 11:28:55 GMT; domain=.example.com; HttpOnly; Secure; SameSite=None
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=8KsXlSYyD3CYz1rllw9Xr3pIt5%2BAyKO7nVjZ%2FrJRD0%2Bb5D9%2BNKDMIzdnYkLEIw9GE5iFSLHuZQVHVepgAsGtU%2FNPELUnXQOD8RWYXX4APxOYzMtVJsWKUAbR9YzV3KADAwI0Oh5KJhJs6CsXMG5F"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
strict-transport-security: max-age=15552000; includeSubDomains; preload
server: cloudflare
cf-ray: 879dd2190c6b5acd-VIE
X-Firefox-Spdy: h2
// Advanced_Payload
HTTP/2 200
date: Thu, 25 Apr 2024 12:00:00 GMT
x-amzn-requestid: xyz9876-5432-wvut-qrst-098765432109
access-control-allow-origin: example.com
access-control-allow-headers: Content-Type,X-Amz-Date,Authorization
x-amz-apigw-id: Wx2ZiFYmiYcEH2Q=
access-control-allow-methods: GET,POST,PUT,DELETE
x-amzn-trace-id: Root=1-662a376f-08bcbffe30966e510c6fc557
x-cache: Miss from cloudfront
via: 1.1 abcdef1234567890.cloudfront.net (CloudFront)
x-amz-cf-pop: FRA56-P3
x-amz-cf-id: oTA3-pwRtjeHipsCxNYGg6JH9bqPW2i0J2FlixXi9zqaF4ZIeqKCdw==
cf-cache-status: MISS
set-cookie: __cf_bm=64hsDqm9hdiCER_RkIklVepuygtYztkEB7Zme594rbw-1714042735-1.0.1.1-DvFnLCT51T5i06AYXeB7pzIpn74Y4V.tXLtyvKMrwQYjO_BrLXPYH2zdh8bAS1EkUs6l9kK6QXGfabhSTInz6Q; path=/; expires=Thu, 25-Apr-24 11:28:55 GMT; domain=.example.com; HttpOnly; Secure; SameSite=None
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=8KsXlSYyD3CYz1rllw9Xr3pIt5%2BAyKO7nVjZ%2FrJRD0%2Bb5D9%2BNKDMIzdnYkLEIw9GE5iFSLHuZQVHVepgAsGtU%2FNPELUnXQOD8RWYXX4APxOYzMtVJsWKUAbR9YzV3KADAwI0Oh5KJhJs6CsXMG5F"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
strict-transport-security: max-age=15552000; includeSubDomains; preload
server: cloudflare
cf-ray: 879dd2190c6b5acd-VIE
X-Firefox-Spdy: h2
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
secret_key | String | Your API key. |
search | String | (optional) A search word to find character by name. |
negative | String | (optional) Reverse keywords |
alive | Boolean | (optional) keep-alive or not |
mode | String | (optional - default: all in) - fixed, liquid, absolute, flexible, all in |
limit | Integer | (optional - default: 33%) A limit of how much to bet with of the balance |
header | String |
(optional) a string to filter request header: GET POST PUT OPTIONS DELETE |
Accept | String |
(optional) a string to set accepted-chars request: text/html, xhtml/xml, avif/wepb, *,qt=0.8/aio |
accept-eoncoding | String |
(optional) a string to filter request header: GET POST PUT OPTIONS DELETE |
%SPLIT% - ADVANCED
Header Name | Type | Description / Example |
---|---|---|
Accept | String |
(optional) Specifies the media types that are acceptable for the response. Example: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" |
Accept-Charset | String |
(optional) Specifies the character sets that are acceptable. Example: "utf-8, iso-8859-1;q=0.5" |
Accept-Encoding | String |
(optional) Specifies the encoding algorithms that are acceptable. Example: "gzip, deflate, br" |
Accept-Language | String |
(optional) Specifies the natural languages that are preferred for the response. Example: "en-US, en;q=0.5" |
Authorization | String |
(optional) Contains the credentials to authenticate the client with the server. Example: "Bearer |
Cache-Control | String |
(optional) Specifies directives for caching mechanisms in both requests and responses. Example: "no-cache, max-age=3600" |
Connection | String |
(optional) Controls whether the network connection stays open after the current transaction finishes. Example: "keep-alive" |
Content-Length | Integer |
(optional) Specifies the size of the request body in octets. Example: 123 |
Content-Type | String |
(optional) Indicates the media type of the request body sent to the recipient. Example: "application/json" |
Date | String |
(optional) Represents the date and time at which the message was originated. Example: "Sat, 02 Oct 2021 14:12:10 GMT" |
Expect | String |
(optional) Indicates that particular server behaviors are required by the client. Example: "100-continue" |
Forwarded | String |
(optional) Contains information from the client-facing side of proxy servers. Example: "for=192.0.2.60;proto=http;by=203.0.113.43" |
From | String |
(optional) Contains an Internet email address for a human user who controls the requesting user agent. Example: "user@example.com" |
Host | String |
(mandatory) Specifies the domain name of the server. Example: "www.example.com" |
If-Match | String |
(optional) Only performs the action if the client-supplied entity matches the same entity on the server. Example: "1234567890" |
If-Modified-Since | String |
(optional) Allows a 304 Not Modified to be returned if content is unchanged. Example: "Sat, 29 Oct 1994 19:43:31 GMT" |
If-None-Match | String |
(optional) Allows a 304 Not Modified to be returned if content is unchanged. Example: "1234567890" |
If-Range | String |
(optional) If the entity is unchanged, send me the part(s) that I am missing. Example: "1234567890" |
If-Unmodified-Since | String |
(optional) Only sends the response if the entity has not been modified since a specific time. Example: "Sat, 29 Oct 1994 19:43:31 GMT" |
Max-Forwards | Integer |
(optional) Limits the number of times the message can be forwarded by proxies. Example: 10 |
Pragma | String |
(optional) Implementation-specific directives that might apply to any recipient along the request/response chain. Example: "no-cache" |
Proxy-Authorization | String |
(optional) Contains the credentials to authenticate a user agent with a proxy server. Example: "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==" |
Range | String |
(optional) Requests only part of an entity. Example: "bytes=500-999" |
Referer | String |
(optional) Specifies the address of the previous web page from which a link to the currently requested page was followed. Example: "http://example.com/page.html" |
TE | String |
(optional) Describes the transfer encodings the user agent is willing to accept. Example: "trailers, deflate" |
User-Agent | String |
(mandatory) Contains information about the user agent originating the request. Example: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36" |
Upgrade | String |
(optional) Asks the server to upgrade to another protocol. Example: "websocket" |
Via | String |
(optional) Specifies intermediate protocols to use in the communication between the client and the server. Example: "1.0 fred, 1.1 example.com (Apache/1.1)" |
Warning | String |
(optional) A general warning about possible problems with the entity body. Example: "110 and \"response is stale\"" |
X-Requested-With | String |
(optional) Identifies the request as having been made via Ajax. Example: "XMLHttpRequest" |
%SPLIT% - B-RESP_0
Header Name | Data-T | Description / Example |
---|---|---|
Cache-Control | String |
(optional) Specifies directives for caching mechanisms in both requests and responses. Example: "no-cache, max-age=3600" |
Connection | String |
(optional) Controls whether the network connection stays open after the current transaction finishes. Example: "keep-alive" |
%SPLIT% - A-RESP_1
Header Name | Data-T | Description / Example |
---|---|---|
Accept-Ranges | String |
(optional) Indicates if the server supports range requests for a resource. Example: "bytes" |
Age | Integer |
(optional) Indicates the age of the response in seconds. Example: 120 |
ADV-BAS
Header Name | Data-T | Description / Example |
---|---|---|
Server | String |
Indicates the software server handling the HTTP response. Example: cloudflare |
X-Firefox-Spdy | String |
Specifies the SPDY version used by Firefox for the HTTP response. Example: h2 |
Content-Encoding | String |
Describes the type of encoding applied to the response content. Example: gzip |
Set-Cookie | String |
Sets a cookie on the client-side. Example: "__cfseq-0bFA6ql2s=GSoCzlbFOy11pMITF5iY3 z87NYz_IqKFxLQOTBX_S2dqkr3nGtNekcE_wbp47hr39do" |
X-Amzn-Requestid | String |
Unique identifier assigned to the request by Amazon. Example: b708d131-e300-4fbf-b6cb-8d175e6b4967 |
Access-Control-Allow-Origin | String |
Defines which origins are allowed to access the resource. Example: "*" |
X-Cache | String |
Indicates whether the response was served from cache. Example: Miss from cloudfront |
Cf-Cache-Status | String |
Specifies the cache status of the response. Example: DYNAMIC |
Strict-Transport-Security | String |
Sets a policy that forces secure connections to the server. Example: max-age=15552000; includeSubDomains; preload |
X-Amzn-Trace-Id | String |
Trace identifier used by Amazon for debugging purposes. Example: Root=1-662a376f-0a47fbe44b32fe5e48cdcfcf |
X-Amzn-Cf-Pop | String |
Amazon CloudFront point of presence (PoP) codes. Example: CMH68-P3, FRA56-P3 |
X-Amz-Cf-Id | String |
Unique identifier assigned to the request by Amazon CloudFront. Example: KPag3Zlz51SAJ4o_MbV4c-GwNY4koMjLXWApF8DNnSTLnhwSgjFrLw== |
Report-To | String |
Specifies where to send reports of policy violations. Example: "{"endpoints":[{"url":"https:\/\/ a.nel.cloudflare.com\/report\/v4?s=OAsge4u%2FLpqkv3h X%2FyLhM5JANbAqkS7emha5E%2Bn6XgtD%2B4%2BcX2GHJNlxo0E YVpvTmAsmVXCRrGLgckmd43R%2FVRKPFj%2FfJyvjcyXI%2 Fja2q%2Fo9N7vfc4bNPYAIOYpkwVG0%2BBHGOXgTR9UjwOs pwEkq"}],"group":"cf-nel","max_age":604800}" |
Nel | String |
Network Error Logging policy parameters. Example: "{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}" |
X-Amzn-Appsync-Tokensconsumed | Integer |
Number of tokens consumed by Amazon AppSync. Example: 1 |
X-Amzn-Remapped-Content-Length | Integer |
Size of the content remapped by Amazon. Example: 566 |
X-Amzn-Remapped-Connection | String |
Indicates the connection type remapped by Amazon. Example: keep-alive |
X-Amzn-Remapped-Date | String |
Date remapped by Amazon. Example: Thu, 25 Apr 2024 10:58:55 GMT |
X-Amzn-Remapped-X-Amzn-Requestid | String |
Request ID remapped by Amazon. Example: 387cb991-54d0-4559-a706-24331c38a6fa |
import requests
import hashlib
import gnupg
class API:
def __init__(self, api_key, api_secret):
self.api_key = api_key
self.api_secret = api_secret
self.endpoint = "https://api.example.com"
def call_api(self, endpoint, params=None):
headers = {"Authorization": f"Bearer {self.api_key}"}
response = requests.get(self.endpoint + endpoint, params=params, headers=headers)
return response.json()
def hash_pgp(data):
gpg = gnupg.GPG()
pgp_hash = gpg.encrypt(data, 'pgp@example.com')
return pgp_hash
if __name__ == "__main__":
api_key = "your_api_key"
api_secret = "your_api_secret"
api = API(api_key, api_secret)
# Hash data using PGP
data = "sample_data_to_hash"
hashed_data = hash_pgp(data)
print("Hashed Data:", hashed_data)
Commands
You will need to be verifieda and authentication via api key, secret and sc
The MEV commands:
Command | Info |
---|---|
Standard Mode | Will act as a "human behaviour" bot with legitimate and low-fast fee's |
Release Mode | This will try to create a list of common/uncommon and match with the initial value for multi-transactions. |
Squid Mode | This will do a multi-platform trading against and for the same transaction and timing via live feed. |
Braindead | Try to to get banned as a bot. !ONLY - for benchmark purposes. |
# Call API
endpoint = "/data"
params = {"param1": "value1", "param2": "value2"}
response = api.call_api(endpoint, params)
print("API Response:", response)