[−][src]Module xpx_supercontracts_sdk::transactions
Basic Blockchain functions
Basic functionality to interact with Catapulta Blockchain. It represent via twa main part: transactions and getters (get functions of some information from Blockchain).
Transaction functions
Main principle of transaction functions is
that aggregation to pool of transactions. So it will send not immediately.
The reason is minimize Gas spent
and reducing Blockchain resources utilization.
When SuperContract will End transactions Flush autromaticaly (it mean it will send to Blocchain).
But it possible send transaction pull immediately.
For that case exist function flush
.
When function flush
invoking then Transactions Pool
will be send to Blockchain, and then clear.
And again - only end execution of SuperContract or Flush** can send transactions to Blockchaing. Otherwise it will gather to Transactions Pool.
Functions
add_exchange_offer | Send to transaction pool AddExchangeOffer transaction |
address_alias | Send to transaction pool AddressAlias transaction |
exchange_offer | Send to transaction pool AddExchangeOffer transaction |
flush | Flush send immediately Transactions from current transactions pool. |
get_account_exchange_info | Get data via GetAccountExchangeInfo |
get_exchange_offer_by_asset_id | Get data via GetExchangeOfferByAssetId |
get_initiator_pubkey | Get initiator pubkey data of initial Execute action |
get_mosaic_id | Get data via GetMosaicID |
get_mosaic_info | Get data via GetMosaicInfo |
get_mosaic_infos | Get data via GetMosaicInfos |
get_mosaics_names | Get data via GetMosaicsNames |
get_supercontract | Get data current SuperContract data |
get_transaction | Get data via GetTransaction |
get_transaction_effective_fee | Get data via GetTransactionEffectiveFee |
get_transaction_status | Get data via GetTransactionStatus |
get_transaction_statuses | Get data via GetTransactionStatuses |
modify_metadata_address | Send to transaction pool ModifyMetadataAddress transaction |
modify_metadata_mosaic | Send to transaction pool ModifyMetadataMosaic transaction |
modify_metadata_namespace | Send to transaction pool ModifyMetadataNamespace transaction |
mosaic_alias | Send to transaction pool MosaicAlias transaction |
mosaic_definition | Send to transaction pool MosaicDefinition transaction |
mosaic_supply_change | Send to transaction pool MosaicSupplyChange transaction |
register_root_namespace | Send to transaction pool RegisterRootNamespace transaction |
register_sub_namespace | Send to transaction pool RegisterRootNamespace transaction |
remove_exchange_offer | Send to transaction pool RemoveExchangeOffer transaction |
secret_lock | Send to transaction pool SecretLock transaction |
secret_proof | Send to transaction pool SecretProof transaction |
transfer | Send to transaction pool Transfer transaction |
transfer_with_namespace | Send to transaction pool TransferWithNamespace transaction |