Skip to content

Commit

Permalink
add dryRunCall and xcmFeeAsset to TransferArgsOpts in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marshacb committed Sep 23, 2024
1 parent 8920f34 commit 206a1b5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,15 @@ interface TransferArgsOpts<T extends Format> {
* Defaults to `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`
*/
customXcmOnDest?: string;
/**
* Optionally allows for dry running the constructed tx in order get the estimated fees and execution result.
*/
dryRunCall?: boolean;

/**
* Optional assetId that will be used to pay for fees. Used with the `dryRunCall` option to determine fees in the specified asset.
*/
xcmFeeAsset?: string;
}
```

Expand Down

0 comments on commit 206a1b5

Please sign in to comment.