Skip to main content

call

Attribute Macro call 

Source
#[call]
Expand description

Attribute macro for marking call methods.

This is used internally by #[near_kit::contract] traits.

§Examples

#[call]
fn increment(&mut self);

#[call(payable)]
fn donate(&mut self);