File tree 2 files changed +6644
-6822
lines changed
docs/dev-resources/APIReference
2 files changed +6644
-6822
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,13 @@ The fees for relaying messages can be calculated on-chain by calling the `getMin
62
62
| ` srcChainSlug` | Slug of source chain |
63
63
| ` dstChainSlug` | Slug of destination chain |
64
64
| ` msgGasLimit` | Gas limit required for executing the destination payload |
65
+ | ` payloadLength` | Length of payload to be executed on destination plug |
65
66
66
67
#### Example Request
67
68
68
69
Estimating fees for sending a message from Polygon to Optimism
69
70
70
- [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)
71
+ [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 )
71
72
72
73
Note : Add the *x-api-key* header mentioned above in the request for authentication.
73
74
You can’t perform that action at this time.
0 commit comments