/tellraw @a {"text":"10 coins.","clickEvent":{"action":"run_command","value":"/give @a minecraft:gold_nugget 10"}}

