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

Verify the total supply of OmiseGo tokens using its address:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Check the balance of OMG tokens of a certain holder:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Check the auction of CryptoKitty with Token ID 883551:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2019
(12.0)