Get the IDs in the format used by transactions, given the ID in the format used by Solidity. If the Solidity ID is for a smart contract instance, then both the ContractID and associated AccountID will be returned.
Field | Type | Description |
---|---|---|
header |
QueryHeader | Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither). |
solidityID |
string | The ID in the format used by Solidity |
Response when the client sends the node GetBySolidityIDQuery
Field | Type | Description |
---|---|---|
header |
ResponseHeader | Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither |
accountID |
AccountID | The Account ID for the cryptocurrency account |
fileID |
FileID | The file Id for the file |
contractID |
ContractID | A smart contract ID for the instance (if this is included, then the associated accountID will also be included) |