getNextLinks
@twine-protocol/twine-builder v0.1.0 • Docs
twine-js / @twine-protocol/twine-builder / getNextLinks
Function: getNextLinks()
getNextLinks(
chain,previous):CID<unknown,number,number,Version>[]
Internal
Next pulses skip links
If the chain has a links radix of 0, the next pulse will have a single link to the previous pulse.
Parameters
Parameter
Type
Description
chain
Chain
The chain
previous
false | Pulse
The previous pulse, or false for first pulse
Returns
CID<unknown, number, number, Version>[]
Defined in
Last updated