Funding
type FundingBuilder
Builder that used to build the Funding transaction.
type Funding
Funding transaction type, it's a opaque data type.
func NewFunding(builder FundingBuilder)
Create a new Funding transaction.
func (*Funding) GetBytes
Get the encoded bytes to create the L3 signature. See more in Private Key and Signature
func (*Funding) TxHash
Get the transaction hash of the transaction.
func (*Funding) JsonStr
Get the json string of the transaction.
func (*Funding) IsValid
Check if the transaction is valid or not.
func (*Funding) CreateSignedTx
Create a new AutoDeleveraging transaction with L3 signature inside. input:
signer: ZkLinkSigner
func (*Funding) GetSignature
Get L3 signature of the transaction.
func (*Funding) IsSignatureValid
Check if the inside L3 signature is valid or not.
func (*Funding) ToZklinkTx
Change the transaction to the ZkLinkTx
Last updated