Name | Type | Description | Notes |
---|---|---|---|
contract_id | string | serialized contract | |
action | string | In addition to `send`ing the built transaction, the built transaction hex may be returned (without broadcasting) with `build` action, or the `meep 🔗` debugger command. | [optional] [default to 'send'] |
function | string | Function to call on the cashscript contract. | |
arguments | string[] | Arguments for the contract function call as strings. Binary data should be passed as hexidecimal. Signatures may be passed as wallet import format (WIF) or wallet strings (walletId). Cashscript expects `pubkey`s to be compressed 35 byte values. | [optional] |
to | AnyOfSendRequestItemArrayCashscriptReceiptArray | The output destination, as a SendRequest, cashscript style output(s), array of either. | |
utxo_ids | string[] | Serialized utxoId(s) to spend from | [optional] |
op_return | string[] | Add OP_RETURN outputs to the transaction. See cashscript docs | [optional] |
fee_per_byte | float | The withFeePerByte() function allows you to specify the fee per per bytes for the transaction. See cashscript docs | [optional] |
hardcoded_fee | float | Specify a hardcoded fee to the transaction. By default the transaction fee is automatically calculated by the CashScript SDK. See cashscript docs | [optional] |
min_change | float | Set a threshold for including a change output. Any remaining amount under this threshold will be added to the transaction fee instead. See cashscript docs | [optional] |
without_change | bool | Disable the change output. See cashscript docs | [optional] [default to false] |
age | float | Specify the minimum age of the transaction inputs. See cashscript docs | [optional] |
time | float | Specify the minimum block number that the transaction can be included in. See cashscript docs | [optional] |