Browse Source

Add string as type option for fee parameter

friedger-patch-7
Mark Hendrickson 3 years ago
committed by Patrick Gray
parent
commit
cca2811685
  1. 12
      src/pages/build-apps/guides/transaction-signing.md

12
src/pages/build-apps/guides/transaction-signing.md

@ -90,7 +90,7 @@ interface STXTransferOptions {
amount: string;
memo?: string;
network: StacksNetwork;
fee: number,
fee: number | string,
appDetails: {
name: string;
icon: string;
@ -107,7 +107,7 @@ interface STXTransferOptions {
| onFinish | function | true | Callback executed by app when transaction has been signed and broadcasted. [Read more](#onFinish-option) |
| memo | string | false | Optional memo for inclusion with transaction |
| network | StacksNetwork | false | Specify the network that this transaction should be completed on. [Read more](#network-option) |
| fee | number | false | Optional fee amount in microstacks (1 STX = 1,000,000 microstacks) for overwriting the wallet's default fee value. [Read more](https://forum.stacks.org/t/mempool-congestion-on-stacks-observations-and-next-steps-from-hiro/12325/5) |
| fee | number \| string | false | Optional fee amount in microstacks (1 STX = 1,000,000 microstacks) for overwriting the wallet's default fee value. [Read more](https://forum.stacks.org/t/mempool-congestion-on-stacks-observations-and-next-steps-from-hiro/12325/5) |
## Prompt to deploy smart contract
@ -140,7 +140,7 @@ interface ContractDeployOptions {
codeBody: string;
contractName: string;
network: StacksNetwork;
fee: number,
fee: number | string,
appDetails: {
name: string;
icon: string;
@ -156,7 +156,7 @@ interface ContractDeployOptions {
| appDetails | object | true | Dictionary that requires `name` and `icon` for app |
| onFinish | function | true | Callback executed by app when transaction has been signed and broadcasted. [Read more](#onFinish-option) |
| network | StacksNetwork | false | Specify the network that this transaction should be completed on. [Read more](#network-option) |
| fee | number | false | Optional fee amount in microstacks (1 STX = 1,000,000 microstacks) for overwriting the wallet's default fee value. [Read more](https://forum.stacks.org/t/mempool-congestion-on-stacks-observations-and-next-steps-from-hiro/12325/5) |
| fee | number \| string | false | Optional fee amount in microstacks (1 STX = 1,000,000 microstacks) for overwriting the wallet's default fee value. [Read more](https://forum.stacks.org/t/mempool-congestion-on-stacks-observations-and-next-steps-from-hiro/12325/5) |
-> Contracts will deploy to the Stacks address of the authenticated user.
@ -233,7 +233,7 @@ interface ContractCallOptions {
contractName: string;
functionArgs?: ClarityValue[];
network: StacksNetwork;
fee: number,
fee: number | string,
appDetails: {
name: string;
icon: string;
@ -251,7 +251,7 @@ interface ContractCallOptions {
| appDetails | object | true | Dictionary that requires `name` and `icon` for app |
| onFinish | function | true | Callback executed by app when transaction has been signed and broadcasted. [Read more](#onFinish-option) | |
| network | StacksNetwork | false | Specify the network that this transaction should be completed on. [Read more](#network-option) |
| fee | number | false | Optional fee amount in microstacks (1 STX = 1,000,000 microstacks) for overwriting the wallet's default fee value. [Read more](https://forum.stacks.org/t/mempool-congestion-on-stacks-observations-and-next-steps-from-hiro/12325/5) |
| fee | number \| string | false | Optional fee amount in microstacks (1 STX = 1,000,000 microstacks) for overwriting the wallet's default fee value. [Read more](https://forum.stacks.org/t/mempool-congestion-on-stacks-observations-and-next-steps-from-hiro/12325/5) |
## Getting the signed transaction back after completion {#onFinish-option}

Loading…
Cancel
Save