From 08cda1e8a7353d77782351e2d1ebf28bbfc595ae Mon Sep 17 00:00:00 2001 From: Gregory Bednov Date: Sun, 10 Aug 2025 15:05:23 +0300 Subject: [PATCH] BenefitiaryTxBody added --- types.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types.go b/types.go index a97d3c4..93591dc 100644 --- a/types.go +++ b/types.go @@ -12,6 +12,12 @@ type CommiterTxBody struct { CommiterPubKey string `json:"commiter_pubkey"` } +type BeneficiaryTxBody struct { + Type string `json:"type"` + ID string `json:"id"` + Name string `json:"name"` +} + type PromiseTxBody struct { Type string `json:"type"` ID string `json:"id"` @@ -41,3 +47,5 @@ type SignedTx struct { Body any `json:"body"` // TODO someday it should become less abstract Signature string `json:"signature"` } + +