Stellar PHP SDK API Documentation

SorobanDelegateDescriptor

Descriptor used when constructing a delegate tree for an ADDRESS_WITH_DELEGATES entry.

Pass an array of SorobanDelegateDescriptor objects to SorobanAuthorizationEntry::withDelegates(). Each descriptor identifies a delegate node by its strkey address and, optionally, an initial signature and nested sub-delegates.

The $signature defaults to void; the SDK will sign the node later via sign(forAddress:). The $nestedDelegates array will be sorted by XDR-encoded address bytes during tree construction.

Tags
see
SorobanAuthorizationEntry::withDelegates()
since

Protocol 27 (CAP-71)

Table of Contents

Properties

$address  : string
$nestedDelegates  : array<string|int, SorobanDelegateDescriptor>
$signature  : XdrSCVal|null

Methods

__construct()  : mixed

Properties

Methods

On this page

Search results