Packages

An Elixir library for DApps development on the NEAR blockchain platform

Current section

Files

Jump to
near_api lib actions stake.ex
Raw

lib/actions/stake.ex

defmodule NearApi.Actions.Stake do
@moduledoc """
Transaction Actions
Stake
"""
@type t :: %__MODULE__{action_code: integer, stake: integer, public_key: NearApi.PublicKey.t()}
use Borsh,
schema: [
action_code: :u8,
stake: :u128,
public_key: :borsh
]
defstruct [:public_key, :stake, action_code: 4]
end