createPulse
Last updated
Last updated
• Docs
/ / createPulse
createPulse<
P
>(chain
,previous
,arg2
,signer
,hasher
):Promise
<Pulse
<P
>>
Create a new pulse
Note: The only supported hash function is SHA3-512 at the moment
P
extends AnyMap
chain
Chain
undefined
The chain
previous
false
| Pulse
undefined
The previous pulse, or false for first pulse
arg2
object
undefined
The mixins and payload
arg2.mixins
?
IntoResolvePulseQuery
[]
[]
The mixins
arg2.payload
?
object
| P
{}
The payload
signer
Signer
undefined
The signer
hasher
MultihashHasher
<number
>
sha3512
The hasher
Promise
<Pulse
<P
>>
The pulse as a Twine object