The Contract Lego is used to specify the information needed to successfully initiate a transaction with an external contract.
This Lego is referenced by the Transaction Lego's abi
field.
See an example Contract Lego (opens in a new tab) in the Mint a Million Tutorial.
Parameter | Data Type | Description |
---|---|---|
location | STRING | This is almost always local to indicate the abi is hardcoded in our application. |
abiName | STRING | Indicates what ABI to locate for the contract. |
contractAddress | STRING | Identifies who the contract is tied to. |