BlockchainContractValue

Versions for specific blockchains »

BlockchainContractValue[caddr]

gets the result obtained from a Wolfram expression contract at blockchain address caddr.

BlockchainContractValue[caddr,prop]

gets the property prop of the result obtained from a Wolfram expression contract with address caddr.

BlockchainContractValue[caddr,func]

calls the function func of a contract with address caddr.

BlockchainContractValue[caddr,assoc]

calls a contract with address caddr with the properties defined in Association assoc.

Details and Options

Examples

Basic Examples  (6)

Verify the total supply of OmiseGo tokens using its address:

Check the balance of OMG tokens of a certain holder:

Check the auction of CryptoKitty with Token ID 883551:

Call the function owner, given an address:

Get the storage of the USDtz Tezos token contract:

Get the total supply of tokens of the USDtz token contract using an annotation:

Wolfram Research (2019), BlockchainContractValue, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainContractValue.html.

Text

Wolfram Research (2019), BlockchainContractValue, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainContractValue.html.

CMS

Wolfram Language. 2019. "BlockchainContractValue." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BlockchainContractValue.html.

APA

Wolfram Language. (2019). BlockchainContractValue. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlockchainContractValue.html

BibTeX

@misc{reference.wolfram_2023_blockchaincontractvalue, author="Wolfram Research", title="{BlockchainContractValue}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/BlockchainContractValue.html}", note=[Accessed: 19-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_blockchaincontractvalue, organization={Wolfram Research}, title={BlockchainContractValue}, year={2019}, url={https://reference.wolfram.com/language/ref/BlockchainContractValue.html}, note=[Accessed: 19-April-2024 ]}