diff --git a/docs/flashbots-auction/advanced/rpc-endpoint.mdx b/docs/flashbots-auction/advanced/rpc-endpoint.mdx index a55088f9..aab67c86 100644 --- a/docs/flashbots-auction/advanced/rpc-endpoint.mdx +++ b/docs/flashbots-auction/advanced/rpc-endpoint.mdx @@ -1031,13 +1031,13 @@ The signature is calculated by taking the [EIP-191](https://eips.ethereum.org/EI ```ts -import {Wallet, utils} from 'ethers'; +import {Wallet, id} from 'ethers'; const privateKey = '0x1234'; const wallet = new Wallet(privateKey); const body = '{"jsonrpc":"2.0","method":"eth_sendBundle","params":[{see above}],"id":1}'; -const signature = wallet.address + ':' + wallet.signMessage(utils.id(body)); +const signature = wallet.address + ':' + wallet.signMessage(id(body)); ```