POSTDelegateResource
https://tron-mainnet.nodit.io/wallet/delegateresourceDelegate bandwidth or energy resources to other accounts in Stake 2.0.
Transaction initiator address. (Format: Base58 or Hex)
Resource receiver address, in Base58 format or HEX format.
Amount of TRX to delegate or undelegate for resources. (Unit: sun)
Type of resource. (Enum: "BANDWIDTH" or "ENERGY")
Optional. Whether to lock the resource delegation. If true, the delegation cannot be canceled during the lock_period.
Lock duration in blocks (1 block ≈ 3 seconds). Only valid if lock is true. (e.g., 1 day = 28800)
Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)
Optional. Permission ID used for multi-signature account operations. Defaults to the owner permission (0) if unspecified.
Transaction initiator address. (Format: Base58 or Hex)
Type of resource. (Enum: BANDWIDTH, ENERGY)
Resource receiver address.
Amount of TRX for resource delegation. (Unit: sun)
Whether to lock the resource delegation. If true, the delegation cannot be canceled during the lock_period.
Lock duration in blocks (1 block ≈ 3 seconds). Only valid if lock is true. (e.g., 1 day = 28800)