Skip to content

Commit

Permalink
fix: add payload
Browse files Browse the repository at this point in the history
  • Loading branch information
ameeshaagrawal committed Jul 3, 2024
1 parent fa14d44 commit 23fe7fa
Show file tree
Hide file tree
Showing 2 changed files with 6,644 additions and 6,822 deletions.
3 changes: 2 additions & 1 deletion docs/dev-resources/APIReference/EstimateFee.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ The fees for relaying messages can be calculated on-chain by calling the `getMin
| `srcChainSlug` | Slug of source chain |
| `dstChainSlug` | Slug of destination chain |
| `msgGasLimit`| Gas limit required for executing the destination payload |
| `payloadLength`| Length of payload to be executed on destination plug |
#### Example Request
Estimating fees for sending a message from Polygon to Optimism
[https://prod.dlapi.socket.tech/v1/estimate-min-fees?srcPlug=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&srcChainSlug=2999&dstChainSlug=10&msgGasLimit=100000](https://prod.dlapi.socket.tech/estimate-min-fees?srcPlug=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&srcChainSlug=2999&dstChainSlug=10&msgGasLimit=100000)
[https://prod.dlapi.socket.tech/v1/estimate-min-fees?srcPlug=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&srcChainSlug=2999&dstChainSlug=10&msgGasLimit=100000&payloadLength=100](https://prod.dlapi.socket.tech/estimate-min-fees?srcPlug=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&srcChainSlug=2999&dstChainSlug=10&msgGasLimit=100000&payloadLength=100)
Note : Add the *x-api-key* header mentioned above in the request for authentication.
Expand Down
Loading

0 comments on commit 23fe7fa

Please sign in to comment.