Rosetta_lib.User_command_info
module Fee_currency = Currency.Fee
module Amount_currency = Currency.Amount
module Signed_command = Mina_base.Signed_command
module Token_id = Mina_base.Token_id
module Public_key = Signature_lib.Public_key
module Signed_command_memo = Mina_base.Signed_command_memo
module Payment_payload = Mina_base.Payment_payload
module Stake_delegation = Mina_base.Stake_delegation
val pk_to_public_key :
context:string ->
[< `Pk of string ] ->
( Public_key.Compressed.t, Errors.t ) Core_kernel.Result.t
val account_id :
[< `Pk of string ] ->
[< `Token_id of string ] ->
Rosetta_models.Account_identifier.t
val token_id_of_account : Rosetta_models.Account_identifier.t -> string option
module Op : sig ... end
module Kind : sig ... end
module Account_creation_fees_paid : sig ... end
module Failure_status : sig ... end
type t = {
kind : Kind.t; |
fee_payer : [ `Pk of string ]; |
source : [ `Pk of string ]; |
receiver : [ `Pk of string ]; |
fee_token : [ `Token_id of string ]; |
token : [ `Token_id of string ]; |
fee : Unsigned_extended.UInt64.t; |
nonce : Unsigned_extended.UInt32.t; |
amount : Unsigned_extended.UInt64.t option; |
valid_until : Unsigned_extended.UInt32.t option; |
memo : string option; |
hash : string; |
failure_status : Failure_status.t option; |
}
val to_yojson : t -> Yojson.Safe.t
val _ : t -> Yojson.Safe.t
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
module Partial : sig ... end
val remember : nonce:Unsigned_extended.UInt32.t -> hash:string -> t -> t
val of_operations :
?memo:string ->
?valid_until:Unsigned_extended.UInt32.t ->
Rosetta_models.Operation.t list ->
( Partial.t, Partial.Reason.t ) Validation.t
val to_operations :
failure_status:
[< `Applied of Account_creation_fees_paid.t | `Failed of string Applied ]
option ->
Partial.t ->
Rosetta_models.Operation.t list
val to_operations' : t -> Rosetta_models.Operation.t list
val dummies : t list