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  (4)

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:

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.

BibTeX

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

BibLaTeX

@online{reference.wolfram_2020_blockchaincontractvalue, organization={Wolfram Research}, title={BlockchainContractValue}, year={2019}, url={https://reference.wolfram.com/language/ref/BlockchainContractValue.html}, note=[Accessed: 12-May-2021 ]}

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