setAdmin
Parameters
Name
Type
Description
Required
Example
curl --request POST \
--url http://seed1t4.neo.org:20332/ \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "invokefunction",
"params": [ "0x538355b776538a5da0b2a08c139b9900b9c0cbb6", "setAdmin",
[
{
"type":"String","value":"flamincome.neo"
},
{
"type":"Hash160","value":"0xc6b7765ce19d382b1af0894c226eee133713fa96"
}
],
[
{
"account": "NV1butKWMZSpWhBGU7PyP5Qe81Wq3zDkHP",
"scopes": "CalledByEntry"
},
{
"account": "NZgG83sFer1ciTy2LCjft4A4fiDuWg4XaB",
"scopes": "CalledByEntry"
}
]
],
"id": 1
}
'Last updated