Delegate Resource Contract Or Builder
interface DelegateResourceContractOrBuilder
Functions
Link copied to clipboard
Amount of TRX staked for resource to be delegated, unit is sun, data type is uint256
Content copied to clipboard
int64 balance = 3;
Link copied to clipboard
Whether it is locked, if it is set to true, the delegated resources cannot be undelegated within 3 days.
When the lock time is not over, if the owner delegates the same resources using the lock to the same address,
the lock time will be reset to 3 days
Content copied to clipboard
bool lock = 5;
Link copied to clipboard
Address of transaction initiator, data type is string
Content copied to clipboard
string owner_address = 1;
Link copied to clipboard
Address of transaction initiator, data type is string
Content copied to clipboard
string owner_address = 1;
Link copied to clipboard
Receiver address of resource to be delegated to
Content copied to clipboard
string receiver_address = 4;
Link copied to clipboard
Receiver address of resource to be delegated to
Content copied to clipboard
string receiver_address = 4;
Link copied to clipboard
Resource type, "BANDWIDTH" or "ENERGY", data type is string
Content copied to clipboard
string resource = 2;
Link copied to clipboard
Resource type, "BANDWIDTH" or "ENERGY", data type is string
Content copied to clipboard
string resource = 2;