GetScCallByContractHashAddress¶
Gets ScCall by an address in a certain contract
Parameters¶
| Name | Type | Description |
|---|---|---|
| ContractHash | string | The contract address |
| Address | string | The user address |
Example¶
curl --location --request POST 'http://40.76.139.118:1926' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "GetScCallByContractHashAddress",
"params": {"Address":"0xeba621d37ff117d9ce73c1579bf260aa779cb392","ContractHash":"0xd2a4cff31913016155e38e474a2c06d08be276cf","Limit":2},
"id": 1
}'
Output¶
{
"id": 1,
"result": {
"result": [
{
"_id": "60f7feae5a26ad67090d7df2",
"callFlags": "All",
"contractHash": "0xd2a4cff31913016155e38e474a2c06d08be276cf",
"hexStringParams": [
"92b39c77aa60f29b57c173ced917f17fd321a6eb",
"0197a53d510463472cabe1512e5fc727d716f90b",
"d007",
""
],
"method": "transfer",
"originSender": "0xeba621d37ff117d9ce73c1579bf260aa779cb392",
"txid": "0xd8f9887c1ed3ceccef42637e70e97ba668760c22e1ceabe5b510ccf70a328c68"
},
{
"_id": "60f7feae5a26ad67090d7ded",
"callFlags": "All",
"contractHash": "0xd2a4cff31913016155e38e474a2c06d08be276cf",
"hexStringParams": [
"92b39c77aa60f29b57c173ced917f17fd321a6eb",
"fec1f9b54be4ec47fb24aaa2cc478b243f4b29d9",
"d007",
""
],
"method": "transfer",
"originSender": "0xeba621d37ff117d9ce73c1579bf260aa779cb392",
"txid": "0xd8f9887c1ed3ceccef42637e70e97ba668760c22e1ceabe5b510ccf70a328c68"
}
],
"totalCount": 26
},
"error": null
}