Skip to content

/AWS1/CL_MBC=>LISTNODES()

About ListNodes

Returns information about the nodes within a network.

Applies to Hyperledger Fabric and Ethereum.

Method Signature

IMPORTING

Required arguments:

IV_NETWORKID TYPE /AWS1/MBCRESOURCEIDSTRING /AWS1/MBCRESOURCEIDSTRING

The unique identifier of the network for which to list nodes.

Optional arguments:

IV_MEMBERID TYPE /AWS1/MBCRESOURCEIDSTRING /AWS1/MBCRESOURCEIDSTRING

The unique identifier of the member who owns the nodes to list.

Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.

IV_STATUS TYPE /AWS1/MBCNODESTATUS /AWS1/MBCNODESTATUS

An optional status specifier. If provided, only nodes currently in this status are listed.

IV_MAXRESULTS TYPE /AWS1/MBCNODELISTMAXRESULTS /AWS1/MBCNODELISTMAXRESULTS

The maximum number of nodes to list.

IV_NEXTTOKEN TYPE /AWS1/MBCPAGINATIONTOKEN /AWS1/MBCPAGINATIONTOKEN

The pagination token that indicates the next set of results to retrieve.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MBCLISTNODESOUTPUT /AWS1/CL_MBCLISTNODESOUTPUT