File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class RetrieveTransaction:
4949 publicKey : str
5050 operation : str
5151 metadata : typing .Optional ["str" ]
52- asset : str
52+ asset : strawberry . JSON
5353 signerPublicKey : str
5454
5555@strawberry .type
@@ -63,7 +63,7 @@ class PrepareAsset:
6363 signerPublicKey : str
6464 signerPrivateKey : str
6565 recipientPublicKey : str
66- asset : str
66+ asset : strawberry . JSON
6767
6868@strawberry .type
6969class Query :
@@ -80,7 +80,7 @@ def getTransaction(self, id: strawberry.ID) -> RetrieveTransaction:
8080 signerPublicKey = data ["inputs" ][0 ]["owners_before" ][0 ],
8181 operation = data ["operation" ],
8282 metadata = data ["metadata" ],
83- asset = str ( data ["asset" ])
83+ asset = data ["asset" ]
8484 )
8585 return payload
8686
@@ -92,7 +92,7 @@ def postTransaction(self, data: PrepareAsset) -> CommitTransaction:
9292 operation = data .operation ,
9393 signers = data .signerPublicKey ,
9494 recipients = [([data .recipientPublicKey ], data .amount )],
95- asset = ast . literal_eval ( data .asset ) ,
95+ asset = data .asset ,
9696 )
9797
9898 # fulfill the tnx
You can’t perform that action at this time.
0 commit comments