update get_approx_fee to new function name _outdated_get_approx_fee
This commit is contained in:
@@ -139,7 +139,7 @@ export const ApiList = () => {
|
||||
<ListItem>
|
||||
<DocEntry
|
||||
function={{
|
||||
name: 'get_approximate_fee',
|
||||
name: 'outdated_get_approximate_fee',
|
||||
args: [{ name: 'operation', type: 'str' }],
|
||||
}}
|
||||
/>
|
||||
|
||||
@@ -28,7 +28,7 @@ export const majorToMinor = async (amount: string): Promise<Coin> => await invok
|
||||
// NOTE: this uses OUTDATED defaults that might have no resemblance with the reality
|
||||
// as for the actual transaction, the gas cost is being simulated beforehand
|
||||
export const getGasFee = async (operation: Operation): Promise<Coin> =>
|
||||
await invoke('get_approximate_fee', { operation })
|
||||
await invoke('outdated_get_approximate_fee', { operation })
|
||||
|
||||
export const delegate = async ({
|
||||
type,
|
||||
|
||||
Reference in New Issue
Block a user