Skip to content

Commit

Permalink
fix: add transacion type to schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
ori-shem-tov committed Sep 28, 2023
1 parent 0d65df2 commit 2a914ac
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ The following is the JSON Schema for a Pay Transaction. The schema is:
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The transaction's type",
"const": "pay"
},
"snd": {
"type": "Uint8Array",
"description": "Sender's public key, 32 bytes",
Expand Down Expand Up @@ -85,6 +90,11 @@ The following is the JSON Schema for a Pay Transaction. The schema is:
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The transaction's type",
"const": "keyreg"
},
"snd": {
"type": "Uint8Array",
"description": "Sender's public key, 32 bytes",
Expand Down Expand Up @@ -170,6 +180,11 @@ The following is the JSON Schema for a Pay Transaction. The schema is:
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The transaction's type",
"const": "keyreg"
},
"snd": {
"type": "Uint8Array",
"description": "Sender's public key, 32 bytes",
Expand Down Expand Up @@ -216,6 +231,11 @@ The following is the JSON Schema for a Pay Transaction. The schema is:
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The transaction's type",
"const": "keyreg"
},
"snd": {
"type": "Uint8Array",
"description": "Sender's public key, 32 bytes",
Expand Down

0 comments on commit 2a914ac

Please sign in to comment.